Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:29 pm EST

Geeklog Forums

Corrupt lib-common.php


Status: offline

ebizbuys

Forum User
Newbie
Registered: 03/18/05
Posts: 5
Hi all,

I had a corrupt lib-common.php file so I downloaded a new one. Once uploaded the site is fine but my plug-ins are now not working. I have weather and gallery 1.5. Both times i get the following errors:

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

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


It sounds like a path problem but I have checked and my config.php and lib-common.php are both in the same directory and all pathes seem right.

What could be wrong?
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Is the version of lib-common.php the same as the version of your installed Geeklog?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

ebizbuys

Forum User
Newbie
Registered: 03/18/05
Posts: 5
yep 1.3.11 for both
 Quote

Status: offline

ebizbuys

Forum User
Newbie
Registered: 03/18/05
Posts: 5
actually a closer look:

lib-common version is:
$Id: lib-common.php,v 1.408 2004/12/29 08:43:37 dhaun Exp $

config:
$Id: config.php,v 1.148 2004/12/31 10:33:31 dhaun Exp $

Not sure if they are conflicting versions now??? When I downloaded they were 1.3.11 for both - I thought.
 Quote

Status: offline

ebizbuys

Forum User
Newbie
Registered: 03/18/05
Posts: 5
actually got it worked out. How embarrassment mate was wrong path. Didnt have full absolute path included. My fault.

Huhh all those times I have read posts from people that seemed like it was an obvious installation error and someone was just being lazy and not reading documentation fully, so just relying on poor old Dirk and friends and I go and do the same thing.

Sorry ll but thanks beewee you got me thinking more clearly....
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ebizbuys: my config.php and lib-common.php are both in the same directory

This is a bad thing, btw. praying it will work

bye, Dirk
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Didnt have full absolute path included
Something similar happened to me a few days ago as well....and it was only about the 10th time I installed GL...but why did you install GL in a public directory? Only the files in the public_html directory should be placed there, the rest should be in /home/mwaus/
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

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