Welcome to Geeklog, Anonymous Sunday, November 24 2024 @ 02:46 pm EST
Geeklog Forums
No Step 2
Status: offline
ShdwRulr
Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
I can\'t proceed to step 2 in the installation. The link is here. When you click next or whatever, you get this
Warning: main(/public_html/geeklog/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/shadowru/public_html/geeklog/system/lib-database.php on line 110
Fatal error: main(): Failed opening required \'/public_html/geeklog/system/databases/mysql.class.php\' (include_path=\'.:/usr/local/lib/php\') in /home/shadowru/public_html/geeklog/system/lib-database.php on line 110
I have checked and lib-database.php is on the server. Is there something I have to do to it? CHMOD? Rename it? Edit some part of it? Something?
Bla bla bla
Bla bla bla
10
7
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
Did you modify the lib-common.php file? Looks like you have a path problem.
6
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ShdwRulr:Warning: main(/public_html/geeklog/system/databases/mysql.class.php): failed to open stream: No such file or directory in /home/shadowru/public_html/geeklog/system/lib-database.php on line 110
http://www.geeklog.net/docs/install.html#failed-to-open
Also, the error message already gives away that you have a path problem (the /home/shadowru bit is missing in the path).
bye, Dirk
5
7
Quote
ShdwRulr
Anonymous
I have modified config and lib-common but I am still getting the same response. I looked at lib-database and I have no idea of what to do. Is there anything else I can post to help? Like config or lib-common or some other file?
10
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You don't need to modify lib-database.php. You only need to make changes in two files: config.php and lib-common.php.
When you call up the install script, it will try and find out the correct path for you and display it in the edit field already (depending on your setup, that may or may not work). Even if it can't find out the path automatically, it will give you a "hint" at the bottom of the first page.
Another hint is the error message you quoted. From there, I'd say you should havein your config.php.
bye, Dirk
Text Formatted Code
$_CONF['path'] = '/home/shadowru/public_html/geeklog/';
12
8
Quote
ShdwRulr
Anonymous
Config.php
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = \'localhost\'; // host name or IP address of your DB server
$_DB_name = \'shadowru_gl\'; // name of your database,
// must exist before running the installer!
$_DB_user = \'shadowru_gl\'; // MySQL user name
$_DB_pass = \'startrek\'; // MySQL password
// The table prefix is prepended to each table used be Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = \'gl_\'; // e.g. \'gl_\'
// +---------------------------------------------------------------------------+
// | (2) Paths |
// +---------------------------------------------------------------------------+
// Note for Windows users: It\'s safe to use the forward slash \'/\' instead of
// the backslash \'\' in paths. Make sure each path starts with a drive letter!
// This should point to the directory where your config.php file resides.
$_CONF[\'path\'] = \'home/shadowru/public_html/geeklog/\'; // 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\'] = \'/path/to/your/public_html/\';
$_CONF[\'path_html\'] = $_CONF[\'path\'] . \'public_html/\';
// +---------------------------------------------------------------------------+
// | (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.shadowrulers.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\';
lib-common.php
Configuration Include: You should ONLY have to modify this line.
* Leave the rest of this file intact!
*
* Make sure to include the name of the config file,
* i.e. the path should end in .../config.php
*/
require_once( \'home/shadowru/public_html/geeklog/config.php\' );
Set up
On my site, it goes something like this to config. public_html/geeklog
and it goes like this to lib-common. public_html/geeklog/public_html
I just unziped the file under the sites public_html and removed the version numbers.
8
6
Quote
Status: offline
destr0yr
Forum User
Full Member
Registered: 07/06/02
Posts: 324
are you on a shared host?
is the web server setup so that /home/shadowru/public_html/ is the DocumentRoot ?
What i would do is download the geeklog tarball into /home/shadowru/ and extract it there. It will create a geeklog-1.3.8-1 folder or something like that. copy recursively all the files into the current folder... so you\'re in /home/shadowru/, do a \"cp -R geeklog-1.3.8-1/ .\"
Hopefully now everything should be in place. the config.php will exist in /home/shadowru/config.php, index.php will be in /home/shadowru/public_html/index.php and lib-common.php will be in /home/shadowru/public_html/lib-common.php.
clear as mud? This is how i\'ve setup my geeklog\'s on multiple servers and i\'ve never had any troubles... once you have this setup, go into your config.php and set the following:
$_CONF[\'path\'] = \'/home/shadowru/\';
$_CONF[\'site_url\'] = \'http://www.shadowrulers.com\';
lib-common.php:
require_once( \'/home/shadowru/config.php\' );
assuming your running apache (and have access to the httpd.conf), set the DocumentRoot to /home/shadowru/public_html
this will keep all the important files like config.php, the system folder, plugin folder under the webroot and unaccessable to the outside world.
if anybody finds anything wrong with this correct me please!
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
5
7
Quote
ShdwRulr
Anonymous
Thanks, but I am currently running a site there. So instead of closing the site, I want to make geeklog in a sub folder in the site and then when I am done, change the index file to geeklog. I have done what u said and extracted geeklog into my public_html folder which is what is accessible by the internet. I don\'t know how to do the home/shadowru. Never heard of it before I used geeklog. Also, what is this cp -R geeklog-1.3.8-1/ ?
6
11
Quote
Status: offline
ShdwRulr
Forum User
Regular Poster
Registered: 09/13/03
Posts: 78
Ok, I figured out what was wrong. I forgot to add the / befor home. Anyways, I have it up and running but everything is coming from or going to www.examples.com/wherever it is coming from. I can\'t signing or do anything and all the pics have red x\'s
Bla bla bla
Bla bla bla
13
6
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
That would be your site url. That is the only place that example.com is used.
5
7
Quote
All times are EST. The time is now 02:46 pm.
- 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