1
NO PROBLEM I FIXED IT
I need to add a few fields in users Table.
first I created these fields directly with MySQL in Users Table.
Then I changed all related program to display/Update/Create these fields.
Display so far is perfect.
However when I try to register a new user, or try to Edit a users profile, I get an SQL error.
Also Php debug, gives the following error.
Warning: sprintf(): too few arguments in
c:\xoops\easyphp\www\cb\html\kernel\user.php on line 541
whivh refers to statements
$sql = sprintf("INSERT INTO %s (a, b etc) to register
OR
$sql = sprintf("UPDATE %s SET a = %s, b = %s, etc) to edit the user profile
Of course this happens only when I am adding my fields in the SPRINTF statement.
I guess that I am trying to invoke a function with incorrect number of parameters. Where are these sql function so I can change them. I looked Everywhere.