Post by TonerInknz » Sat Dec 20, 2014 11:44 am

When I upgrade from openCart 1.5.6.1 to 2.0.1.1, error as following:

Notice: Error: Can't DROP 'option_value'; check that column/key exists
Error No: 1091
Error in: /home/tonerink/public_html/install/model/upgrade.php line 349
ALTER TABLE `oc3_product_option` DROP `option_value` in /home/tonerink/public_html/system/library/db/mysql.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /home/tonerink/public_html/system/library/db/mysql.php:53) in /home/tonerink/public_html/system/library/response.php on line 12

website is: tonerink.nz

Please help.

Newbie

Posts

Joined
Sat Dec 20, 2014 11:41 am

Post by ellou » Mon Dec 29, 2014 11:31 am

I'm having the same problem.

Any help would be great. Thanks.

Newbie

Posts

Joined
Mon Dec 29, 2014 11:30 am

Post by dragonfly-ie » Mon Dec 29, 2014 8:52 pm

By installing my theme new, above errors vanished. HTH>

Dum spiro spero.


User avatar
New member

Posts

Joined
Sat Nov 09, 2013 2:31 am


Post by odme » Sat Jan 10, 2015 4:39 pm

when I upgraded I got this error...


Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 53

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 57

Newbie

Posts

Joined
Sat Jan 10, 2015 4:37 pm

Post by caythemes » Sun Jan 11, 2015 3:09 pm

TonerInknz wrote:When I upgrade from openCart 1.5.6.1 to 2.0.1.1, error as following:

Notice: Error: Can't DROP 'option_value'; check that column/key exists
Error No: 1091
Error in: /home/tonerink/public_html/install/model/upgrade.php line 349
ALTER TABLE `oc3_product_option` DROP `option_value` in /home/tonerink/public_html/system/library/db/mysql.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /home/tonerink/public_html/system/library/db/mysql.php:53) in /home/tonerink/public_html/system/library/response.php on line 12

website is: tonerink.nz

Please help.
Hi,
You can try my module to export your OpenCart 1 database to OpenCart 2: http://www.opencart.com/index.php?route ... n_id=20423

Newbie

Posts

Joined
Sat Jan 10, 2015 12:28 am

Post by Qphoria » Thu Jan 15, 2015 2:33 am

TonerInknz wrote:When I upgrade from openCart 1.5.6.1 to 2.0.1.1, error as following:

Notice: Error: Can't DROP 'option_value'; check that column/key exists
Error No: 1091
Error in: /home/tonerink/public_html/install/model/upgrade.php line 349
ALTER TABLE `oc3_product_option` DROP `option_value` in /home/tonerink/public_html/system/library/db/mysql.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /home/tonerink/public_html/system/library/db/mysql.php:53) in /home/tonerink/public_html/system/library/response.php on line 12

website is: tonerink.nz

Please help.
I found ignoring this error seems to work fine. Just re-run the installer and it should skip it the second time

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Thu Jan 15, 2015 2:34 am

odme wrote:when I upgraded I got this error...


Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 53

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 57
This is because there are new defines in the config.php and admin/config.php that you need to add to point to the new system/upload and system/modification folders
Follow the other values like "DIR_SYSTEM" in those files as your guide and make the appropriate change of the target folder

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by localdirectco » Fri Jan 16, 2015 3:01 am

Qphoria wrote:rote:
when I upgraded I got this error...


Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 53

Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in /home/content/10/7275410/html/store/system/startup.php on line 57


This is because there are new defines in the config.php and admin/config.php that you need to add to point to the new system/upload and system/modification folders
Follow the other values like "DIR_SYSTEM" in those files as your guide and make the appropriate change of the target folder
I am having the same error, but target folder looks to be correct. Could you be more specific?

Thanks.

URL is taylorcreeknursery.com

Newbie

Posts

Joined
Fri Jan 16, 2015 2:58 am

Post by davecook80 » Fri Jun 12, 2015 7:50 am

ADD TO CONFIG FILES IN PUBLIC AND ADMIN..
should look something like this:

define('DIR_MODIFICATION', '/home/"CHANGE TO YOURS"/public_html/system/modification/');
define('DIR_UPLOAD', '/home/"CHANGE TO YOURS"/public_html/system/upload/');

User avatar
New member

Posts

Joined
Fri Nov 01, 2013 3:25 am
Location - Australia
Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests