Post by avinashkalro » Mon Dec 08, 2014 10:48 pm

I recently added some data to the html module on OC 2.0 .. the home page has the below error and the admin page also
displays an error. Please help and suggest what I must do.. Im desperate
Notice: unserialize(): Error at offset 26882 of 65535 bytes in /home/gosfekitchen/public_html/index.php on line 58
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/gosfekitchen/public_html/index.php:58) in /home/gosfekitchen/public_html/system/library/session.php on line 12Warning: Cannot modify header information - headers already sent by (output started at /home/gosfekitchen/public_html/index.php:58) in /home/gosfekitchen/public_html/system/library/currency.php on line 45Notice: Undefined index: heading in /home/gosfekitchen/public_html/catalog/controller/module/html.php on line 4Notice: Undefined index: description in /home/gosfekitchen/public_html/catalog/controller/module/html.php on line 5



Admin rror

Notice: unserialize(): Error at offset 26882 of 65535 bytes in /home/gosfekitchen/public_html/admin/index.php on line 41
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/gosfekitchen/public_html/admin/index.php:41) in /home/gosfekitchen/public_html/system/library/session.php on line 12Warning: Cannot modify header information - headers already sent by (output started at /home/gosfekitchen/public_html/admin/index.php:41) in /home/gosfekitchen/public_html/system/library/currency.php on line 45

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by avinashkalro » Mon Dec 08, 2014 11:36 pm

Somebody please help me..

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by pm-netti » Tue Dec 09, 2014 12:21 am

avinashkalro wrote:Somebody please help me..
Try this:
1. open cpanel > phpmyadim > your database
2. find table 'setting', click 'browse'.
3. check field 'code' and field 'serialized'.
4. is it in table 'setting' expired modules (same than in table 'module')?

Image
- - - OpenCart Upgrade Service - - -


User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä-Finland

Post by avinashkalro » Tue Dec 09, 2014 1:19 am

Please view the attached image and let me know what I should do

Attachments

unserialized.jpg

unserialized.jpg (371.95 KiB) Viewed 7594 times


New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by opencarthow.com » Tue Dec 09, 2014 1:22 am

avinashkalro wrote:I recently added some data to the html module on OC 2.0 .. the home page has the below error and the admin page also
displays an error. Please help and suggest what I must do.. Im desperate

Notice: unserialize(): Error at offset 26882 of 65535 bytes in /home/gosfekitchen/public_html/index.php on line 58
It seems that you have entered too much data into the HTML module. So it exceeds storage size in your database and the rest of HTML data will be cut. You should go to the HTMl module and press Save to remove error.
Note that the previous data will be lost.

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer


User avatar
Active Member

Posts

Joined
Fri Nov 28, 2014 10:41 am


Post by avinashkalro » Tue Dec 09, 2014 1:24 am

What could be the problem ?

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by pm-netti » Tue Dec 09, 2014 1:37 am

avinashkalro wrote:Please view the attached image and let me know what I should do
Your is Opencart version 2.0.1x?
If, so remove that in setting table modules 'featured' and 'carousel', also 'slideshow', 'latest', 'special'........

Image
- - - OpenCart Upgrade Service - - -


User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä-Finland

Post by avinashkalro » Tue Dec 09, 2014 1:41 am

its 2.0 not 2.0.1

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by pm-netti » Tue Dec 09, 2014 1:59 am

avinashkalro wrote:its 2.0 not 2.0.1
You says, that are change HTML module. Try find that 'html module' in table setting. Do you dare to remove it?

Image
- - - OpenCart Upgrade Service - - -


User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä-Finland

Post by avinashkalro » Tue Dec 09, 2014 2:01 am

no.. I did not remove it.. it was not there in the setting table

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by avinashkalro » Tue Dec 09, 2014 2:13 am

help help help !!!

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by avinashkalro » Tue Dec 09, 2014 2:19 am

I did it.. !!!
Here's what I did.. first I

1. Opened index.php from the admin folder
2. found the line: $config->set($setting['key'], unserialize($setting['value']));
3. deleted the line
4. logged into admin
5. navigated to modules and uninstalled the html module

Solved it !!!

New member

Posts

Joined
Sat Apr 23, 2011 11:34 pm

Post by pm-netti » Tue Dec 09, 2014 2:23 am

avinashkalro wrote:help help help !!!
What is it your index.php?

My index.php line 58 of version 2.0.0.0:

Code: Select all

if (!$store_query->num_rows) {
Your line 58:

Code: Select all

Notice: unserialize(): Error at offset 26882 of 65535 bytes in /home/gosfekitchen/public_html/index.php on line 58
???

Image
- - - OpenCart Upgrade Service - - -


User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä-Finland

Post by fido-x » Tue Dec 09, 2014 9:04 am

The HTML Content module is throwing "Uninitialized string offset 1" errors in the template file. The problem is coming from the controller (admin/controller/module/html.php). The following block of code (lines 94 to 100) is the cause:

Code: Select all

if (isset($this->request->post['module_description'])) {
	$data['module_description'] = $this->request->post['module_description'];
} elseif (!empty($module_info)) {
	$data['module_description'] = $module_info['module_description'];
} else {
	$data['module_description'] = '';
}
The "module_description" is an array of values based on language. The problem is, that it is being defined as a NULL value string when empty. To fix it, change the above code to the following:

Code: Select all

if (isset($this->request->post['module_description'])) {
	$data['module_description'] = $this->request->post['module_description'];
} elseif (!empty($module_info)) {
	$data['module_description'] = $module_info['module_description'];
} else {
	$data['module_description'] = array();
}

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by karlpers » Thu Mar 19, 2015 7:52 am

You made my day Fido-X :)

Active Member

Posts

Joined
Tue Jun 09, 2009 10:35 pm

Post by ngomezleal » Tue Sep 08, 2015 11:56 pm

Hello all,
I need help, I am trying to add HTML code through the module in OC, but it is giving the following error:

Notice: unserialize (): Failed at offset 61459 of 65535 bytes in /home/dnacelln/public_html/admin/index.php on line 51

Please helpme

Newbie

Posts

Joined
Tue Sep 08, 2015 11:50 pm

Post by vanlanh52 » Sun Sep 03, 2017 11:44 pm

hello everybody,
I change http => https, error "
Notice: unserialize() [function.unserialize0]: Error at offset 1464 of 4718 bytes in /home/..../...../index.php on line 69"
Please, Help me :(

https://bigsizenini.com


Newbie

Posts

Joined
Sun Sep 03, 2017 11:30 pm

Who is online

Users browsing this forum: No registered users and 23 guests