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.