Forums

[resolved] Fatal error: Cannot redeclare require_wp_db (16 posts)

  1. WHAMI.ORG
    Member
    Posted 1 year ago #

    I was upgradeing my version of WordPress and something happened. This is the message I get now when I go to my site (www.whami.org:

    Fatal error: Cannot redeclare require_wp_db() (previously declared in /mnt/r0108/d31/s33/b0270626/www/wp-includes/load.php:323) in /mnt/r0108/d31/s33/b0270626/www/wp-includes/functions.php on line 3096

    I have searched for a solution and found a thread somewhat describing my problem...but no solution was made. Here is that thread: http://wordpress.org/support/topic/fatal-error-cannot-redeclare-require_wp_db?replies=7

    I cannot login to my dashboard to access anything. I use netfirms as my host. I do not have FTP. Is there anyway to just delete the old upgrade & take it down to the twentyten theme & keep my regular content? I can then start over or is there a fix to this code so I can get in to re-install the upgrade? I know I sound rather desperate - as we all are when we are asking for help...but I really appreciate any help I can get. Website: http://www.whami.org

    Thank you in advance

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Your upgrade did not complete successfully.

    Try:
    - switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

    - re-running the upgrade manually using wp-admin/upgrade.php.

  3. WHAMI.ORG
    Member
    Posted 1 year ago #

    I cannot login to my wordpress page....so I cannot do the phpMyAdmin & I do not have FTP.

    Any other ideas?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You do not need to login to carry out any of the suggestions I gave.

  5. WHAMI.ORG
    Member
    Posted 1 year ago #

    How do I do this step "- re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress." without http://FTP...do I need to do them individually (which will take forever?)

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    If you don't have access to FTP, what file management application do your hosts offer?

  7. WHAMI.ORG
    Member
    Posted 1 year ago #

    I have a file manager through netfirms. But I don't have the account that allows for FTP. An account that has FTP costs $215 for 2 yrs, verses the basic we have at $120 for 2 years. It is for a ministry...trying to keep overhead costs down to a minimum.

  8. WHAMI.ORG
    Member
    Posted 1 year ago #

    I have completed everything up to the last 2 steps:

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

    - re-running the upgrade manually using wp-admin/upgrade.php.

    BTW-THANK YOU! I do not know if you get paid to do this or not. But I really do appreciate it! You have no idea!

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I have a file manager through netfirms

    In theory, you should just be able to use this instead of FTP.

    I do not know if you get paid to do this or not.

    That would "not". The entire forum is staffed by unpaid volunteers.

    But I really do appreciate it! You have no idea!

    We try to do our bit to help. :-)

  10. WHAMI.ORG
    Member
    Posted 1 year ago #

    So - this file manager that I have, it doesn't do an upload of all files & folders. I have to manually go to each file and upload it through each & every folder as well. Is there another way to do this?

    Am I replacing the orignals with the new?

  11. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    The only thing I can suggest is that you contact your hosts for assistance. You do need to be able to upload files & folders.

  12. WHAMI.ORG
    Member
    Posted 1 year ago #

    Ok - so now I can upload the files. I need to replace all of the files & folders except the wp-content folder. Right?

  13. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Correct.

  14. WHAMI.ORG
    Member
    Posted 1 year ago #

    gOT IT WORKING!!!

    Thank you so much!!! Really.

  15. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Glad to hear that you finally got it sorted. :-)

  16. agtile
    Member
    Posted 1 year ago #

    Worked for me 2, make sure you do not replace your wp-config.php file besides the wp-content folder.

Topic Closed

This topic has been closed to new replies.

About this Topic