Help - Warnings and Parse errors when I access index.php

Author Message

Bani K

Wednesday 24 October 2007 11:27:02 am

I have installed ezPublish successfully before but this time it just fails me. I get the following errors when I reach index.php. Configuration:

Apache/2.2.4 (Win32)
PHP - 4.4.7
Mysql - 6.1

-------------------------------------------------------------------------------------------------------------------
Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ezpublish-3.9.3\index.php on line 133

Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ezpublish-3.9.3\index.php on line 133
....

Parse error: syntax error, unexpected ';', expecting ')' in C:\override\override_1665803554.php on line 3
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

-------------------------------------------------------------------------------------------------------------------

Any suggestions?

Bani K

Wednesday 24 October 2007 11:29:06 am

BTW- I have tried installing 3.10, 3.9.4 and 3.9.3 versions of ezPublish but get the same thing everytime...

Kåre Køhler Høvik

Wednesday 24 October 2007 1:51:40 pm

Hi

Looks like you may have some corrupted files from a previous installation there. Try removing the php files from c:\override .

Kåre Høvik

Bani K

Wednesday 24 October 2007 1:59:59 pm

hi there,

the installation is on a different server and i anyways did try deleting the override directory, etc. but there seems to be an incomplete write everytime...goes something like this -

<?php
$GLOBALS['eZOverrideTemplateCacheMap'] = array (
?>

weird?

Kåre Køhler Høvik

Thursday 25 October 2007 1:06:27 am

Hi

I suggest that you install xdebug - http://xdebug.org/ - . This will output a stack trace when it fails, and make it easier to debug this issue.

Kåre Høvik

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 31 2025 06:15:45
Script start
Timing: Jan 31 2025 06:15:45
Module start 'layout'
Timing: Jan 31 2025 06:15:45
Module start 'content'
Timing: Jan 31 2025 06:15:45
Module end 'content'
Timing: Jan 31 2025 06:15:45
Script end

Main resources:

Total runtime0.0184 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.0044 588.3828151.2422
Module start 'layout' 0.00440.0026 739.625036.7266
Module start 'content' 0.00710.0100 776.351694.2500
Module end 'content' 0.01710.0013 870.601633.9922
Script end 0.0183  904.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002312.3097140.0002
Check MTime0.00115.8693140.0001
Mysql Total
Database connection0.00073.877010.0007
Mysqli_queries0.002211.737330.0007
Looping result0.00000.093510.0000
Template Total0.00095.210.0009
Template load0.00074.000310.0007
Template processing0.00021.143510.0002
Override
Cache load0.00052.728310.0005
General
dbfile0.00031.392780.0000
String conversion0.00000.036340.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