Monday 24 March 2008 5:35:19 am
Hi, I've run into some problems when running the upgrade scripts to upgrade 3.10 to 4.0. <b>When running updateniceurls.php I get the following messages:</b> Warning: set_time_limit(): Cannot set time limit in safe mode in /home/imaclean/public_html/ezp40/bin/php/updateniceurls.php on line 33
Warning: in_array(): Wrong datatype for second argument in /home/imaclean/public_html/ezp40/kernel/classes/ezscript.php on line 1052 ...4 times.... Fatal error: eZINI: Undefined group: 'FileSettings' in site.ini in /home/imaclean/public_html/ezp40/lib/ezutils/classes/ezdebug.php on line 551 <b>And when running updatetipafriendpolicy.php I get:</b>
Warning: in_array(): Wrong datatype for second argument in /home/imaclean/public_html/ezp40/kernel/classes/ezscript.php on line 1052 ...3 times... Then the scripts fails to log me in as admin and doesn't update the policy. <b>When running updatevatcountries.php I get:</b>
Warning: in_array(): Wrong datatype for second argument in /home/imaclean/public_html/ezp40/kernel/classes/ezscript.php on line 1052 ...4 times... Updated VAT rules: 0 updateniceursl.php and updatetipafriendpolicy.php worked fine when going from 3.9 -> 3.10 on one database, but didn't complete properly on another. I undid the changes to updateniceursl.php when upgrading from 3.9 to 3.10 before running the upgrade script for 4.0. The whole process had worked yesterday on another site and database, and that is now running properly on a development machine and a production server. The PHP5 installation on the develoment machine seems to be correct (it worked yesterday). It's got me stumped. Any suggestions on what might be causing the php errors? Cheers Iain
|