Installation problems
Posted: Tue Nov 11, 2008 8:37 pm
Hi!
I'm trying to login to my site (installed in a subfolder: /jukebox) and the following message appears:
Warning: require_once(/home/www/MySite.se/jukebox/include/config.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/MySite.se/jukebox/include/initialize.inc.php on line 65
My question is: do I have to install in the root of my domain?
If not, can I change PHP code for home directory, (and how), to remedy the above warning.
PS. My domains are located under /home/www like this:
/home/www/MySite.se
/home/www/MySite.dk
and so on.
PPS. Here is the code from initialize.inc.php:
// +------------------------------------------------------------------------+
// | Get home directory |
// +------------------------------------------------------------------------+
$directory = dirname(__FILE__);
$directory = realpath($directory . '/..');
$cfg['home_dir'] = str_replace('\\', '/', $directory) . '/';
I'm trying to login to my site (installed in a subfolder: /jukebox) and the following message appears:
Warning: require_once(/home/www/MySite.se/jukebox/include/config.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/MySite.se/jukebox/include/initialize.inc.php on line 65
My question is: do I have to install in the root of my domain?
If not, can I change PHP code for home directory, (and how), to remedy the above warning.
PS. My domains are located under /home/www like this:
/home/www/MySite.se
/home/www/MySite.dk
and so on.
PPS. Here is the code from initialize.inc.php:
// +------------------------------------------------------------------------+
// | Get home directory |
// +------------------------------------------------------------------------+
$directory = dirname(__FILE__);
$directory = realpath($directory . '/..');
$cfg['home_dir'] = str_replace('\\', '/', $directory) . '/';