Share » Forums » Install & configuration » Problem upgrading ezwebin 1.2 to 1.3

Problem upgrading ezwebin 1.2 to 1.3

Problem upgrading ezwebin 1.2 to 1.3

Tuesday 26 February 2008 6:50:00 am - 4 replies

Modified on Tuesday 26 February 2008 7:56:53 am by Mariusz Scisel

Author Message

Olivier TURPIN

Sunday 18 May 2008 1:48:09 pm

Hello,

I am having the same trouble. Anyone knows the solution ?

I wonder if the script is the right version delivered in the 4.0 archive ? I encounterd several problems with that script:
-> default downloaded packages seems to be 3.9. 4.0 archive must be forced via -url.
-> default list of packages is wrong : design is replaced by design_gray and design_blue
-> there are still comments on ezwebin 1.2 : "This script will upgrade ezwebin 1.1-1 to 1.2-0\n"
-> One piece of code was throwing error on function $this->setting (I suppose it should be $installer->setting ?) in function updateObjects()

$installer = new eZWebinInstaller();

...
$result = $installer->updateContentObjectAttributes( array( 'object_id' => $this->setting( 'template_look_object_id' ),
'attributes_data' => $templateLookData ) );

return $result;

-> And now : Fatal error: Call to undefined function eZSiteOverrideINISettings();

thx for info !

Mariusz Scisel

Tuesday 20 May 2008 6:05:29 am

Hi Olivier
For first try this for Help php.exe ezwebinupgrade.php -h (on windows machine)

Did you try parameter: --to-version=1.3-0 ?
I found something like this and it seems to me it works:

(CMD)
d:\WebServer\PHP\php.exe d:\home\katalog\WWW\bin\php\ezwebinupgrade.php -s pol -d --no-colors --auto-mode=on --to-version=1.3-0 --package-dir=d:\tmp\ezwebin -l admin -p adminpass

"pol" - your main siteaccess
"--auto-mode=off" - if you don't like automode
"--package-dir=d:\tmp\ezwebin" - location for packages downloaded manualy
etc.

Simplest version

d:\WebServer\PHP\php.exe d:\home\katalog\WWW\bin\php\ezwebinupgrade.php -s pol auto-mode:off to-version=1.3-0

Of course change the paths of [php] (In cli mode) and [ezwebinupgrade.php] to proper locations.

Mariusz

Olivier TURPIN

Thursday 22 May 2008 4:47:12 am

Hi,

Further to your advice, I re-issued the ezwebinupgrade.php command with all the parameters possible. No way, function eZSiteOverrideINISettings does not exist. I did the "grep" on the file tree of my freshly installed 4.0: no instance apart from the calling line.

Is this a bug ? Wonder how could anyone have migrated ?

Gurudutt Verma

Thursday 22 May 2008 5:59:12 am

Hi

Try to upgrade eZWebin from eZ Publish svn trunk/stable.

Still if it dosen't work then try following

mv var/storage/packages var/storage/packages.old
Clear cache
php bin/php/ezwebinupgrade.php --url=http://packages.ez.no/ezpublish/4.0/4.0.0

It should work.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu