Post by hamsn » Sun Aug 21, 2011 11:44 pm

Hello,

This is a new install of opencart version 1.5.1.1.
I have been using this for over a month now, adding categories, products, manufacturers, making changes within settings, etc.
Today I installed a new modules from Extensions menu called 'Welcome'. It was all fine until I placed an image in the Welcome text in Welcome module and tried saving it.
First I got this error on top of both backend and frontend:

Notice: unserialize() [function.unserialize]: Error at offset 44 of 65535 bytes in /home/xxxxx/public_html/unisys/index.php on line 61
Then I just logged out and opened the website in a new window, now I have:
Notice: unserialize() [function.unserialize]: Error at offset 44 of 65535 bytes in /home/xxxxx/public_html/unisys/index.php on line 61
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/xxxxx/public_html/unisys/index.php:61) in /home/xxxxx/public_html/unisys/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxxxx/public_html/unisys/index.php:61) in /home/xxxxx/public_html/unisys/system/library/session.php on line 11
on both frontend and backend.

If I try logging in to admin, I get the following and it doesn't login at all:
Notice: unserialize() [function.unserialize]: Error at offset 44 of 65535 bytes in /home/xxxxx/public_html/unisys/admin/index.php on line 45
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/xxxxx/public_html/unisys/admin/index.php:45) in /home/xxxxx/public_html/unisys/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxxxx/public_html/unisys/admin/index.php:45) in /home/xxxxx/public_html/unisys/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/unisys/admin/index.php:45) in /home/xxxxx/public_html/unisys/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/unisys/admin/index.php:45) in /home/xxxxx/public_html/unisys/system/engine/controller.php on line 29


This is what my error_log contains:

[21-Aug-2011 15:50:05] PHP Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 44 of 65535 bytes in /home/hamsn/public_html/unisys/index.php on line 61

I don't understand the problem, I tried with other server, its the same, so its not related to the host and also I didn't touch the codes, just been working from backend and the image save in Welcome module caused this.

Any help will be appreciated.

Link to the store: http://unisys.cz.cc
Admin: http://unisys.cz.cc/admin

Thank you.

Newbie

Posts

Joined
Sun Aug 21, 2011 11:35 pm

Post by rph » Mon Aug 22, 2011 12:35 am

You probably have a bad character in your settings which is causing problems. Try going to phpmyadmin and running

Code: Select all

DELETE FROM setting WHERE `group` = 'welcome'

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by hamsn » Tue Aug 23, 2011 11:38 pm

Thank you rph, the following code worked:
DELETE FROM ussetting WHERE `group` = 'welcome'

Could you explain me a little on exactly what that bad character would have been?

Newbie

Posts

Joined
Sun Aug 21, 2011 11:35 pm

Post by rph » Wed Aug 24, 2011 6:47 am

Hard to say exactly where it went wrong without the original data.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by razmi » Tue Nov 20, 2012 8:08 pm

Hi
i am using opencart 1.5.2.1
and getting this error aswell

Notice: unserialize() [function.unserialize]: Error at offset 25014 of 65535 bytes in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php on line 49
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php:49) in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php:49) in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php:49) in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/system/library/currency.php on line 45Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php:49) in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/admin/index.php:49) in /home/XXXXXXX/public_html/HRSMOTORCYCLES.COM/vqmod/vqcache/vq2-system_engine_controller.php on line 29


can anyone help please

Newbie

Posts

Joined
Tue Nov 20, 2012 8:04 pm

Post by avinashkalro » Tue Dec 02, 2014 7:12 pm

This really solved my problem.. thanks a tonne rph.. I had the same problem.. the phpmyadmin worked !!

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm
Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 91 guests