We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

TinyMCE: when I enable the extension I get "unserialize errors".

Development and Programming

Kev-O's avatar
Kev-O
50 posts
16 years ago
Kev-O's avatar Kev-O

I’ve used TinyMCE on other sites and it works great. But this is the first time I’ve tried it on a MSM collection of sites and when I go to enable the extension, I get the following errors:

Notice: unserialize() [function.unserialize]: Error at offset 65522 of 65535 bytes in /blah/blah/sitename/cp/extensions/ext.lg_tinymce.php on line 1098

Notice: unserialize() [function.unserialize]: Error at offset 65522 of 65535 bytes in /blah/blah/sitename/cp/core/core.extensions.php on line 218

Any Ideas?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

The settings are probably being truncated due to the db column length. Try remove the entites part of the TinyMCE cofiguration and see how you go.

       
Kev-O's avatar
Kev-O
50 posts
16 years ago
Kev-O's avatar Kev-O

Yeah, for anybody else who is running into this problem …. I removed all the ‘entities’ and it still needed more room, so I removed all the ‘valid_elements’ and now it seems to be working well. I’m hoping that removing those settings isn’t going to cause some unforeseen problem down the road. I didn’t have any problems with this on a 1.6.3 site but when I installed it on a 1.6.4 with MSM I ran into problems, not sure if it’s the MSM or the 1.6.4 that’s causing the problem.

Leevi, another great extension, Cheers!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

There is another post floating around in the forum where I also suggested you change the settings field type to text or longtext. That will help as well.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.