
Gediminas M. - 2012-02-29 22:38:58
First time creating admin account I got an error. Id is not INT.
$sql="insert into ".$this->prefix."users values ('','".mysql_real_escape_string(htmlentities($firstname,ENT_QUOTES))."','".mysql_real_escape_string(htmlentities($lastname,ENT_QUOTES))."','".mysql_real_escape_string($email)."','1',".mktime().")";
Place of Id here is '' string, so I change it to null.
After this it worked.
I dont know its my system, or its something else.
I run it on localhost with WAMP.