View Single Post
Old March 26th, 2005, 12:58 AM   #3 (permalink)
dave_lilley
Registered User
 
Join Date: Mar 2005
Posts: 4
I found and fixed the problem. In ./forums/phpbb2.php, the $usergroups variable wasn't being properly "prefixed". In the insert and create table statements, it was coded as {$pp_db_prefix}usergroups, but it should have been {$Globals['pp_db_prefix']}usergroups.

Additionally, the insert statements for Anonymous INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('1','Anonymous',0,0,0,0,0,0,0,0,0,0), were missing one field.

They should look like this: INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('1','Anonymous',0,0,0,0,0,0,0,0,0,0,0).

Anyway, it works now, and I am able to update the groups through the console.

If it ok with the Photopost crew, I will attach the updated file.

Thanks,
Dave

Last edited by dave_lilley; March 26th, 2005 at 07:50 AM.
dave_lilley is offline   Reply With Quote