![]() |
Add pages
i add php page it;s not working plz help me what i am doing wrong
here is a Link http://www.mknexusonline.com/content/mkgames/test.php i also post there but nobody replay |
What code are you using?
|
|
In order for us to help, you need to post your code. Post the php code and the template.
|
i used same that code copy paste
https://vborg.vbsupport.ru/showthrea...light=new+page this below code for my test.php PHP Code:
and this is my Template code Code:
$stylevar[htmldoctype] |
Is this page located in the same directory as all your other vbulletin files? And are the permissions set correctly (644 I think)? And is the template named "TEST" (all caps)?
|
Quote:
well my forums address is www.mknexusonline.com/forums/ and where as i want add this page here http://www.mknexusonline.com/content/mkgames/test.php and i did not add forums/ vb files on this path http://www.mknexusonline.com/content/mkgames/test.php and yes and Template name is TEST in all caps |
Well, you can't call global.php in your page that way since you are in a different directory now. So, you need to change directories, and then call global.php. Add something like this before your global call:
Code:
chdir('/full/path/to/your/site/forums'); |
Quote:
|
I just told you want to do. You need to put that line before the call to your global.php page and put in the path to where to find that file. I don't know what the full path to your site is, so I can't tell you anymore than that.
|
All times are GMT. The time now is 10:19 AM. |
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:
|