Post by kryllem » Wed Feb 18, 2015 10:21 pm

Hey,

I have recently upgraded from 1.5.6.4 to 2.0.1.1 and after solving a lot of another errors I have still one more that I can not find any solution for.

After my customers login to web shop the receive an error:
2015-02-18 14:45:23 - PHP Notice: unserialize(): Error at offset 0 of 3 bytes in public_html/system/library/cart.php on line 23

This error is coming up only once and it's coming up only for customers registered in 1.5.6.4
This may also cause a problem with forgotten password for those customer that are getting this error.

I guess it's an error due to what customers had in the cart.

Need assistance,

Newbie

Posts

Joined
Wed Feb 18, 2015 10:08 pm

Post by aide2001 » Sat Sep 05, 2015 2:36 am

Bump
Keep getting this error after update to new version.
Manually had to transfer to new install but still get this error

Live long my friends
visit our website now at http://www.less2websites.com


Newbie

Posts

Joined
Wed Mar 30, 2011 5:11 pm

Post by straightlight » Sun Sep 06, 2015 1:08 am

In your PHPMyAdmin console, launch the following query in your SQL tab under your Opencart database:

Code: Select all

ALTER TABLE `oc_customer` MODIFY `cart` BLOB
Note: replace oc_ with your actual table prefix name, if different. Then, try again on your store to see if the error persists afterwards. Although, I would suggest clearing your cart, browser cache, FTP cache from system/cache folder. Then, to try again.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Khal » Wed Sep 09, 2015 5:59 pm

Hi Straightlight

I am also getting this error and want to try your fix. But on my new OC2 store there is no table called oc_customer, or any other table with a prefix followed by 'customer'. The only tables with 'customer' in them are:

Code: Select all

customer
customer_activity	
customer_ban_ip
customer_group	
customer_group_description	
customer_history	
customer_ip	
customer_login	
customer_online	
customer_reward	-
customer_transaction
Are any of these tables the table you are referring to?

Many thanks for your help

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK

Post by straightlight » Wed Sep 09, 2015 8:58 pm

Khal wrote:Hi Straightlight

I am also getting this error and want to try your fix. But on my new OC2 store there is no table called oc_customer, or any other table with a prefix followed by 'customer'. The only tables with 'customer' in them are:

Code: Select all

customer
customer_activity	
customer_ban_ip
customer_group	
customer_group_description	
customer_history	
customer_ip	
customer_login	
customer_online	
customer_reward	-
customer_transaction
Are any of these tables the table you are referring to?

Many thanks for your help
Yes ... the first one on the list. If you have no table prefix, simply remove it from my string and apply the query as already indicated above.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Khal » Wed Sep 09, 2015 9:09 pm

Ok thank you for getting back to me.

I've applied the query as you described- I hope that gets rid of the error.

Many thanks for this fix.

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK
Who is online

Users browsing this forum: No registered users and 6 guests