LockeAG Posted April 16, 2014 Share Posted April 16, 2014 I just migrate all my website to an nginx environment and then every time I try to add or edit a user I get: Fatal Error while creating object employee (Unknown column 'optin' in 'field list') (You should know that the warning is in spanish so maybe is not the correct translation to english hahaha) well thanks Link to comment Share on other sites More sharing options...
NemoPS Posted April 16, 2014 Share Posted April 16, 2014 Weird, the employee class has no optin field. Prestashop version? Did you do any custom modification? Using any override? Link to comment Share on other sites More sharing options...
LockeAG Posted April 16, 2014 Author Share Posted April 16, 2014 yeah , it is weird , but not at all I migrate to NGINX and change from ps1.5 to ps1.6 thnaks! Link to comment Share on other sites More sharing options...
Scully Posted September 8, 2014 Share Posted September 8, 2014 (edited) We experienced the same problem. It turned out, that some or all database modifications have not been made. So we are running the files from ../install/upgrade/sql/ beginning with 1.5.6.0.sql up to the latest version. Edited September 8, 2014 by Scully (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 8, 2014 Share Posted September 8, 2014 have you tried to add this column manually? optin TINYINT(1) unsigned default 1 i think it's a case of update, something went wrong and database table ps_employees was not altered Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now