Support » Fixing WordPress » My site won't load

  • Resolved ElisaEsky

    (@elisaesky)


    My website suddenly stopped working today. It was working earlier, then suddenly the website won’t load (will only show a white page) and the same thing happens when I try to access the admin page. The website is
    http://cncrouterstore.ca/

    Please help!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try checking your site’s error logs for messages. Your hosts should be able to help you accessing your site’s error logs.

    I’m getting in contact with them now, but is there anything I can do on my own while I’m waiting? One of my team members tried to update some code, hit “update file” and that’s when the website stopped loading. Is this a common problem?

    esmi

    (@esmi)

    Forum Moderator

    One of my team members tried to update some code

    It might have been helpful to know that previously. What code was s/he trying to update? Theme? Plugin?

    She was trying to add “checkout field editor” code to the functions.php.

    The code was:

    /**
     * Add the field to order emails
     **/
    add_filter('woocommerce_email_order_meta_keys', 'my_woocommerce_email_order_meta_keys');
    
    function my_woocommerce_email_order_meta_keys( $keys ) {
    	$keys['How did you hear about us?'] = 'hear_about_us';
    	return $keys;
    }

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    She followed this website instruction: http://docs.woothemes.com/document/add-a-custom-field-in-an-order-to-the-emails/

    esmi

    (@esmi)

    Forum Moderator

    Try switching to the default 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.

    Worked, thanks so much!!

    Thanks @esmi, that worked for me too. I don’t know what caused it to break that way though, I haven’t done anything on the site in awhile.

    Hi – this problem has just happened to me! Please help! @esmi, I don’t know how to switch the default theme as I can’t even log in to the admin area

    HELP!!! My site does not load as well!!!

    http://www.LaSeanRinique.com

    What do I do???

    Probably best if you start a new thread and say a bit more about your problem.

    What theme, WP version. What were you doing immediately before the problem. That kind of thing

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘My site won't load’ is closed to new replies.