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()
"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.
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 ?