PDA

View Full Version : Edit Members account through Control Panel bug.



Mafukie
Thu 4th May '00, 5:15am
Hi When I try to edit a members account thorugh the control panel I get a database error... has anyone else had this problem except me?

werehere
Thu 4th May '00, 5:22am
I have done it many times without fail, just so you know?

Parker Clack
Thu 4th May '00, 6:26am
I am getting the same thing. When I sign up as a new member to test it out and then set my username to registered it says that I have a database error. This is when you have the settings in the control panel to have to approve new sign ups so they can post instead of the script just emailing the username and password to the member.

Parker

manifesto
Thu 4th May '00, 6:41am
Is this in 1.1.1? I haven't upgraded yet, since I have to do some stuff to the files before they work on my server... I know this never happened to me in the first version though.

John
Thu 4th May '00, 7:12am
OK - found that bug. Line 158 in user.php should be this:



$usergroup=$DB_site->query_first("SELECT usertitle FROM usergroup WHERE usergroupid=$ausergroupid");


BTW - manifesto, what changes do you need to make to the files?

John

manifesto
Thu 4th May '00, 7:58am
Just change the extensions to .php3 and change any referals to them in the files to .php3 (.php files aren't parsed by my host, which is one, among many, reasons that I'm probably going to switch to Site5 soon, if my network host falls through).

Parker Clack
Thu 4th May '00, 10:55am
John:

Thanks this took care of it.

Parker