• I just upgraded to the latest version of wordpress.

    Deleted the wp-admin and includes directories and manually
    copied over the content folder.

    I then went to https://example.com/wordpress/wp-admin/upgrade.php
    (replaced “example.com” with my url)

    and was given the following error:

    There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    Create a Configuration File

    I have upgraded WordPress many times and on several occasions
    have run into this error message. I can’t remember how I resolved it in the past.

    My website works fine, but I am worried that it is not upgraded unless I do that above step.

    Please help

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter ynotme

    (@ynotme)

    Also,

    When I look in the main directory, the “config.php” file is clearly there, and it clearly shows all of my database information.

    Why is this?

    My website works fine

    then in the footer of your admin panel you can see what version is running.

    Thread Starter ynotme

    (@ynotme)

    I just noticed that I have a “wordpress” folder in my main directory on the server….

    Should there be a “wordpress” folder in the main directory of the site?

    It is showing the wp-admin,wp-content,wp-includes folders….

    I am thinking that there should not be a “wordpress” folder in the main drectory. But, when looking at the instructions given on the upgrade page it clearly states to goto:

    https://example.com/wordpress/wp-admin/upgrade.php

    Thread Starter ynotme

    (@ynotme)

    Ok this just keeps getting weirder….

    I just went to log into my admin control panel and got the “upgrade” page. clicked “upgrade” and now I am running 2.6.2

    Why is this?

    If your blog address is example.com/wordpress – then yes, you need a subfolder with that name.
    If your blog is at example.com – you don’t need to have a “wordpress” folder… unless your blog has been set up using thsi method:
    Giving_WordPress_Its_Own_Directory

    may be stupid but you say the config.php is there is asking for wp-config.php

    The whole process is quite confusing starting from here:

    Deleted the wp-admin and includes directories and manually
    copied over the content folder
    .

    Why would anybody copy over anything?
    According to the upgrading guide you don’t need to copy anything, just delete what is su7pposed to be deleted and upload the new files and folders.

    Thread Starter ynotme

    (@ynotme)

    Ok I am confused regarding the WordPress folder in the main directory.

    here is the reason why:

    In the WordPress folder in the main directory (https://example.com/wordpress) on my server I notice the following folders:

    Wp-admin
    Wp-content
    Wp-includes

    along with a bunch of files like index.php etc.

    Now, when I go up one directory (https://example.com/)
    The same folders exist:

    Wp-admin
    Wp-content
    Wp-includes

    and index.php and the rest of the files.

    I think this is more of a case of “please help me clean up my crappy install” than anything else.

    Why are there duplicate folders and which ones should I delete?

    I have a .htaccess file in the wp-admin folder to disallow all ip addresses except for my own. I have the .htaccess file in the Wp-admin folder in the MAIN directory, not in the https://example.com/wordpress/wp-admin directory.

    Thanks for all your help.

    I just did a crappy first install over 2 years ago and have not realized that I need to clean it up.

    Thread Starter ynotme

    (@ynotme)

    anyone?

    Why are there duplicate folders

    Because you uploaded them.

    and which ones should I delete?

    Since it appears you want WP installed at https://yoursite.com/wordpress, then you should delete the duplicate files that are in your root.

    OK

    Firstly, can you remember what the URL to your blog page was before … was it “https://wwww.example.com/”, or was it “https://www.example.com/wordpress”?

    If it was https://www.example.com … then you need to ensure that the newest files are in the root – so you’ll have folders such as wp-admin & files such as index.php & wp-config.php in the root.
    The upgrade file is https://www.example.com/wp-admin.php

    If, however, it was https://www.example.com/wordpress before, then you’ll need to have the new files in the wordpress folder.

    What I suspect has happened is that you’ve put the *new* files in the WordPress folder (probably because you uploaded the folder you just downloaded & unzipped, rather than its contents). The old files (and the wp-config) is still in the root … so, the new files can’t find the old wp-config.

    I’d be inclinded to download (not delete!) the cotnents of the WordPress folder to your computer.

    Then delete the folders that you had to (or, better also download them!). Now, upload your new files, making sure that things like the wp-config files are where they should be (i.e. directly in the root alongside index.php).

    This time, however, DON’T put “wordpress” in the URL, just go to “yoursite.com/wp-admin/upgrade.php”

    Thread Starter ynotme

    (@ynotme)

    OK

    Firstly, can you remember what the URL to your blog page was before … was it “https://wwww.example.com/”, or was it “https://www.example.com/wordpress”?

    If it was https://www.example.com … then you need to ensure that the newest files are in the root – so you’ll have folders such as wp-admin & files such as index.php & wp-config.php in the root.
    The upgrade file is https://www.example.com/wp-admin.php

    If, however, it was https://www.example.com/wordpress before, then you’ll need to have the new files in the wordpress folder.

    What I suspect has happened is that you’ve put the *new* files in the WordPress folder (probably because you uploaded the folder you just downloaded & unzipped, rather than its contents). The old files (and the wp-config) is still in the root … so, the new files can’t find the old wp-config.

    I’d be inclinded to download (not delete!) the cotnents of the WordPress folder to your computer.

    Then delete the folders that you had to (or, better also download them!). Now, upload your new files, making sure that things like the wp-config files are where they should be (i.e. directly in the root alongside index.php).

    This time, however, DON’T put “wordpress” in the URL, just go to “yoursite.com/wp-admin/upgrade.php”

    My blog is my website. It is located at https://www.Example.com

    Ok will try to delete the files (after I back them up) in the “wordpress” folder……

    Here is what I think happened. I think I uploaded the “WordPress” folder to my root when I did my first upgrade. This in and of itself is confusing WordPress whenever I try to upgrade and this is why it is giving an error?

    Thanks again for you all of your help !!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Issue upgrading’ is closed to new replies.