HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   PHP problem - Wordpress (http://www.howtoforge.com/forums/showthread.php?t=15120)

spuppy 28th August 2007 07:59

PHP problem - Wordpress
 
I am trying to upgrade my Wordpress installation, but it cannot find a file, even though it is there. I'm sure this has something to do with PHP but i have no idea where to look... Here is the error that is given:
Code:

[Mon Aug 27 22:48:07 2007] [error] [client 24.83.178.245] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../wp-config.php' (include_path='.:/php/includes') in /var/www/web6/web/wp-admin/admin.php on line 5
Please help! I am stumped, and this needs to be fixed before I go live with the new server.

till 28th August 2007 10:15

Is the file wp-config.php present in the web directory of the website?

spuppy 28th August 2007 20:08

Quote:

Originally Posted by till
Is the file wp-config.php present in the web directory of the website?

Yes, that file is placed correctly. The same error message is given when it is deleted too.

falko 29th August 2007 18:17

Is the file in this directory: /var/www/web6/web/
or somewhere else?

spuppy 29th August 2007 22:32

Quote:

Originally Posted by falko
Is the file in this directory: /var/www/web6/web/
or somewhere else?

It is in the correct location

till 30th August 2007 08:08

Please post the line:

include_path

from your php.ini file. The file is most likely located in /etc/php5/apache2/php.ini or a similar directory.

spuppy 31st August 2007 22:44

I have delete the site, and re-uploaded it. It works fine now! Though this has me concerned about adding sites in the future...


All times are GMT +2. The time now is 16:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.