error parsing upgrade scripts

Author Message

Tim Dickinson

Sunday 08 August 2004 1:21:13 pm

I'm trying to upgrade my site from ez 3.2-1 to the latest 3.4-1, and have managed to upgrade all the database files going through the upgrade paths.

However I am ahving a lot of trouble with the update scripts. Whenever I try to use one of them through SSH, it comes up with the error 'PHP error parsing......php on line 1"

This happens on every update script.

What am I doing wrong?

At the moment I am simply typing

usr/bin/php -c /home/amelody/public_html/update/common/scripts/addorderemail.php

into SSH and pressing enter

Is that right?

and

usr/bin/php -c /home/amelody/public_html/update/common/scripts/generateoverridesettings.php melodid

for the generate overridesettings.

But I always get the same error

Could this be because I have php as a CGI?

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Bård Farstad

Tuesday 10 August 2004 2:11:14 am

I think this is happening because the file has become unreadable by the apache user after the upgrade.

Check the permissions of the files and verify that the apache user has read access to the files.

--bård

Documentation: http://ez.no/doc

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