back story...
client called saying website has errors and nothing works. nothing was done on his side or mine. looks like host updated to php 5.3.
that error client was seeing was
Warning: session_start() [function.session-start]: SAFE MODE
Restriction in effect. The script whose uid is 32840 is not allowed to
access /tmp owned by uid 0 in
/home/***/public_html/manager/includes/config.inc.php on line 60
i got past the first error my removing the php.ini files i had in public html dir.
i then got this error when going to any page with phpthumb calls.
Fatal error: session_start() [<a
href=’function.session-start’>function.session-start</a>]: Failed to
initialize storage module: files (path: ) in
/home/hollywoo/public_html/manager/includes/config.inc.php on line 60
i dont remember now what i did to get rid of this error.
modx was at9.6.2 so i thought if i updated to the latest version it may fix things.
though for some reason my host also turned on magic quotes, which screwed up my ditto tpl chunk that was calling php thumb. when i was trying to edit it some to see whats going on.
host provider said to turn it off in the php.ini which putting a php.ini in the /home/username/ dir didn’t do anything this morning but once home tonight it was turned off. think host changed a setting but never emailed me back if they made a change.
now i’m getting these errors, in my error log
[16-Mar-2010 23:09:00] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/hollywoo/public_html/assets/snippets/ditto/classes/phx.parser.class.inc.php(303) : eval()’d code on line 86
[16-Mar-2010 23:09:00] PHP Warning: Unexpected character in input: ’\’ (ASCII=92) state=1 in /home/hollywoo/public_html/assets/snippets/ditto/classes/phx.parser.class.inc.php(303) : eval()’d code on line 52
[16-Mar-2010 23:09:00] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/hollywoo/public_html/assets/snippets/ditto/classes/phx.parser.class.inc.php(303) : eval()’d code on line 86
[16-Mar-2010 23:09:00] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/hollywoo/public_html/manager/includes/document.parser.class.inc.php(746) : eval()’d code on line 17
i’m not sure how to go about fixing this.
i have another client site with the same host using phpthumb, and no issues here..
http://jewelrybyharlow.com/
i’m at a loss after 8h of trying to get my clients site to work again properly.
http://hollywood-furniture.com/products/Bedrooms.html?start=20 is a link to the page.
i have updated phpthumb’s files with the latest fix for php 5.3 changed the phpThumb.config.php more times than i can count, and at a loss as to where to keep digging.