Error MAIN CONTENT GOES HERE :(

Error MAIN CONTENT GOES HERE :(

by D.ALI ALAMRI -
Number of replies: 12

hello

thank you all
Very happy installing Moodle

But when I add any course i cant view any mod.


[MAIN CONTENT GOES HERE - wVRXpBPZfu]


Moodle v 2.9
Essential them 2.9

Average of ratings: -
In reply to D.ALI ALAMRI

Re: Error MAIN CONTENT GOES HERE :(

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Something is broken, I don't know what.

Any messages in the php.log file?

What specific versions of Moodle and Essential please.

Does the problem happen when you change to the Clean theme?

When did you notice the problem?

Have you installed any other plugins?

In reply to Gareth J Barnard

إعادة: Re: Error MAIN CONTENT GOES HERE :(

by D.ALI ALAMRI -

hello

Sorry Where can I find file php.log

Release 2.9.1.12 (Build: 2015062425)
Moodle 2.9

In reply to D.ALI ALAMRI

Re: إعادة: Re: Error MAIN CONTENT GOES HERE :(

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Depends on your installation, i.e. where PHP is installed.  You are going to have to hunt for it.

In reply to Gareth J Barnard

إعادة: Re: إعادة: Re: Error MAIN CONTENT GOES HERE :(

by D.ALI ALAMRI -

PHP Info removed and added as a text file for reference if needed.

Thanks

Mary

In reply to D.ALI ALAMRI

Re: إعادة: Re: إعادة: Re: Error MAIN CONTENT GOES HERE :(

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi, You posted the wrong file.

You should find the php_error.log in the "logs" directory of your server.

I use WAMP 2000 and so the php_error.log is in...wamp / logs / php_error.log

In the mean time I will remove the list you added as it is irrelevant to this discussion.

Thanks

Mary

In reply to Mary Evans

Re: إعادة: Re: إعادة: Re: Error MAIN CONTENT GOES HERE :(

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

I had a thought that you might have a corrupted file.  Re-download fresh copies of all PHP files and re-FTP them to your server.

In reply to Gareth J Barnard

Re: Error MAIN CONTENT GOES HERE :(

by Art Birzneck -

Hi Gareth - I upgraded to Moodle 3.0 and decided to use your Essential theme for Moodle 3.0.  I really like it and have finished my first round of customizing.  I checked the course material and quizzes before turning off maintenance mode before going live.  I could access the course material which is in pdf but I received the following when trying to access the quizzes: [MAIN CONTENT GOES HERE - mypkzH7GGC].  Here are my responses to your questions above:

1. php.log message: [10-Jul-2016 18:35:43 America/Denver] PHP Parse error:  syntax error, unexpected '[' in /home/dominix5/public_html/moodle/lib/outputrenderers.php on line 112

2. Moodle 3.0 / Essential Release 3.0.1.5 (Build: 2016010210)

3. The problem DOES NOT occur when I switch to Clean theme.  The quiz information is fine.

4. I noticed the problem 30 minutes ago

5. I have no other theme plugins installed

I appreciate your assistance.  Thanks.


In reply to Art Birzneck

Re: Error MAIN CONTENT GOES HERE :(

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Art,

1. What are the steps I need to do to create the course with the material that breaks the theme please?

2. In the PHP log file are there any other code lines mentioned?  If not please turn on developer level debugging (please search for it as an admin as I'm on iPod), then go and access the course / PDF to repeat the error and get more lines - called a stack trace.

G

In reply to Gareth J Barnard

Re: Error MAIN CONTENT GOES HERE :(

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Umm, that line is:

'pragmas' => [Mustache_Engine::PRAGMA_BLOCKS]));

Essential does not use Mustache.  Therefore I really need to know how to replicate the issue / stack trace before I can even begin to fix it if indeed it is a theme error.

In reply to D.ALI ALAMRI

Re: Error MAIN CONTENT GOES HERE :(

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Could you purge the cache?

Do not paste the PHP info because is totally useless.

In reply to Fernando Acedo

إعادة: Re: Error MAIN CONTENT GOES HERE :(

by D.ALI ALAMRI -

Thank you
I've installed new files.
now is good smile

But how to hide(Performance Information) from the Footer