Welcome to Geeklog, Anonymous Friday, September 20 2024 @ 12:06 am EDT

Geeklog Forums

install error probably related to path


Status: offline

bluep1x1e

Forum User
Newbie
Registered: 07/02/04
Posts: 9
hopeful
Hi,
I get these errors when I try to install:


Warning: main(geeklog/system/databases/mysql.class.php): failed to open stream: No such file or directory in C:wwwwebrootgeeklogsystemlib-database.php on line 110

Fatal error: main(): Failed opening required 'geeklog/system/databases/mysql.class.php' (include_path='.;c:php4pear') in C:wwwwebrootgeeklogsystemlib-database.php on line 110

I am guessing that It might be a path or maybe permissions? I lloked to see where line 110 is and am not sure what the problem is. ANy help is appreciated!
OK the slashes are being removed from some of the paths but they are there in the error!
Thanks!!!
 Quote

Status: offline

bluep1x1e

Forum User
Newbie
Registered: 07/02/04
Posts: 9
sleepy
Is this line 110?

require_once($_CONF['path_system'] . 'databases/'. $_DB_dbms . '.class.php');
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The $_CONF['path'] should be an absolute path, i.e. in your case, it should start with C: and include all the directories up until your Geeklog directory.

bye, Dirk
 Quote

Status: offline

bluep1x1e

Forum User
Newbie
Registered: 07/02/04
Posts: 9
I found this line in conf.php:

$_CONF['path_system'] = $_CONF['path'] . 'system/';

Is this where I make the change?

Or do I make a hardcoded change at line 110?

thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Fix your $_CONF['path'] as explained above and leave all the other lines alone.

bye, Dirk
 Quote

Status: offline

bluep1x1e

Forum User
Newbie
Registered: 07/02/04
Posts: 9
cheerful
Thanks, that fixed the problem.

I continued and got to the success page. I could see success.php in the browser path but I didn't get a message in the browser body. Is that ok?

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by bluep1x1e: I could see success.php in the browser path but I didn't get a message in the browser body. Is that ok?

No, of course not.

Does your site work (i.e. what happens when you go to the start page)?

You may have a parse error somewhere (e.g. in lib-common.php). Make sure that you've changed that one lin in lib-common.php properly (path enclosed in single quotes, line ends with a semicolon) and also check for other popular problems.

If it's your own server, try to change the php.ini so that it actually displays error messages or see if your webserver's logfiles (error_log for Apache) has more information.

bye, Dirk
 Quote

Status: offline

bluep1x1e

Forum User
Newbie
Registered: 07/02/04
Posts: 9
yep, it was in that lib file. I didn't have the full path.
Thanks so much, I got the screen!
 Quote

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