Forums / Setup & design / Parse error...
Alexei Novikov
Monday 28 March 2005 7:54:21 am
We have a sitemap page on our site, and suddenly, after updating the structure (added a couple of pages) the page finished with
Parse error: parse error, unexpected ')' in /home/.../var/.../cache/template/compiled/view_sitemap-608a328c38042a61a67360b4ec7a175c.php on line 625 Fatal error: eZ publish did not finish its request
this line contains condition:
if () {
obviously why it gives an error, but why this is happening - moreover it worked just fine before - we have not updated templates & server software.
thanks.
Ćukasz Serwatka
Monday 28 March 2005 9:42:54 pm
Hi Alexei,
Have you tried to manualy delete cache files from your VarDir or via shell script?
clearcache.sh --clear-all
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 29 March 2005 1:49:25 am
Hi Lukasz,
sure I did - manually removed actual cache folder. Also - just a temporary solution - edited cached file to have proper PHP syntax
if ( TRUE ) { ... }
and it works till file is in place.
I've looked more and played around and the problem dissapears when I dont use
{node_view_gui view=sitemap ...}
but rather have exact sitemap code in place of this. I was able to recreate problem on all other sites that carry ezp 3.5.1.