Followed upgrade instructions to the "T", navigate to the "install" directory fine, but upon clicking "Upgrade", I get a whole page of errors, starting with:
Notice: Use of undefined constant DB_PORT - assumed 'DB_PORT' in /home/firstr11/public_html/cart2/install/model/upgrade.php on line 139
Notice: Use of undefined constant DB_PORT - assumed 'DB_PORT' in /home/firstr11/public_html/cart2/install/model/upgrade.php on line 139
What and Where would that have written to the DB???dvdvideo wrote:you need to add this to bottom of both config.php files
define('DB_PORT', '3306');
After doing that i now get multiple error messages at the top of all store and admin pages (which I cannot log into):
Code: Select all
Notice: unserialize(): Error at offset 0 of 78 bytes in /home/firstr11/public_html/cart/index.php on line 58
don't want to jack the thread but I ran into a similar problem. When I go to the admin dashboard I get this
and when I go to the marketplace I get thisWarning: vsprintf(): Too few arguments in /home5/harrypat/public_html/OC/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home5/harrypat/public_html/OC/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home5/harrypat/public_html/OC/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home5/harrypat/public_html/OC/admin/controller/dashboard/activity.php on line 19Warning: vsprintf(): Too few arguments in /home5/harrypat/public_html/OC/admin/controller/dashboard/activity.php on line 19
sorry if that takes up too much spaceNotice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
DELETE FROM oc_cart WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR) in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8de5f2a636021458f328584c76475ed2' in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Warning: Invalid argument supplied for foreach() in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Notice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8de5f2a636021458f328584c76475ed2' in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Warning: Invalid argument supplied for foreach() in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Notice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8de5f2a636021458f328584c76475ed2' in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Warning: Invalid argument supplied for foreach() in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Notice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8de5f2a636021458f328584c76475ed2' in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Warning: Invalid argument supplied for foreach() in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Notice: Error: Table 'harrypat_opencart.oc_cart' doesn't exist
Error No: 1146
SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8de5f2a636021458f328584c76475ed2' in /home5/harrypat/public_html/OC/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home5/harrypat/public_html/OC/system/library/cart.php on line 37Warning: Invalid argument supplied for foreach() in /home5/harrypat/public_html/OC/system/library/cart.php on line 37
Did you try emailing support@opencart.com ?rbuelund wrote:Well..sad to say it.. but because of the lack of support on this issue I have migrated to another system! No more Opencart for me!
I have not seen this exact error but I know that the upgrade script does not work the way it should. There are a couple of suggestions at the bottom of this page and if you're doing the upgrade on a separate install, it's worth a shot:
https://github.com/opencart/opencart/issues/3424
There's also this: http://www.opencart.com/index.php?route ... n_id=24454
Again, I have not used this and it's a try at your own risk on a separate install.
Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhost.com
Active Member
So......what is the solution to this error, in plain simple steps? Is there now a bug-free upgrade available for download?
I am astonished that there is no official response to this thread. Clear and timely responses to critical issues will keep the party going for OpenCart.
If anyone from OpenCart or otherwise can elucidate the issue and post a step-by-step solution, that would be much appreciated. Otherwise I guess we can never upgrade....?
I am astonished that there is no official response to this thread. Clear and timely responses to critical issues will keep the party going for OpenCart.
If anyone from OpenCart or otherwise can elucidate the issue and post a step-by-step solution, that would be much appreciated. Otherwise I guess we can never upgrade....?
Hi,
This is as official as you will get... (I am not affiliated)
Use this process for a good upgrade. There are more than a few dozen threads about the same issue...
http://www.randemsystems.com/support/op ... 9/#msg6199
And
http://www.randemsystems.com/support/op ... cart-v2-x/
This is as official as you will get... (I am not affiliated)
Use this process for a good upgrade. There are more than a few dozen threads about the same issue...
http://www.randemsystems.com/support/op ... 9/#msg6199
And
http://www.randemsystems.com/support/op ... cart-v2-x/
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
This fix is simple.So what in hell is going on? What can I do to fix it? Thanks for any help.
------
I have the exact same problem! How do we fix this?
----
Well..sad to say it.. but because of the lack of support on this issue I have migrated to another system! No more Opencart for me!
Can you upload to server index.php from Openacrt 2.1.x?
Who is online
Users browsing this forum: No registered users and 197 guests