gabriele
19th July 2006, 03:01
I run a site powered by joomla cms on a debian sarge 3.1 2.6 with apache-ssl.After the first user registration Mysql is giving this error after a user registration
mosuser::store failed<br/>Unknown column 'activation' in 'field list' SQL=INSERT INTO jost_users(
'id','name','username','email','password','usertyp e','block','gid','registerDate','activation')VALUE S('0','maria','maria@gabrix.ath.cx','27b4b5b01b0d1 fcab2046369720ff75e','','1','18','2006-07-16 19:41:51','937099cfec294262792a285909b41725')
In a forum i found out remove the id column and the '0' value after i inserted this code
mysql> ALTER TABLE jos_users MODIFY id MEDIUMINT NOT NULL AUTO_INCREMENT;
This is the second query
mysql> INSERT INTO jos_users('name','username','email','password','us ertype','block','gid','registerDate')VALUES('maria ','maria','maria@gabrix.ath.cx','27b4b5b01b0d1fcab 2046369720ff75e','','1','18','2006-07-1804:55:00','51805edae6e5131c6f6d7941e9add048')
-> describe jos_users; ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''name','username','email','password','usertype',' block','gid','
What are the proper values i have to insert ?
Do they have to be related to an existent user or i have to register a new user straight into Mysql with the new values?
In this case what values are going to be for 'password','usertype','block','gid' ...
I know nothing of sql i will soon read a guide but now users cannot register to my site,and it's more than 2 weeks i'm after this problem.
I invite you to try register to my site and see the error message from live https://www.gabrix.ath.cx
Thanks!
mosuser::store failed<br/>Unknown column 'activation' in 'field list' SQL=INSERT INTO jost_users(
'id','name','username','email','password','usertyp e','block','gid','registerDate','activation')VALUE S('0','maria','maria@gabrix.ath.cx','27b4b5b01b0d1 fcab2046369720ff75e','','1','18','2006-07-16 19:41:51','937099cfec294262792a285909b41725')
In a forum i found out remove the id column and the '0' value after i inserted this code
mysql> ALTER TABLE jos_users MODIFY id MEDIUMINT NOT NULL AUTO_INCREMENT;
This is the second query
mysql> INSERT INTO jos_users('name','username','email','password','us ertype','block','gid','registerDate')VALUES('maria ','maria','maria@gabrix.ath.cx','27b4b5b01b0d1fcab 2046369720ff75e','','1','18','2006-07-1804:55:00','51805edae6e5131c6f6d7941e9add048')
-> describe jos_users; ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''name','username','email','password','usertype',' block','gid','
What are the proper values i have to insert ?
Do they have to be related to an existent user or i have to register a new user straight into Mysql with the new values?
In this case what values are going to be for 'password','usertype','block','gid' ...
I know nothing of sql i will soon read a guide but now users cannot register to my site,and it's more than 2 weeks i'm after this problem.
I invite you to try register to my site and see the error message from live https://www.gabrix.ath.cx
Thanks!