Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 01:27 pm EST

Geeklog Forums

Problem with installing


mogsub

Anonymous
hi there,

After I installed the Geeklog and I tried to go to the index.php file I got the following error message:

Fatal error: Failed opening required 'c:/apache/htdocs/geeklog/' (include_path='.;c:php4pear') in c:apachehtdocsgeeklogpublic_htmllib-common.php on line 65

The directory for the php is c:/php and not c:/php4

What am I doing wrong? Please help!

thanks!

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Looks like you forgot to add the "config.php" file name when you changed the require_once() line in lib-common.php. Please note that this line should contain the complete path and file name of your config.php, not just the path to it. bye, Dirk
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
I'm also having the same problem except mine is for Win2KPro. Here the error.. Parse error: parse error, unexpected T_STRING in C:MyPortalMygeeksconfig.php on line 88 Fatal error: Failed opening required 'databases/.class.php' (include_path='.;c:php4pear') in C:MyPortalMygeekssystemlib-database.php on line 109 Not sure what's wrong with it. I've checked the path per your suggestion and everything seems to be ok? Please advise? Thanks..
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
I'm guessing somehow that the (include_path='.;c:php4pear') Is not being set correctly but I'm not sure where to set it. I know that my path for the PHP should be somewhere else. not sure whether this is what cause the problem though. Please help? Thanks
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
I found out what the problem is (I guess?). require_once($_CONF['path_system'] . 'databases/'. $_DB_dbms . '.class.php'); the.class.php in lib-database.php doesn't exist. I replaced it with mysql.class.php require_once($_CONF['path_system'] . 'databases/'. $_DB_dbms . 'mysql.class.php'); It works but now it gives me a different problem.. Parse error: parse error, unexpected T_STRING in C:MyPortalMygeeksconfig.php on line 88 Template Error: set_root: install_templates is not a directory. Halted. Boy this is tough... But I will get it up and running. With one of your help... :-) Thanks in advance..
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You're trying to fix things in the wrong place. Please revert your changes to lib-database.php The error you're getting indicates a problem in config.php somewhere around line 88. Line 87 is the one for $_CONF['site_url'], so my guess is you did not enclose the URL in single quotes ' or the line does not end in a semicolon. bye, Dirk
 Quote

Status: offline

thedude

Forum User
Regular Poster
Registered: 12/28/02
Posts: 90
Thanks dude.. You are right. I revert the change in lib-database.php and take a look at line 87, 88 and I found out that in my $_CONF['site_name'] ' ' I have extra ' in it.. Duh...... Sometime something that's so obvious doesn't look that obvious when you had starred at it for too long. Thanks again dude... Cheers.. The Dude
 Quote

All times are EST. The time is now 01:27 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