Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 11:46 pm EDT

Geeklog Forums

installing Geeklog 1.3.11


wlloydm

Anonymous
I have a website on godaddy.com (http://www.cicblog.com) I am trying to install Geeklog 1.3.11 which is recommended by Godaddy. Godaddy indicates that my database info is as follows:

Host Name : mysql23.secureserver.net

Type: MySQL

Status:Active

DB Name: wlloydm


User Name: wlloydm


In config.php I entered:
********
// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'mysql23.secureserver.net'; // host name or IP address of your DB server
$_DB_name = 'wlloydm'; // name of your database,
// must exist before running the installer!
$_DB_user = 'wlloydm'; // MySQL user name
$_DB_pass = '*******'; // MySQL password// The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'

********

[ I also tried – but only out of desparation]

// +---------------------------------------------------------------------------+
// | (1) Database Settings |
// +---------------------------------------------------------------------------+
$_DB_host = 'http://www.mysql23.secureserver.net'; // host name or IP address of your DB server
$_DB_name = 'wlloydm'; // name of your database,
// must exist before running the installer!
$_DB_user = 'wlloydm'; // MySQL user name
$_DB_pass = '*******'; // MySQL password
// The table prefix is prepended to each table used by Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'gl_'; // e.g. 'gl_'



********


When I run : http://www.cicblog.com/cgi/geeklog-1.3.11/public_html/admin/install/install.php


I get (at the bottom)

Installation Type: New Database Upgrade Database
Path to Geeklog's config.php:

Hint: The complete path to this file is /home/content/w/l/l/wlloydm/html/cgi/geeklog-1.3.11/public_html/admin/install/install.php
and it appears your Path to Geeklog is /home/content/w/l/l/wlloydm/html/cgi/geeklog-1.3.11


When I go to the next page I get the error message:


Warning: main(databases/.class.php): failed to open stream: No such file or directory in /home/content/w/l/l/wlloydm/html/cgi/geeklog-1.3.11/system/lib-database.php on line 114

Fatal error: main(): Failed opening required 'databases/.class.php' (include_path='.:/usr/local/lib/php'Wink in /home/content/w/l/l/wlloydm/html/cgi/geeklog-1.3.11/system/lib-database.php on line 114



The closest thing in the help file I can find:

*******
Warning: main(some/path/to/system/databases/mysql.class.php): failed to open stream: No such file or directory in /path/to/your/system/lib-database.php on line 110

Fatal error: main(): Failed opening required 'some/path/to/system/databases/mysql.class.php' (include_path='.:/some/other/path/'Wink in /some/path/to/system/lib-database.php on line 110

(line numbers may vary)

Answer:

The path that you've entered for the $_CONF['path'] variable in config.php is not correct. Make sure you typed it correctly. Also make sure it uses an absolute path, i.e. one that starts at the root of your file system (and that it starts with a / under Unix/Linux or a drive letter under Windows).

*******

I am new at this.

Can anyone help?

Wlloydm (lloyd@cicblog.com)

 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
publishing your username and password is an extremely bad idea! Shocked
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Well, I'm not a server specialist, but:
http://www.cicblog.com/cgi/geeklog-1.3.11
Geeklog is a PHP script, so I guess it's better not to put it in your CGI (Perl) directory and it's also better not to use dots in a directoryname.

So call it something like http://www.cicblog.com/gl/

Can't you put it a directory lever higher, in /home/content/w/l/l/wlloydm/ ?

The path to config.php would be /home/content/w/l/l/wlloydm/

The public_html files would have to be put in /home/content/w/l/l/wlloydm/html/

I also think that your hostname is incorrect, try just 'localhost'

And take care of publishing your db username and password, a few hundred/thousand people will know them by now......

Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

wlloydm

Anonymous

Thanks. I noticed it as soon as I submitted the listing and changed it.

Also, I tried the above suggestions - changed teh directory to gl and localhost name to 'localhost'

but still get the same error message
 Quote

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
One problem it looks like you have is that you should not have edit the config.php variable

$_DB_dbms

That needs to be set to 'mysql' and not altered (Gl doesn't support other databases).

-Vinny

Also, I removed the passwords from your original post.
 Quote

All times are EDT. The time is now 11: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