Cant Access Admin Panel

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
wildcatforums
Registered User
Posts: 56
Joined: Wed Jun 20, 2007 1:59 am
Location: Arkansas
Contact:

Cant Access Admin Panel

Post by wildcatforums » Mon Oct 01, 2007 2:07 am

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?

User avatar
ric323
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Cant Access Admin Panel

Post by ric323 » Mon Oct 01, 2007 2:09 am

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.)
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

wildcatforums
Registered User
Posts: 56
Joined: Wed Jun 20, 2007 1:59 am
Location: Arkansas
Contact:

Re: Cant Access Admin Panel

Post by wildcatforums » Mon Oct 01, 2007 2:37 am

Okay, I see what you are talking about. It's fixed, thanks!

Locked

Return to “2.0.x Support Forum”