Welcome to Geeklog Saturday, July 11 2020 @ 11:25 am EDT

Geeklog Forums

Lib-common install error


Megalo

Anonymous
hopeful
I get this error when I go to the site:

Warning: main(/path/to/geeklog/config.php): failed to open stream: No such file or directory in /home/nes/public_html/home/lib-common.php on line 69

Fatal error: main(): Failed opening required '/path/to/geeklog/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nes/public_html/home/lib-common.php on line 69
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
If it really says "/path/to/geeklog" there, may I suggest that you read the installation instructions again? You have to make a change in lib-common.php ...

bye, Dirk
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
Step 6 of the Installation Instructions.

You didn't fix the path.
 Quote

Megalo

Anonymous
blah
ok i fixed that, but now i get this error:

Warning: main(classes/timer.class.php): failed to open stream: No such file or directory in /home/nes/public_html/home/lib-common.php on line 113

Fatal error: main(): Failed opening required 'classes/timer.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nes/public_html/home/lib-common.php on line 113
 Quote

Megalo

Anonymous
angry
I checked out line 113 in lib-common.php and it says:

require_once( $_CONF['path_system'] . 'classes/timer.class.php' );

Above that line it also says that I shouldn't have to edit anything below.

How do I fix this problem?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
Now it looks like $_CONF['path'] is not set. Please, read through the install instructions.
 Quote

Megalo

Anonymous
I read the Upgrade Install and I did what it said. Also the lib-common.php file says I only have to edit ONE line in the file. And I did that. Yet I'm getting the error that i posted above. I suppose I'm not very good at this... Frown
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 12/01/03
Posts: 445
lazy
/me comforts megalo Wink

You coul read my post in this thread about setting pathes in config.php.

geKow (lazy)
 Quote

Megalo

Anonymous
I did the paths but now i get THIS error:

Warning: mysql_connect(): Access denied for user: 'username@localhost' (Using password: YES) in /home/nes/public_html/home/system/databases/mysql.class.php on line 108
Cannnot connect to DB server
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
If you only did an upgrade, then you probably didn't update the new config.php file with all of your old settings. Make sure you do. And don't just copy your old config.php file over, because that probably won't work.

(That includes your database settings)
 Quote

Megalo

Anonymous
ok now it get a template error. How do I know how much of the path to put in?

/home/layout/XSilver/layout/XSilver is not a directory.
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
Now your theme is incorrect. Ok, this is an upgrade, right?

Step 1: Open your old config.php
Step 2: Open your new config.php
Step 3: For every entry in your old config.php, make sure you have a corresponding entry in your new config.php
 Quote

Megalo

Anonymous
alrighty, the stuff corresponds now.

I opened the page and it said i had a sql error. I checked my error log and it says:

Table 'nes_gklg1.gl_syndication' doesn't exist.
 Quote

megalo

Anonymous

do i need to make another table or what?
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 20/10/03
Posts: 807
You need to follow the installation instructions. Please.

...

Run the upgrade script.
 Quote

Megalo

Anonymous
it worked! thanks a lot. I didn't read the part hwere i had to run the install script. Thank for your toleration for my dumbass.
 Quote

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