WordPress.org

Forums

[resolved] Error msg - can no longer access dashboard or website (11 posts)

  1. Cloak
    Member
    Posted 2 years ago #

    I need help ASAP!! I was trying to add some code to functions.php, and it didn't seem to work so I removed the code.

    HOWEVER, now I get an error message when I try to access my website (cloakandcurio.com) and my wp-admin dashboard.

    I need to get this site up this weekend and everything was set to go. Is there someone who can help me?? I read that I should reload functions.php, but I can't even access the plugin editor in order to do this through my dashboard.

    I'm feeling a little bit desperate at the moment, so any help would be greatly appreciated!

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Deactivate all plugins and revert to Twenty Eleven theme. Use FTP or your hosting control panel to deactivate (rename to old) plugins and themes except Twenty Eleven.

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Try switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    Once you have access to your site again, try re-uploading your chosen theme.

  4. Cloak
    Member
    Posted 2 years ago #

    Thank you both for replying so quickly. I hate to even ask the question, but will I lose all the products and images that I already uploaded to my site?

    I feel ill.

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    No - they should remain in your site's database.

  6. Cloak
    Member
    Posted 2 years ago #

    Ok...I feel a bit better. I think I need your help a bit more if you have a moment, @ esmi.

    I found wp-content/themes in my host's file management application. It looks like I can select my current theme and just reload it. Would this also work to fix my broken functions.php?

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Yes but I would suggest that you delete the theme's folder within wp-content/themes before uploading a fresh copy. Sometimes over-writing doesn't always work.

  8. Cloak
    Member
    Posted 2 years ago #

    I FIXED IT!!!!!

    @ esme - you led me in the right direction, but I tried something a little different.

    I uploaded the original functions.php from my computer to my host's file management application and overwrote the file that I screwed up. I can now see my site again and I can access my dashboard.

    Thank you for helping me out!

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    Glad I could help. :-)

  10. binreallife
    Member
    Posted 2 years ago #

    how do you switch to Twenty Eleven if you can't access the site at all?

  11. thebluegger
    Member
    Posted 2 years ago #

    Maybe this will help you to

    switch back to default theme.

Topic Closed

This topic has been closed to new replies.

About this Topic