Posted on: 03/16/04 09:09pm
By: Anonymous (Newbie help)
Hello.
I am having a problem installing my Geeklog. When i go to admin/install/install.php and set it where the config.php file is. i get theese errors
Warning: main(/usr/home/agriffin/public_html/system/classes/template.class.php): failed to open stream: No such file or directory in /usr/home/agriffin/public_html/admin/install/install.php on line 603
Fatal error: main(): Failed opening required '/usr/home/agriffin/public_html/system/classes/template.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/agriffin/public_html/admin/install/install.php on line 603
I've looked over my configuration file serveral times, help would be much appreciated.
Probleming installing.
Posted on: 03/17/04 02:17am
By: geKow
Hmmm....
the system folder shouldn't be inside the public_html folder. So I GUESS you have a path problem. What did you set for $_CONF['path']? It should be the path to the folder where config.php is.
geKow
Probleming installing.
Posted on: 03/17/04 12:11pm
By: Anonymous (LuckyDucky)
the path i set in my config.php file is
// This should point to the directory where your config.php file resides.
$_CONF['/usr/home/agriffin/'] = '/path/to/geeklog/'; // should end in a slash
and
// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['/usr/home/agriffin/public_html'] = $_CONF['path'] . 'public_html/';
is this correct?
Probleming installing.
Posted on: 03/17/04 12:50pm
By: Turias
[QUOTE BY= LuckyDucky] the path i set in my config.php file is
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['/usr/home/agriffin/public_html'] = $_CONF['path'] . 'public_html/';
is this correct?
[/QUOTE]
No.
$_CONF['path_html'] = '/usr/home/agriffin/public_html';
Probleming installing.
Posted on: 03/17/04 01:14pm
By: Anonymous (LuckyDucky)
HUH? sry im a little lost in php. im new to this. i dont see waht u are saying no to. could u explain?
thx very much!
Probleming installing.
Posted on: 03/17/04 01:39pm
By: Turias
Your settings were incorrect. Replace the lines you posted with the one that I gave you.
Probleming installing.
Posted on: 03/17/04 02:40pm
By: Anonymous (LuckyDucky)
i still get the error installing when i go to http://www.anoobslife.com//admin/install/install.php and specify this for a location
/usr/home/agriffin/public_html/config.php
or i get the same error when i specify it like this
/usr/home/agriffin/public_html/
Probleming installing.
Posted on: 03/17/04 03:29pm
By: geKow
Maybe you should start over again, with a fresh version of the config.php.
If you don't change the geeklog filestructure you need to set only one path in the config.php.
This is : $_CONF['path']
The line should look like this:
$_CONF['path'] = '/usr/home/agriffin/';
so this is pointing to the directory where your config.php is.
You don't need to alter $_CONF['path_html'], if you kept the original directory structure, because the default value is
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';
that means it calls the variable with the path you set before (wich is /usr/home/agriffin/) and adds an public_htm/.
The next thing you need to set is the URL (aka Webadress) of your page
$_CONF['site_url'] = 'http://YOURWEBADRESS. HERE';
These are the only two pathes you need to set
if you keep the original directorystructure!
Geeklog is clever eneough to "calculate" all the other pathes it needs by its own.
geKow