iHelpersLLC Posted November 26, 2018 Share Posted November 26, 2018 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 ! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 26, 2018 Share Posted November 26, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
iHelpersLLC Posted November 26, 2018 Author Share Posted November 26, 2018 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! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.