Log in

View Full Version : Pluhnews Problem - Help Please!


weallgoboing
10-06-2002, 10:30 AM
My install of vBulletin is in http://weallgoboing.com/forums/

and I run Pluhnews successfully in http://weallgoboing.com/forums/newsnow.php

I am trying to make Pluhnews run in the root, eg http://weallgoboing.com/newsnow.php

I have adjusted
require("global.php");
require("PluhConfig.php");
require("admin/config.php");

torequire("forums/global.php");
require("forums/PluhConfig.php");
require("forums/admin/config.php");

but get a blank screen, no error messages and no headers!

Any ideas?

(p.s. http://weallgoboing.com and http://weallgoboing.com/forums/newsnow.php exist, the other url's are examples but not live.)

Chris M
10-06-2002, 10:55 AM
Revert the :

require("forums/global.php");
require("forums/PluhConfig.php");
require("forums/admin/config.php");

back to :

require("global.php");
require("PluhConfig.php");
require("admin/config.php");

then edit the newsnow.php file, and add :

chdir('./forums');

BEFORE:

require("global.php");

Satan