Log in

View Full Version : global.php blanks pages


N!ck
03-10-2002, 03:37 AM
when i include global.php on other pages of my site, the pages go blank. i have fully upgraded to 2.2.3b...

any help? :)

TECK
03-10-2002, 04:08 AM
be more specific. what are you trying to do?

N!ck
03-10-2002, 04:34 AM
<?
require("/path/to/forums/global.php");
?>

^-- i am trying to include the global.php file in other pages of my site to use certain things from it.

i have a file called shared.inc which i use on my site to have a header function and a footer function. i have included global.php into this shared.inc file, which i in turn include in every php file of my site.

when i was running 2.2.2, it worked fine. i have upgraded to 2.2.3 and now all the pages go blank.

syco
03-10-2002, 05:10 AM
my pages go blank already anyone want ot help me install it or send me a readme file mine was deleted and my host crashed so taht my forums are now blank

TECK
03-10-2002, 06:17 AM
use this instead:chdir("/home/path/to/forum");
require("./global.php");

N!ck
03-10-2002, 03:41 PM
that did it...thanks!

btw, can't wait for vBHome! :)