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'
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/'
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)
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......
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.