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

Updating from 2.5.5 to 2.10.3 - error : Column 'protect_javascript' cannot be null

How Do I?

chris thacker's avatar
chris thacker
119 posts
10 years ago
chris thacker's avatar chris thacker

I’m trying to update from EE 2.5.5 to 2.10.3 and get this error during the update process.

Error Number: 1048

Column 'protect_javascript' cannot be null

UPDATE `exp_templates` SET `template_id` = '38', `site_id` = '1', `group_id` = '4', `template_name` = 'center_content', `save_template_file` = 'n', `template_type` = 'webpage', `template_data` = '\n[

thanks

       
chris thacker's avatar
chris thacker
119 posts
10 years ago
chris thacker's avatar chris thacker

ellislabs support worked with me on this. they said my db was fine so they had me add this…

In your system/ee/installer/updates/ud_2_09_00.php file can you add the following at line 233:

$template->protect_javascript = 'n';
       

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.