Uniphix
02-20-2005, 12:31 AM
Okay I seem to get an issue here and there are some things I am trying to do right now and that is... trying to get my other php files to link to the global.php..
I have this error
Warning: main(): Unable to access ./global.php in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
Warning: main(./global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
And this is what I have...
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
//chdir('/forums');
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./global.php');
$navbits = array();
$navbits[$parent] = 'Races';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('races') . '");');
?>
I have this error
Warning: main(): Unable to access ./global.php in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
Warning: main(./global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/paragonix.org/httpdocs/portal/races/index.php on line 32
And this is what I have...
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
//chdir('/forums');
$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array();
require_once('./global.php');
$navbits = array();
$navbits[$parent] = 'Races';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('races') . '");');
?>