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

Fixing old EE site - v6 - SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Templates_templates.enable_http_auth' in 'field list':

How Do I?

ArchangelX's avatar
ArchangelX
9 posts
11 months ago
ArchangelX's avatar ArchangelX

Hello everyone, I’m trying to repair an old installation of EE. Anytime I click on the templates portion of the admin area, I get the attached message. I cannot edit the site unfortunately.

Does anyone have any suggestions? I’ve google’d quite extensively for this but still haven’t find the answer.

       
Tom Jaeger's avatar
Tom Jaeger
426 posts
11 months ago
Tom Jaeger's avatar Tom Jaeger

That’s pretty interesting. I can’t seem to see the first image, only the MySQL error and stack trace.

Was this table manually modified?

If you run the following MySQL query on your database, it should add the missing column (my test worked again there after). I would recommend backing up your exp_templates table first.

ALTER TABLE exp_templates
ADD enable_http_auth CHAR(1) NOT NULL default 'n';

Thanks,

-Tom Jaeger

       
troylewis's avatar
troylewis
5 posts
11 months ago
troylewis's avatar troylewis

Thanks for your recommendation. This is what I am looking for.

       
Amanda Holden's avatar
Amanda Holden
2 posts
about 10 months ago
Amanda Holden's avatar Amanda Holden

If you’re using an older version of ExpressionEngine, consider upgrading to the latest version. This might resolve compatibility issues and include the necessary column definition. Buckshot Roulette

       

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.