From: Jeff D. <da...@da...> - 2003-04-01 17:29:19
|
On Sun, 30 Mar 2003 21:26:24 +0100 "Sandy Matheson" <mat...@bt...> wrote: > I have just set up the latest CVS version to look at the recent changes > in PhpWiki, but all I get on loading the new WIKI is a blank page. > > The initial set up of pages works correctly, but when I try to access > any pages all I get is a blank page. > > Any ideas as to what I have done wrong? Try replacing this giant nested if block at the bottom of index.php: if (defined('VIRTUAL_PATH') and defined('USE_PATH_INFO')) { if ($HTTP_SERVER_VARS['SCRIPT_NAME'] == VIRTUAL_PATH) { include "lib/main.php"; } } else { if (defined('SCRIPT_NAME') and ($HTTP_SERVER_VARS['SCRIPT_NAME'] == SCRIPT_NAME)) { include "lib/main.php"; } elseif (strstr($HTTP_SERVER_VARS['PHP_SELF'],'index.php')) { include "lib/main.php"; } } with a simple: include "lib/main.php"; Let us know whether that helps or not... |