Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
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:
http://www.vbseo.com/f34/create-cust...seo-use-11288/

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: http://www.tenstones.net/404.php

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
  #2  
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.
http://us3.php.net/chdir
Reply With Quote
Reply



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 04:33.

Layout Options | Width: Wide Color: