Forums

problem with install.php...config.php not found (30 posts)

  1. mkerby
    Member
    Posted 2 years ago #

    I am trying to run the install.php file and I am getting this error message.....typing in the web browser (hosting site/blog/wp-admin/install.php

    Warning: main(../../wordpress/wp-config.php): failed to open stream: No such file or directory in /home/content/m/k/e/mkerby67/html/blog/wp-admin/install.php on line 8

    Fatal error: main(): Failed opening required '../../wordpress/wp-config.php' (include_path='.:/usr/local/lib/php') in /home/content/m/k/e/mkerby67/html/blog/wp-admin/install.php on line 8

    I have setup the MySQL database and created and uploaded the wp-config.php on my hosting server, so I dont understand why it cant find the config file......

  2. whooami
    Member
    Posted 2 years ago #

    actually ..

  3. whooami
    Member
    Posted 2 years ago #

    You said:

    I am trying to run the install.php file and I am getting this error message.....typing in the web browser (

    hosting site/blog/wp-admin/install.php

    its looking for your config here:

    Failed opening required '../../wordpress/wp-config.php'

    which is here:

    hosting site/wordpress/config.php

    so either you mistyped what you are actually using for the url (notice you did NOT include wordpress in your url), or you have done something wrong somewhere else.

    What is the url to where you are trying to install this?

  4. mkerby
    Member
    Posted 2 years ago #

    the URL is http://www.musicscissors.com . I don't have a folder called wordpress downloaded.

  5. mkerby
    Member
    Posted 2 years ago #

  6. whooami
    Member
    Posted 2 years ago #

    is that a fantastico install?

    your config is where it belongs..

    http://www.musicscissors.com/blog/wp-config.php

  7. whooami
    Member
    Posted 2 years ago #

    open up wp-admin/install.php

    LOOK at line 8, does it say this:

    require_once('../wp-config.php');

    ?????

  8. whooami
    Member
    Posted 2 years ago #

    and what is in your .htaccess ?

  9. mkerby
    Member
    Posted 2 years ago #

    it says this......

    require_once('../../wordpress/wp-config.php');

  10. mkerby
    Member
    Posted 2 years ago #

    http://www.musicscissors.com/blog/wp-config.php

    I tried this and it said.....

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    If I cant cannot to the database that probably means I cannot install the php?

  11. whooami
    Member
    Posted 2 years ago #

    it says this......

    require_once('../../wordpress/wp-config.php');

    thats the problem, change that to what I pasted in my earlier post:

    require_once('../wp-config.php');

  12. mkerby
    Member
    Posted 2 years ago #

    Im still getting an error message????

    Warning: main(../wordpress/wp-config.php): failed to open stream: No such file or directory in /home/content/m/k/e/mkerby67/html/blog/wp-admin/install.php on line 8

    Fatal error: main(): Failed opening required '../wordpress/wp-config.php' (include_path='.:/usr/local/lib/php') in /home/content/m/k/e/mkerby67/html/blog/wp-admin/install.php on line 8

  13. whooami
    Member
    Posted 2 years ago #

    you did NOT edit the file..its telling you that.

    If you cant edit the file, delete it (wp-admin/install.php) OFF your server and upload a fresh one out of the zip.

    Thats not what the standard file looks like it, so either you or someone else has previously changed it.

    Edit it, or upload a fresh, correct copy.

    Until you do one or the other, what you see isnt going to change

  14. Kathi
    Member
    Posted 2 years ago #

    I have been getting the same problem. I have not done anything to change my set other than installed a plugin (real-wysiwyg.) I deactivated the plugin then deleted it. Earlier today the website has been opening fine. I tried uploading a "fresh" install.php file from the zip file. It did not make a difference. What could have possibly gone wrong.

    This is the error message I get.

    Warning: main(../wp-config.php): failed to open stream: No such file or directory in /home/baylands/public_html/wordpress/wp-admin/install-helper.php on line 2

    Fatal error: main(): Failed opening required '../wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/baylands/public_html/wordpress/wp-content/plugins/simpleflickr/phpFlickr/PEAR') in /home/baylands/public_html/wordpress/wp-admin/install-helper.php on line 2

    I check my (install-helper.php) file it reads as the following.

    <?php
    require_once('../wp-config.php');
    $debug = 0;

    Kathi

  15. moshu
    Member
    Posted 2 years ago #

    Not entirely clear what are you trying to do.
    Just because of a faulty plugin you do NOT have to run (re-run?) the install.php.

  16. Kathi
    Member
    Posted 2 years ago #

    I was just trying to do what was suggested above:

    If you cant edit the file, delete it (wp-admin/install.php) OFF your server and upload a fresh one out of the zip.

    I'm just getting the error message when I login. I don't know what to do. The site was find this morning then this afternoon - bad!!

    HMMMMMm

    Kathi

  17. graceong
    Member
    Posted 1 year ago #

    Hi there, I am getting the same problem too..

    Warning: require_once(../wp-config.php) [function.require-once]: failed to open stream: No such file or directory in /home/graceong/domains/graceong.com/public_html/wp-admin/update-links.php on line 2

    Fatal error: require_once() [function.require]: Failed opening required '../wp-config.php' (include_path='.:/usr/local/lib/php') in /home/graceong/domains/graceong.com/public_html/wp-admin/update-links.php on line 2

    I don't get what is wrong with the wordpress ever since i upgraded it to 2.5

  18. jonimueller
    Member
    Posted 1 year ago #

    There's a difference between UPGRADING an existing WP site and INSTALLING WP anew.

    So which are you trying to do?

    If you are upgrading, please do this to ensure the fresh files make it to your server instead of hoping that they overwrite the old files:

    1. Login to WP and disable all your plugins (or just temporarily rename the plugins folder so WP cannot find it and thinks there are no plugins, which is what we want it to think)

    2. Delete the following two folders:
    /wp-includes
    /wp-admin

    3. In your WP root, delete all files with a *.php extension EXCEPT WP-CONFIG.PHP. If you are upgrading WP needs that file.

    4. Also, in your WP root, DO NOT DELETE the .htaccess file.

    5. Now upload the latest WP from your hard drive.

    6. Type your path to WP along with /wp-admin/upgrade.php

    For example, if your WP site is at:

    http://www.mycooldomain.com/blog/

    You would type:

    http://www.mycooldomain.com/blog/wp-admin/upgrade.php

    You should now be upgraded.

  19. jordas
    Member
    Posted 1 year ago #

    Hi,

    I guess i'm having the same problem as many people here and I am still at a loss. I have not made a blog directory on my site because I want users to reach the blog immediately. The site is called http://www.furora.nl and the wordpress files are directly put in that directory. I also have the problem with the install.php that cannot be found although it should be at that adress, it just says:

    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    but the strange thing is, it is right there! To ensure it is not the config file that is causing the problem I shall publish it here:

    <?php
    // ** MySQL instellingen ** //
    define('DB_NAME', 'sjoerd-_furora'); // De naam van je database die je hebt aangemaakt voor WordPress
    define('DB_USER', 'my administrator name'); // Je MySQL gebruikersnaam
    define('DB_PASSWORD', 'my password'); // ...en wachtwoord
    define('DB_HOST', 'localhost'); // 99% kans dat je dit NIET hoeft aan te passen
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    // Change SECRET_KEY to a unique phrase. You won't have to remember it later,
    // so make it long and complicated. You can visit https://www.grc.com/passwords.htm
    // to get a phrase generated for you, or just make something up.
    define('SECRET_KEY', 'some silly dutch sentence I put in'); // Change this to a unique phrase.

    // Het is mogelijk om meerdere WordPress installaties in één database te hebben als je ze een unieke 'prefix' geeft.
    $table_prefix = 'wp_'; // Alleen getallen en nummers a.u.b.!

    I now temporarily put some html content on the site in order for it to look finished (have to present this to my customer). But I would like my wordpress to function properly

    great thanks,

    Jordas

  20. whooami
    Member
    Posted 1 year ago #

    I guess i'm having the same problem as many people here and I am still at a loss. I have not made a blog directory on my site because I want users to reach the blog immediately. The site is called http://www.furora.nl and the wordpress files are directly put in that directory. I also have the problem with the install.php that cannot be found although it should be at that adress

    No, your problem is not the same.
    Look at this:

    http://www.furora.nl/wp-includes/version.php

    --

    I, for one, would appreciate a screenshot showing the path to above wp-includes/version.php

  21. jordas
    Member
    Posted 1 year ago #

    I've tried opening http://www.futura.nl/wp-includes/version.php. It didn't work.

    You can use the following link for a screenshot of my ftp program.

    http://www.furora.nl/images/example.bmp

    hope it is of any help,

    jordas

  22. whooami
    Member
    Posted 1 year ago #

    I've tried opening http://www.futura.nl/wp-includes/version.php. It didn't work.

    Thats my point in providing the link to it.

  23. whooami
    Member
    Posted 1 year ago #

    Put an .html file in THAT same directory please. call it whatever you like, take a screenshot for me, showing that is in fact inside the same directory : wp-includes/

    then please, link to it here.

  24. jordas
    Member
    Posted 1 year ago #

    hello whooami,

    already solved the problem. Turned out it was due to some configs in the server. Another series of phone calls with the host got me running. Php wasn't switched on, which of course did make things complicated. Or more simple, it wouldn't work.

    Another problem was that the host name in the config.php had to be changed, it wasn't localhost. I of course, belong to the 1 percent who have to change this )-;
    Anyways, it is working now. (-:

    Thanks for your trouble in helping me solve the problem

    greetings,

    Jordas

  25. whooami
    Member
    Posted 1 year ago #

    great, glad to hear you got it sorted :)

  26. BobNolin
    Member
    Posted 1 year ago #

    Hello -
    Having a similar problem to the above. Here's the error when I try to run Install.php

    In browser, I type: http://www.digitalimagemagazine.com/wp-admin/install.php

    I get these errors:
    Warning: require_once(./includes/upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home2/digitbr6/public_html/wp-admin/install.php on line 10

    Fatal error: require_once() [function.require]: Failed opening required './includes/upgrade.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/digitbr6/public_html/wp-admin/install.php on line 10

    Here is the wp-config file:
    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'digitbr6_digitalimagemag'); // The name of the database
    define('DB_USER', 'username not shown'); // Your MySQL username
    define('DB_PASSWORD', 'not shown here'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    // Change SECRET_KEY to a unique phrase. You won't have to remember it later,
    // so make it long and complicated. You can visit http://api.wordpress.org/secret-key/1.0/
    // to get a secret key generated for you, or just make something up.
    define('SECRET_KEY', 'It was a hobbit hole and that means comfort'); // Change this to a unique phrase.

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_'; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');

    /* That's all, stop editing! Happy blogging. */

    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    From what I can see (not knowing PHP), it looks like it's expecting a file called Upgrade.php in the WP-Includes folder. There isn't such a file, but there IS one called Update.php. Could this be a bug? Not likely, I know...

    TIA for your help!
    -Bob

  27. whooami
    Member
    Posted 1 year ago #

    Warning: require_once(./includes/upgrade.php) [function.require-once]: failed to open stream: No such file or directory in /home2/digitbr6/public_html/wp-admin/install.php on line 10

    From what I can see (not knowing PHP), it looks like it's expecting a file called Upgrade.php in the WP-Includes folder. There isn't such a file, but there IS one called Update.php. Could this be a bug? Not likely, I know...

    No its looking for this (that path is relative to file):

    http://www.digitalimagemagazine.com/wp-admin/includes/upgrade.php

    which you can see is not there. In fact, you have neglected to upload an entire directory

    http://www.digitalimagemagazine.com/wp-admin/includes/

    -- or you didnt upload it properly, and the files are in the wrong directory.

  28. BobNolin
    Member
    Posted 1 year ago #

    Whooami -

    Boy you're quick! Yeah, I thought that I may have screwed up the upload. I will look into it. Thank you!

  29. BobNolin
    Member
    Posted 1 year ago #

    Whooami -

    Doh - that was it. Deleted all the files on the server, reuploaded it all, and voila!

    Thanks a million!

    -Bob

  30. whooami
    Member
    Posted 1 year ago #

    that was it

    No, really? :)

    Youre welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic