Jump to content
iHelpersLLC

Oops! Column not found

Recommended Posts

This is the 3rd or 4th of these missing column issues I've had in the last few months. It seems that somewhere along the line an upgrade went sideways.. This is the error I got today when trying to update domain pricing:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'grace_period' in 'field list' (SQL: update `tbldomainpricing` set `dnsmanagement` = 0, `emailforwarding` = 0, `idprotection` = 1, `eppcode` = 1, `grace_period` = -1, `grace_period_fee` = 0.00, `redemption_grace_period` = -1, `redemption_grace_period_fee` = 0.00, `updated_at` = 2018-11-26 11:02:06 where `id` = 1)

 

In all previous cases adding the column was a quick easy fix, and each time I got the exact SQL statement needed or the data-type/info so I could manually add it in PHPMyAdmin from the experts here, so looking forward to more expert help.

TIA !

 

Share this post


Link to post
Share on other sites
19 minutes ago, iHelpersLLC said:

In all previous cases adding the column was a quick easy fix, and each time I got the exact SQL statement needed or the data-type/info so I could manually add it in PHPMyAdmin from the experts here, so looking forward to more expert help.

the full SQL query should be available in /resources/sql/install/tbldomainpricing.schema.sql - so i'd probably suggest comparing the structure of your actual tbldomainpricing table with the schema to see if there are any more columns missing - I would think it quite strange if only that one column is missing, i'd assume the grace fee and redemption columns are also missing too.

then you should be able to add the missing columns as per the other thread.

Share this post


Link to post
Share on other sites

Thank you, i didnt even know those were there in the /resources directory and as you mentioned there were several others columns missing.

Added them all and now no more OOPS!

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines