Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I desperately need some help here..
I install SS without any trouble, but when I try to get into the admin I got an error:
Here is the error in the log:
PHP Warning: Unexpected character in input: '\\' (ASCII=92) state=1 in /var/www/vhosts/ .. /httpdocs/sapphire/core/SSViewer.php on line 390
But in the browser I got this error: (Iâ€™m pretty sure itâ€™s not the true error but more something related to the hosting and the getTemplateContent in SSViewer.php.
I have also check the phpinfo and everything look fine, the magic quote seem fine.
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
The site is running on PHP 5.2.12 and on the apache2 module.
Thanks for your help!
This is a long shot, but i have only ever experienced that php error when there has been an incomplete upload of a file. Perhaps try re-uploading it?
Thanks for your help but I figure out what was not working..
The server config was not right, the /tmp folder from (sys_get_temp_dir()) was not visible from the php code and was not writable.
And the hosting compagny was saying everything is fine.. but they turn off the php safe mode and then everything works!
so I can exactly tell what they did on their side but for sure it was related to the fact that the tmp folder was not writable.
Just a follow up in case someone got a similar bug with 2.4
it was 2 bug
1- the hosting got some problem on their config with the plesk manager, it was managing the persmission of the tmp folder wrong.
so the /tmp folder was not writable by the webserver.
also safe mode was on.
2- I found a bug in my code, I got a db field enum but forgot an ' at the end of my string.
I feel so good now that I found the problem! :) hope it can help someone else!
Had the same Problem after I uploaded my Page to a hosting provider.
Problem was that "asp_tags" was turned on in the php.ini file.