Page 1 of 1

Cant Access Admin Panel

Posted: Mon Oct 01, 2007 2:07 am
by wildcatforums
A friend of mine has a phpbb forum up. He can't get into the Admin Panel.

I tried and always recieved the following error:

Code: Select all

Fatal error: Cannot redeclare get_list_kb() in /www/freehyperspace.com/a/d/v/advancedforums/htdocs/admin/admin_kb_types.php on line 31
Here is what is on line 31 of the admin_kb_types.php folder:

function get_list_kb($id, $select)

Could anyone help?

Re: Cant Access Admin Panel

Posted: Mon Oct 01, 2007 2:09 am
by ric323
Check what files you have in your admin directory.
phpBB tries to load all the admin_xxxx.php files it can find in there. You will get that sort of error if you try to load two files with the same code in them. (e.g. if you made a backup copy of one of the files, and left it in the same drectory wuith a slightly different name.)

Re: Cant Access Admin Panel

Posted: Mon Oct 01, 2007 2:37 am
by wildcatforums
Okay, I see what you are talking about. It's fixed, thanks!