Not sure how or why but my clients site stopped working and I keep getting this error
Parse error: syntax error, unexpected ';', expecting '(' in /home/ndwindpr/public_html/sites/all/modules/htmlpurifier/htmlpurifier.module on line 170
It started with him not being able to upload an image to an imagefield in some content.
I tried to upload the image but the field would hang on upload. The image was on the server, but the script would just spin, no title field, no thumbnail, etc.
I searched for a reason and some suggested making sure the php mem limit was high enough.
I set it to 128MB just to make sure
When I tried to come back to the site all I get now is this error.
Very critical, it's a client site, a journalist who just had an article in the Seattle Times, so I'm sure people are looking at it.
Comments
Comment #1
ezyang commentedCould you post the contents of the file around the line number mentioned in the message here? You could also try reinstalling the module.
Comment #2
jlockhartStill don't know what caused the error, but I've restored from a backup and it's gone now. Hopefully it won't come back when I upgrade again :D
Comment #3
abaloo commentedDoes anyone have an answer on this please? My site has just gone down in this way.
Comment #4
ezyang commentedabaloo: Could you attach the contents of htmlpurifier.module to this ticket? Thanks!
Comment #5
nfuids commentedI had the same issue.
It turned out that when updating my site, I must have deleted the .htaccess (overwritten it) and it made it so my domain was using PHP 4 instead of PHP 5. Switching it back to PHP5 fixed the problem.
Hope this help!
Comment #6
ezyang commentedOk, renaming the bug accordingly.
Comment #7
ezyang commentedFixed in CVS.