After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Miki Alliel -
Number of replies: 7
Picture of Translators

Hello everyone,

I was trying to install Moodle 3.0 by git . Everything went fine. while clicking on "site home" and  it takes me  to a blank page 

and the link is of "site home" is : somthing.com/moodle3/?redirect=0

Why, what went wrong? How can I fix it?

Thanks

Average of ratings: -
In reply to Miki Alliel

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Switch on Debugging wink

Hopefully you will get a message, and/or something will be logged in your web server's error log.

In reply to Miki Alliel

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Ken Task -
Picture of Particularly helpful Moodlers

Try clearing Moodle cache via direct URL:

http://yoursite/[moodle]/admin/purgecaches.php

or from command line:

cd moodlecode/admin/cli/

php purge_caches.php

If neither of those work, time to get 'nasty' ...

cd pathtomoodledata/cache/

manually remove all in that direttory:

rm -fR *

The cache will be rebuilt as one navigates the site via browser.

If none of that works, turn on debugging via direct URL:

http://yoursite/admin/settings.php?section=debugging

Could also turn on debugging by copying appropriate lines from config-dist.php to config.php for debugging.

'spirit of sharing', Ken

In reply to Ken Task

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Miki Alliel -
Picture of Translators

Thank you both

Ken, I did everything that you wrote (including removing all what's in cache folder) but still same problem.

Purge cach didn't work too

debugging is on gives this message:


Fatal error: Nesting level too deep - recursive dependency? in /var/www/html/moodle3/lib/coursecatlib.php on line 235

Any ideas?

Thanks

In reply to Miki Alliel

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Ken Task -
Picture of Particularly helpful Moodlers

Check Apache error logs for clue.

Check php config for 'max' and see if there is a setting for max_input_nesting_level

If there is not a max_input nesting level line in php.ini add one:

max_input_nesting_level = 500;

The value is a guess.  Restart apache service.

Oherwise, congrats!  You may have discovered a bug!  After all, it's .0 :|   Might be fixed in 3.0.highest!

from code directory as root:

git pull

php admin/cli/upgrade.php --non-interactive [ENTER]

chown apache:apache * -R (assumes RH/CentOS ... change user:group to suit).

If that doesn't fix ... probably need to provide more info about system.

'spirit of sharing', Ken

In reply to Ken Task

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Miki Alliel -
Picture of Translators

Thanks ken, it's seems like it works I don't get the error anymore.

I updated the  max_input_nesting_level  500

if I see it again I'll write here again , but it seems good now.

 Thanks you. 


p.s the php version in the server is 5.4.26  is that was the problem?

In reply to Miki Alliel

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Ken Task -
Picture of Particularly helpful Moodlers

Not sure that the version of PHP was the cause.  More than likely, the organization of categories/subcategories in the Moodle that might require 'deeper' nesting query (that's a guess).  The minimum requirements for running a 3.x is PHP 5.4.4 according to release notes.

I've some Moodles running 5.4.x (I think) and have not had to make that change ... but then again, they don't have 50 categories with 10-30 sub-categories either! ;)

'spirit of sharing', Ken


In reply to Ken Task

Re: After installation of moodle 3.0 > clicking on "site home" > takes me to blank page

by Miki Alliel -
Picture of Translators

Ok Thank you