Posted on: 04/22/10 02:38am
By: uKrease
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'
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.
Re: Moved servers, now Geeklog broken
Posted on: 04/22/10 06:38am
By: Dirk
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
Re: Moved servers, now Geeklog broken
Posted on: 04/22/10 08:16am
By: uKrease
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.
Re: Moved servers, now Geeklog broken
Posted on: 04/22/10 01:16pm
By: Dirk
Quote by: uKreaseAs 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
Re: Moved servers, now Geeklog broken
Posted on: 04/23/10 02:32am
By: Anonymous (uKrease)
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'
;
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
Re: Moved servers, now Geeklog broken
Posted on: 04/23/10 06:31pm
By: 1000ideen
I wonder where this is coming from "/var/www/clients/client1/web4/web/". What is the webspace`s administrative interface?
Re: Moved servers, now Geeklog broken
Posted on: 04/24/10 03:54am
By: Dirk
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
Re: Moved servers, now Geeklog broken
Posted on: 04/26/10 02:30am
By: uKrease
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 !!!