Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 13 Aug 2008, 00:54
TsirhCitna TsirhCitna is offline
Join Date: Jul 2005
Real name: Bob
External pages using templates

I created a custom 404 page using this:

It works fine inside the forums directory, but I would like it to work on the root as well. As it stands I get php errors:

My .htaccess in the root points to /forums/404.php

Because it calls misc.php it needs global.php which I added to the root and edited to also point to /forums/ for all the files it calls, which leads to init.php and it continues. I even went as far as to copy the entire root and I have tried the intergration built into vBadvance which also didn't work.

I'm fresh out of ideas.
Tenstones Gaming Community
Reply With Quote
Old 13 Aug 2008, 02:28
RLShare RLShare is offline
Join Date: Jun 2008
Why would you change the structure of the filesystem? Just change the current working directory to your forums root before you include any files using the 'chdir' function if you need to include files from that directory.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:30.

Layout Options | Width: Wide Color: