RE: Error website not displaying

RE: Error website not displaying

by Saqib Shaikh -
Number of replies: 5

I tried logging on to moodle today and it gave me this error

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home4/aimlms/public_html/lib/setup.php on line 806


Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home4/aimlms/public_html/lib/setup.php on line 806

Parse error: syntax error, unexpected T_STRING in /home4/aimlms/public_html/lib/setup.php on line 806

I've never had any issue before and havent even touched the back end coding

Any idea what the issue is?

Average of ratings: -
In reply to Saqib Shaikh

Re: RE: Error website not displaying

by Guillermo Madero -

Hello Saqib,

You could help us help you by providing more info about your setup: Moodle version, server, OS, etc. Anyway, it seems you have a PHP version lower that 5.3.

Get your Moodle version and then check to see if you have the correct minimum PHP version:

http://download.moodle.org/

In reply to Guillermo Madero

Re: RE: Error website not displaying

by Saqib Shaikh -

Hi Guillermo

Thanks for that. The issue had to do with server updating its PHP version.

Once that was updated, Moddle worked perfectly 


Thank you for that

In reply to Saqib Shaikh

Re: RE: Error website not displaying

by Usman Asar -
Picture of Plugin developers Picture of Testers

Saqib,

if you are using 2.7, then beware that versions required for 2.7 Moodle are higher than average hosting has. I had to switch hosting just because of that issue.

In reply to Usman Asar

Re: RE: Error website not displaying

by Saqib Shaikh -

Hi Usman,

Thanks for that, My server needed its PHP updated.


Cheers