![]() |
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.
|
1 Attachment(s)
I have attached a file called path.php...upload it to your forum directory...go to the your forum url now and /path.php...(e.g. www.site.com/forum/path.php ) ...now this file will list the server path to that directory...
e.g. Code:
/full/path/to/your/site/forum |
thankx i find my path but now when i edit forums/global.php file then where i add my site path i mean to say which line or i just add path any where in global.php
|
YOU DON'T EDIT GLOBAL.PHP.
Edit your custom PHP file, placing the change directory code above the call to global.php. |
OMG it's very hard it;s really not working after i change TEST.php
this is my old TESt.php coding PHP Code:
after add Path PHP Code:
|
PHP Code:
|
thankx it's work but now it;s show error too
http://www.mknexusonline.com/content/mkgames/test.php |
Edit - Ok see your links are a bit messed up now...
|
what i edit TEst.php or something else
|
I don't see anything wrong with the page...
|
Quote:
|
In headinclude:
Code:
<base href="http://www.mknexusonline.com/forums" /> |
1 Attachment(s)
i added my that Code in my headinclude but Navbar is not working and 2nd error is still show me in attachment and most important thing after this line
[QUOTE]<base href="http://www.mknexusonline.com/forums" /> my forums links Path are change so remove this line from headinclude Quote:
Quote:
|
Quote:
|
Quote:
|
Please help this which path your talking about
|
The file named "cron.php" needs to have the correct path as well
|
All times are GMT. The time now is 08:49 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:
|