• Resolved pursuitofhippieness

    (@pursuitofhippieness)


    I was trying to edit my coding for something pretty trivial (thumbnails for posts) in my function.php files and once I hit save, I was no longer able to see or access anything. I don’t know if it’s a coding issue or glitch, but I can’t even access my dashboard or admin or anything. It all comes up as a blank page, including my site: https://pursuitofhippieness.com

    I am at a complete loss of what to do because how I can I remedy the problem when I can’t even access my files anymore?

    If my site is suddenly invisible I’m losing tons of traffic and I really need to fix this ASAP.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your website isn’t blank for me.
    I’m using Windows XP, Google Chrome 21.0.

    Use an FTP client such as FileZilla or your host provided File Manager to remove the errant code from the file.

    Your edits caused a PHP fatal syntax error. When this happens usually the only way to recover is to rename the theme directory so WordPress will deactivate it and revert to the default theme. Its much safer to work on the files in a code editor and either open the file in the editor and do ctrl a delete then paste your entire edited file back in or upload it via ftp.

    Thread Starter pursuitofhippieness

    (@pursuitofhippieness)

    So how do I rename the theme directory? And how will I know that WordPress has deactivated it, or is it an automatic kind of thing?

    Thank you so much!

    Like Seacoast said, use an FTP client. You need to rename your theme folder in wp-content/themes. As long as you have the default theme, WordPress will switch to it automatically. You’ll know when your site comes up, although with a different theme.

    To properly fix the issue, you have to edit the errant code in the functions.php of your theme.

    Thread Starter pursuitofhippieness

    (@pursuitofhippieness)

    Thank you for all your help! I was able to follow what you said and can now access my files.

    The only issue now is that whenever I try to change it back to my default theme, Pilcrow, the blank pages reappear so I can’t go in and remove the bad coding that caused it to come up blank in the first place. Any suggestions?

    Thanks!

    Fix the bad code using FTP.

    Download the files, fix them, then upload them again.

    Thread Starter pursuitofhippieness

    (@pursuitofhippieness)

    I’m all set! Thank you all so much, you’ve been so helpful!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can't access anything- urgent’ is closed to new replies.