Installing latest Moodle

Installing latest Moodle

על ידי Arto Lampila בתאריך
מספר תגובות: 5

Through installation everything seems to go fine, but after giving the database information all i get is a blank white screen. No errorreport whatsoever. Any ideas what might be the problem / how to fix it?

ממוצע דרוגים: -
בתגובה ל: Arto Lampila

Re: Installing latest Moodle

על ידי Arto Lampila בתאריך

After managing to get some debugtools on i get the following message:

Fatal error: Call to undefined function json_encode() in /var/www/html/moodle/lib/outputcomponents.php on line 1583

בתגובה ל: Arto Lampila

Re: Installing latest Moodle

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
Almost certainly your PHP is too old. Moodle 2 requires 5.2.8 or newer (5.3.X is better if you have a choice)
בתגובה ל: Howard Miller

Re: Installing latest Moodle

על ידי Arto Lampila בתאריך

according to <?phpinfo();?> I have 5.2.8

בתגובה ל: Arto Lampila

Re: Installing latest Moodle

על ידי Arto Lampila בתאריך

After checking the php configuration of the webservice Im using and the recommended values from the moodle site I found 2 differences

magic_quotes_qpc on (recommended: off)

session.bug_compat_warn on (recommended off)

are these two critical? anything I can do about it since I have no direct access to php.ini?

בתגובה ל: Arto Lampila

Re: Installing latest Moodle

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
No, not critical.

On the original point you are going to have to ask your host why that json function isn't available. It should be, so I think there must be something odd about your buiild of PHP.

from the PHP docs:

"If you're not seeing the json functions on 5.2.0 or newer, make sure php wasn't compiled with --disable-json"