Parse error...

Author Message

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

Alexei Novikov

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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:34:42
Script start
Timing: Jan 18 2025 19:34:42
Module start 'layout'
Timing: Jan 18 2025 19:34:42
Module start 'content'
Timing: Jan 18 2025 19:34:42
Module end 'content'
Timing: Jan 18 2025 19:34:42
Script end

Main resources:

Total runtime0.0141 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.9063152.6094
Module start 'layout' 0.00520.0027 741.515639.4063
Module start 'content' 0.00790.0043 780.921989.3125
Module end 'content' 0.01220.0018 870.234434.3047
Script end 0.0141  904.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.3624140.0002
Check MTime0.00117.7619140.0001
Mysql Total
Database connection0.00075.194810.0007
Mysqli_queries0.002417.110630.0008
Looping result0.00000.099710.0000
Template Total0.001510.810.0015
Template load0.00085.953610.0008
Template processing0.00074.784210.0007
Override
Cache load0.00064.324510.0006
General
dbfile0.00032.053380.0000
String conversion0.00000.052440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs