![]() |
Does anyone use the Deluxe Login Mod?
Im having a little trouble with this mod and was wondering who uses it or could help me out with it. Cause i have the Deluxe login mod working correctly and everything, but when adding
Quote:
Thanks, |
How do your links "use" mod_rewrite? In any case, what are you trying to achieve with that code?
|
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
|
Quote:
|
if your using a windows 2k or higher server and php5 +
dont use / / just do it like this <?php $curdir = getcwd (); chdir('yourforumfolder'); require_once('yourforumfolder/global.php'); chdir ($curdir); ?> works for me.. just did it here for a test.. --> http://www.evisystems.org/test.php but im using .asp so the mod is no good for me ;) |
Thanks, but that's not what I'm having a problem with. My problem is that php code, it disables my links using mod_rewrite.
the rewrite rule I'm using is Quote:
Quote:
|
Remove the rewrite rule and add that bit of code. Run the PHP file directly and see if it comes up with any errors.
|
:( I cant seem to figure out why this code...
<?php $curdir = getcwd (); chdir('/path/to/your/forums'); require_once('/path/to/your/forums/global.php'); chdir ($curdir); ?> that is at the top of my page, to interfer with my php navigation. They both work but not together, and if i remove the line... require_once('/path/to/your/forums/global.php'); my navigation works correctly again, but i looked at global.php and cant seem to find whats causing this and check the init.php since its being called within global.php and still dont cant seem to figure this out :confused: can someone point me in the right direction. Thanks, |
Is global.php getting called twice when you put that in your script? If so, I'm guessing that is the problem.
|
Its only being called once, its really confusing i been trying to get it fix for days now. I have 3 pages that its using one is my index page with and include code for another page with...
Quote:
|
You know, since you are doing a chdir right before doing the require_once, you really only need that line to be:
PHP Code:
|
Ok i changed it, but its still interfering with my php navigation, it dont make sence to me cause everything is setup correctly i must of checked everything over 20 times and nothing has changed :( im just about to give up on it.
|
Have you been checking your error_logs to see if anything is in there?
|
Yea, no errors are being reported in my error logs. This is the first php problem i couldnt figure out spent to much time trying to get it fixed and have ended up right were i started lol o well thanks for the help but i give up on this problem, it just dont make any sence to me.
|
All times are GMT. The time now is 07:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|