Gold1s Posted August 4, 2014 Share Posted August 4, 2014 (edited) xxx Edited August 6, 2014 by Gold1s (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted August 5, 2014 Share Posted August 5, 2014 I think you forgot to define the public variables: In Customer.php, around line 99 you see this: /** @var integer Password */ public $passwd; Which defines the public variable $passwd Below this, add something like: /** @var boolean zgoda */ public $zgoda; /** @var boolean zgoda2 */ public $zgoda2; Hope this helps, pascal 1 Link to comment Share on other sites More sharing options...
Gold1s Posted August 5, 2014 Author Share Posted August 5, 2014 (edited) Hi.Thank you for reply.Now I have just this information: xxx Edited August 6, 2014 by Gold1s (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted August 5, 2014 Share Posted August 5, 2014 Did you alter your database table (i.e. added the fields zgoda and zgoda2 to the database table ps_customer itself) already? It seems you try to add a value to the fields, but these new ones aren't defined yet. So you have to adjust your database table first (Be very careful with this! Make backups!! and be careful when you are upgrading in the future, as the update procedure may overwrite your changes!! Always backup the table (and the whole database :-) ) before upgrading) You probably have to run some SQL statement in your phpMyAdmin (or whatever database manager program you use). (for more info on how to do this: http://www.siteground.com/tutorials/phpmyadmin/phpmyadmin_mysql_query.htm) I think Something like this: ALTER TABLE ps_customer ADD zgoda tinyint(1) unsigned NOT NULL AFTER passwd; and ALTER TABLE ps_customer ADD zgoda2 tinyint(1) unsigned NOT NULL AFTER passwd2; (Didn't try it out myself, but give it a try, (AFTER MAKING BACKUP OF YOUR DATABASE!!)) For more detailed info on the ALTER TABLE command, with more options if needed: http://dev.mysql.com/doc/refman/5.1/en/alter-table.html Hope this helps, pascal. 1 Link to comment Share on other sites More sharing options...
Gold1s Posted August 6, 2014 Author Share Posted August 6, 2014 Yes! It's working! I'm very very grateful. Thank you so much! Link to comment Share on other sites More sharing options...
PascalVG Posted August 8, 2014 Share Posted August 8, 2014 Good to hear. I'll mark the topic as solved. N.B. Please don't remove the original question, as other users may have a similar problem (looking at the topic header) and can read if the question is the same and thus if the answers apply may to them. Happy selling, pascal. 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