Welcome to Geeklog, Anonymous Saturday, November 26 2022 @ 07:38 am EST

Geeklog Forums

Moved servers, now Geeklog broken


Status: offline

uKrease

Forum User
Junior
Registered: 01/30/06
Posts: 24
Location:JHB ZA
Greetings community,

I have an old Geeklog install that I was asked to move to another server, and the process was pretty painless in setting it all up, now I am getting one error when trying to access the site.

==
Fatal error: require_once() [function.require]: Failed opening required '/var/www/site.co.za/config.php' (include_path='.:/usr/share/php:/usr/share/pear'Wink in /var/www/clients/client1/web4/web/lib-common.php on line 93
==

I read numerous articles on the site where Dirk suggested checking permissions, I looked at that and set everything to 775, I know my paths are correct in config.php, so I am wondering if this is something small I am overlooking. All directories have the correct permissions as per the install doc.

My setup :

Server : Ubuntu 9.10
Geeklog Version : 1.5 (I know its old, part of the move is to get the new server, install new Geeklog etc and upgrade everything, so it is in the pipeline to upgrade later)
PHP5 on server

Any pointers would be greatly appreciated, I have been trying to resolve this issue for over four hours now and my mind is turning to jello.

Thank you for your responses.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Something doesn't add up here. Geeklog 1.5.0 was the first Geeklog version that did not use config.php any more.

Also note that the problem is not in config.php but it's lib-common.php is complaining that it can't find config.php (but, if this is really Geeklog 1.5, it shouldn't be looking for that file anyway).

So which Geeklog version are you really on?

bye, Dirk
 Quote

Status: offline

uKrease

Forum User
Junior
Registered: 01/30/06
Posts: 24
Location:JHB ZA
Hi Dirk,

My bad...it`s 1.4

As stated the paths in config.php are filled in correctly, which is why I am lost as to what the issue could be.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: uKrease

As stated the paths in config.php are filled in correctly, which is why I am lost as to what the issue could be.


And as stated, I think you may be looking in the wrong place: Check that the path that is used in lib-common.php to find your config.php is correct.

bye, Dirk
 Quote

uKrease

Anonymous
Hi Dirk,

These are my files and dirs

root@nazgul:/var/www/ukrease.co.za# pwd
/var/www/ukrease.co.za

root@nazgul:/var/www/ukrease.co.za# ls -l
total 160
-rwxrwxr-x 1 web4 client1 198 Apr 21 17:01 INSTALL
drwxrwxr-x 2 web4 client1 36864 Apr 21 17:00 SQL
-rwxrwxr-x 1 web4 client1 1436 Apr 21 17:01 Wallback.jpg
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:37 backups
drwxrwxr-x 2 web4 client1 4096 Apr 8 17:21 cgi-bin
-rwxrwxrwx 1 web4 client1 43245 Apr 21 18:17 config.php
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:00 data
-rwxrwxr-x 1 web4 client1 509 Apr 21 17:01 emailgeeklogstories
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:00 ioncube
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:00 language
lrwxrwxrwx 1 web4 client1 38 Apr 8 17:21 log -> /var/log/ispconfig/httpd/ukrease.co.za
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:39 logs
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:00 phptmp
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:00 pics
drwxrwxr-x 20 web4 client1 4096 Apr 21 17:01 plugins
-rwxrwxr-x 1 web4 client1 4018 Apr 21 17:01 readme
drwxrwxr-x 3 web4 client1 4096 Apr 21 17:01 sql
drwxrwxr-x 2 web4 client1 4096 Apr 8 17:21 ssl
drwxrwxr-x 6 web4 client1 4096 Apr 21 17:01 system
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:01 temp
drwxrwxr-x 2 web4 client1 4096 Apr 8 17:21 tmp
drwxrwxr-x 2 web4 client1 4096 Apr 21 17:14 user
drwxrwxr-x 47 web4 client1 4096 Apr 21 17:04 web

My lib-common.php entry :
root@nazgul:/var/www/ukrease.co.za/web# pwd
/var/www/ukrease.co.za/web

root@nazgul:/var/www/ukrease.co.za/web# cat lib-common.php | grep ukrease
require_once('/var/www/ukrease.co.za/config.php'Wink;

Other setting from config.php :
$_CONF['path'] = '/var/www/ukrease.co.za/'; // should end in a slash
$_CONF['path_html'] = '/var/www/ukrease.co.za/web/';

Any ideas why this is not working ?

Thanks
Chris
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
I wonder where this is coming from "/var/www/clients/client1/web4/web/". What is the webspace`s administrative interface?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I think Markus may be on to something there. Can you try replacing

/var/www/ukrease.co.za

with the

/var/www/clients/client1/web4

from the original error message? There may be some path mapping / linking / virtualization going on there.

bye, Dirk
 Quote

Status: offline

uKrease

Forum User
Junior
Registered: 01/30/06
Posts: 24
Location:JHB ZA
In /var/www, ukrease.co.za was a symlink pointing to /var/www/clients/client1/web4/, I placed the full path instead of the symlink and it`s now working...

THANK YOU !!! Smile
 Quote

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