Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 12:25 am EST
Geeklog Forums
Unsure about web root directory install on my server please help. Thanx
:shock: I followed the web root install and created a directory at the root of my site /usr/local/etc/httpd/htdocs/selfautotech/stenner/ which I p/w protected and then finished with the standard install.
I'm confused with the editing of config,php and lib_common.php for the path's. I know there are ton's of posts that explain this but after a thorough search I have yet to find some help in them.
My server path is /usr/local/etc/httpd/htdocs/selfautotech
I then created the P/W protected directory at /usr/local/etc/httpd/htdocs/selfautotech/stenner/
I used winrar to unpack the tarball and wsftp to upload the files. All the files in public_html went to the root and all the rest are in stenner.
I keep receiving this error at install
Warning: main(/usr/local/etc/httpd/htdocs/stenner/system/databases/mysql.class.php) [function.main]: failed to open stream: No such file or directory in /usr/local/etc/httpd/htdocs/selfautotech/stenner/system/lib-database.php on line 117
Fatal error: main() [function.require]: Failed opening required '/usr/local/etc/httpd/htdocs/stenner/system/databases/mysql.class.php' (include_path='.:../PEAR-1.1' in /usr/local/etc/httpd/htdocs/selfautotech/stenner/system/lib-database.php on line 117
Is /usr/local/etc/httpd/htdocs/selfautotech my root path?
I know that config.php is in stenner so would /usr/local/etc/httpd/htdocs/selfautotech/stenner be my config path
I'm losin it! I even tied to use the self install and it keeps failing to upload the files.
this is how I see it.. but maybe from the wrong angle
My Config.php
This should point to the directory where your config.php file resides.
$_CONF['path'] = '/usr/local/etc/httpd/htdocs/stenner/'; // should end in a slash
// 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'] = '/usr/local/etc/httpd/htdocs/selfautotech ';
$_CONF['path_html'] = $_CONF['path'] . '/usr/local/etc/httpd/htdocs/selfautotech ';
// +---------------------------------------------------------------------------+
// | (3) Site Settings |
// +---------------------------------------------------------------------------+
// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url'] = 'http://www.selfautotech.com';
// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
My lib_common.php
require_once( '/usr/local/etc/httpd/stenner/config.php' );
I obviously need some help it seems to be flying right over my head.
Thanx
I'm confused with the editing of config,php and lib_common.php for the path's. I know there are ton's of posts that explain this but after a thorough search I have yet to find some help in them.
My server path is /usr/local/etc/httpd/htdocs/selfautotech
I then created the P/W protected directory at /usr/local/etc/httpd/htdocs/selfautotech/stenner/
I used winrar to unpack the tarball and wsftp to upload the files. All the files in public_html went to the root and all the rest are in stenner.
I keep receiving this error at install
Warning: main(/usr/local/etc/httpd/htdocs/stenner/system/databases/mysql.class.php) [function.main]: failed to open stream: No such file or directory in /usr/local/etc/httpd/htdocs/selfautotech/stenner/system/lib-database.php on line 117
Fatal error: main() [function.require]: Failed opening required '/usr/local/etc/httpd/htdocs/stenner/system/databases/mysql.class.php' (include_path='.:../PEAR-1.1' in /usr/local/etc/httpd/htdocs/selfautotech/stenner/system/lib-database.php on line 117
Is /usr/local/etc/httpd/htdocs/selfautotech my root path?
I know that config.php is in stenner so would /usr/local/etc/httpd/htdocs/selfautotech/stenner be my config path
I'm losin it! I even tied to use the self install and it keeps failing to upload the files.
this is how I see it.. but maybe from the wrong angle
My Config.php
This should point to the directory where your config.php file resides.
$_CONF['path'] = '/usr/local/etc/httpd/htdocs/stenner/'; // should end in a slash
// 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'] = '/usr/local/etc/httpd/htdocs/selfautotech ';
$_CONF['path_html'] = $_CONF['path'] . '/usr/local/etc/httpd/htdocs/selfautotech ';
// +---------------------------------------------------------------------------+
// | (3) Site Settings |
// +---------------------------------------------------------------------------+
// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url'] = 'http://www.selfautotech.com';
// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
My lib_common.php
require_once( '/usr/local/etc/httpd/stenner/config.php' );
I obviously need some help it seems to be flying right over my head.
Thanx
9
8
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: Tech_Z
Assuming the first two sentences are accurate the $_CONF['path'] is missing selfautotech. I believe you made the same error in lib-common.php. My server path is /usr/local/etc/httpd/htdocs/selfautotech
I then created the P/W protected directory at /usr/local/etc/httpd/htdocs/selfautotech/stenner/
This should point to the directory where your config.php file resides.
$_CONF['path'] = '/usr/local/etc/httpd/htdocs/stenner/'; // should end in a slash
9
10
Quote
All times are EST. The time is now 12:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content