fran wrote:HI,
first wanted to thank for this amazing program.
I was upgrading from 1.4.9.4 to 1.5.1.2 and it showed success for the upgrade but trying to update it showed this message:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/vhost/orgonita.eu/home/html/install/model/upgrade.php on line 63
Could not Execute: DROP TABLE return_product;
Unknown table 'return_product'
This error is from 1.5.2.1, not 1.5.1.2
Either way, it is listed as a known issue in the main bug thread and noted that it should be ignored.
although i saw the Administrator Log In page perfectly i could not log in, appearing same message.
1.5.x uses a case-sensitive login name.
If you initially entered "BoBDoLe" but your browser saved it as "bobdole" for 1.4.x, then you need to enter it exactly as it was saved.
i deleted all file thru FTP and uploaded again the orginal 1.4.9.4 to start over the process. I run the list carefully but this time after the upgrade script it showed:
The following errors occured:
Could not execute this query: INSERT INTO `option` (`option_id`, `type`, `sort_order`)SELECT `product_option_id`, "select", `sort_order` FROM `product_option`; Duplicate entry '977' for key 1
Could not execute this query: INSERT INTO `option_description` (`option_id`, `language_id`, `name`)SELECT `product_option_id`, `language_id`, `name` FROM `product_option_description`; Table 'qgy225.product_option_description' doesn't exist
Could not execute this query: INSERT INTO `option_value` (`option_value_id`, `option_id`, `sort_order`)SELECT `product_option_value_id`, `product_option_id`, `sort_order` FROM `product_option_value`; Duplicate entry '1991' for key 1
Could not execute this query: INSERT INTO `option_value_description` (`option_value_id`, `language_id`, `option_id`, `name`)SELECT `pov`.`product_option_value_id` , `language_id` , `pov`.`product_option_id` , `name`FROM `product_option_value_description` AS `povd` INNER JOIN `product_option_value` AS `pov` ON `pov`.`product_option_value_id` = `povd`.`product_option_value_id`; Table 'qgy225.product_option_value_description' doesn't exist
Likely because running the upgrade script twice broke it. You should have stopped at the login page after the inital attempt.
Restore 1.4.x
Restore the 1.4.x database before any upgrades
verify you are up and running 1.4.x again
Then download the latest 1.5.2.1 version of opencart
Run the beta install
Then run the 1.5.2.1 install
Ignore the error about cannot drop return
Then get the latest 1.5.2.2 patch:
http://forum.opencart.com/viewtopic.php ... 23#p258004
and run the installer again (as shown in the upgrade.txt file)