PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
punkhouse
New Member
New Member


Joined: Apr 23, 2005
Posts: 2

PostPosted: Sat Apr 23, 2005 1:55 pm Reply with quote Back to top

i have upgraded phpbb from 1.0.10 to 1.0.14. Everything seemed to update fine except that i cant access the phpbb admin panel from the "go to adminstration" link at the bottom of the forum. this link goes to a page that says "You can't access this file directly..." the link points to "/modules/Forums/login.php?redirect=admin/"

i would appreciate the help, i asked already at phpbb forums, but they sent me here to ask.
View user's profile Send private message
sting
Involved
Involved


Joined: Sep 23, 2003
Posts: 459
Location: Somewhere out there...

PostPosted: Fri Jun 03, 2005 11:44 am Reply with quote Back to top

You might be able to capture the actual location of the link url by going to the admin the 'normal' way, copying the url info and then changing the link behind the scenes to reflect the link that actually works - make sense?

-sting
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Manuel
Regular
Regular


Joined: May 28, 2005
Posts: 90

PostPosted: Fri Jun 03, 2005 5:20 pm Reply with quote Back to top

i had the same problem because the manual patch say to change something in modules/forums/admin/pagestart.php... you should comment out any changes you made to this file and the result (EOF) should be like this:

Code:


/*
if( !$userdata['session_logged_in'] )
{
        $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', $_SERVER['SERVER_SOFTWARE']) ) ? 'Refresh: 0; URL=' : 'Location: ';
        header($header_location . '../../../' . append_sid("login.$phpEx?redirect=admin/"));
        exit;
}
else if( $userdata['user_level'] != ADMIN )
{
        message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
*/

/* // added in bbtonuke 2.0.15 ... but doesn't work...
if (!$userdata['session_admin'])
{
   $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', $_SERVER['SERVER_SOFTWARE']) ) ? 'Refresh: 0; URL=' : 'Location: ';
   header($header_location . '../../../' . append_sid("login.$phpEx?redirect=admin/&admin=1", true));
   exit;
}
*/

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum