The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
The following works fine and since it is a private forum going to it requres a password to get into it. The system ask the user for the private password and takes me to the correct fourm number 30 as it should.
$curdir = getcwd(); chdir('./forums'); require_once('./global.php'); // if (!$vbulletin->userinfo['userid']) // { // print_no_permission(); // } chdir($curdir); switch ($_POST['blue_lodge']) { case "John T. Heard Lodge": $vbulletin->url = $vbulletin->options['bburl'] . '/forumdisplay.php?f=30'; eval(print_standard_redirect('redirecting to forum', false, true)); // echo "We have found it "; break; default: echo "Invalid page"; break; } ?> But If I uncomment these lines if (!$vbulletin->userinfo['userid']) { print_no_permission(); } The login screen comes up fine but if i use my vaild user name and password it does not take me to the forum but a get a 404 error page. If I decide to click on the register link i have the same trouble 404 error page ! Please explain how to get around this problem. THANKS Frank H. Shaw I think my problem has something to do with the fact that i am runnung IIS so i have come to the realization that the chdir('./forums'); will not work on the IIS server - Please explian to me what is the problem and how to get around it. |
#12
|
|||
|
|||
The problem here seems to be a result of the chdir working diffently on a IIS server which runs windows 2000 and not lynex - so i have made a new thread addrees this directly thanks !
if (!$vbulletin->userinfo['userid']) { print_no_permission(); } seem to have problems inside there source and might have to do with the fact that i am running on a non lynex server - which i am in fact running windows 2000 server from microsoft and running IIS - i have tested the chdir function it works diffentely on the IIS server - i have verifyed the fact by putting ecos in after using the function. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|