Lost the Link to Admin page

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
sunwest
Registered User
Posts: 11
Joined: Thu Nov 06, 2003 7:14 pm
Location: Phoenix, AZ
Contact:

Lost the Link to Admin page

Post by sunwest »

While making some template changes, I managed to somehow lose the "Go to Administration Panel" link at the bottom of the index_body.tpl page. The registration page is also lost, and comes up blank when accessed. Any help here would be greatly appreciated.
Last edited by dellsystem on Fri Oct 05, 2007 9:07 pm, edited 1 time in total.
Reason: Topic icon changed
JHowe
Registered User
Posts: 22
Joined: Wed Sep 05, 2007 2:27 pm

Re: Lost the Link to Admin page

Post by JHowe »

Not sure how to get the link back, I'll post later tonight if I find the code that enables that. For the time being, you should be able to access your admin panel through the following link:

http://www.yourdomain.com/admin/index.php

And your register link should look like this (with an sid= value at the end, but ultimately this works too)

http://www.yourdomain.com/profile.php?mode=register

If you get a blank page on that, then you've got something in the coding for profile.php that's not right, and most likely because of a mod or something that you were implementing on it. Try reversing what you changed (if you know what you changed, lol) or scanning the code for missing closures etc. You'd most likely get a syntax error on access if you were missing a character.
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10551
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Lost the Link to Admin page

Post by Noxwizard »

To get the admin link back, you'll need to re-add this to templates/your_template/overall_footer.tpl:

Code: Select all

{ADMIN_LINK}
As for the blank registration page, double check any edits that you made to includes/usercp_register.php, if you haven't made any edits, reupload the file. You can get a fresh copy from the Full Package on the downloads page.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
sunwest
Registered User
Posts: 11
Joined: Thu Nov 06, 2003 7:14 pm
Location: Phoenix, AZ
Contact:

Re: Lost the Link to Admin page

Post by sunwest »

Thanks for the help. I have been adding some mods and doing some other stuff. I'll have to start back checking to see where I screwed up.

By the way, this is already in the footer -

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10551
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Lost the Link to Admin page

Post by Noxwizard »

Then it sounds like the footer itself isn't loading. Check any edits you've made to includes/page_tail.php.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
sunwest
Registered User
Posts: 11
Joined: Thu Nov 06, 2003 7:14 pm
Location: Phoenix, AZ
Contact:

Re: Lost the Link to Admin page

Post by sunwest »

The only thing that I can think of that I did just before I lost the link was to install the Admin Toolkit that I found somewhere on this forum. I have removed it, but the problem still exists. I can work around that for now, but I'm still unable to get the Register page to come up.

I just realized what I did! I have the CTracker mod installed, and I had disabled it to do some editing. When I realized that I had done that and reactivated it, all was well.

I appreciate your assistance on this.
Last edited by sunwest on Fri Oct 05, 2007 12:55 am, edited 1 time in total.
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10551
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Lost the Link to Admin page

Post by Noxwizard »

The Admin Toolkit is a standalone script which doesn't affect the phpBB code, it wouldn't be causing these errors.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Lost the Link to Admin page

Post by ric323 »

WinMerge is a great tool for detecting differences between files.
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
Locked

Return to “2.0.x Support Forum”