becafuel
03-12-2007, 11:30 AM
Hi,
I was creating some web pages outside of vBulletin and wanted them to appear in the WOL page.
Not that hard, since I only had to include global.php and eventually create a module to display "correct" names on WOL. And it's working.
But... things went wrong when I sent the pages on my ISP :( Location was not showing anymore, but instead was showing 'viewing index' when on forum at the same time or not showing at all if the pages were located outside of vBulletin directory (which of course will often be the case).
If debug is active, I can see that $filename is empty when page is outside of vb directory.
In the session table, location is : "/forum/" while it should be "/forum/myfile.php" or something like that.
The differences between me and my ISP are :
apache2.2.3, php5.1.6, mysql5.0.27, Linux 2.6.18 for me
apache (no version indication), php4.4.4, mysql4.1.20, Linux 2.6.17 for ISP
So my question is : what can cause my problem ? apache ? php ? And of course, how can I get around this ? ;)
Any help is welcome.
I was creating some web pages outside of vBulletin and wanted them to appear in the WOL page.
Not that hard, since I only had to include global.php and eventually create a module to display "correct" names on WOL. And it's working.
But... things went wrong when I sent the pages on my ISP :( Location was not showing anymore, but instead was showing 'viewing index' when on forum at the same time or not showing at all if the pages were located outside of vBulletin directory (which of course will often be the case).
If debug is active, I can see that $filename is empty when page is outside of vb directory.
In the session table, location is : "/forum/" while it should be "/forum/myfile.php" or something like that.
The differences between me and my ISP are :
apache2.2.3, php5.1.6, mysql5.0.27, Linux 2.6.18 for me
apache (no version indication), php4.4.4, mysql4.1.20, Linux 2.6.17 for ISP
So my question is : what can cause my problem ? apache ? php ? And of course, how can I get around this ? ;)
Any help is welcome.