Viewing 15 replies - 1 through 15 (of 19 total)
  • Sounds like this is probably related to your earlier thread here?

    http://wordpress.org/support/topic/remove-vigkinks-from-wordpresscode-is-not-there?replies=4

    Please also do not post in all caps – it’s considered yelling and is against the forum rules.

    Thread Starter sjrsbe

    (@sjrsbe)

    Now the site itself down…..Help me!!

    Thread Starter sjrsbe

    (@sjrsbe)

    sorry…i.m a newbie….Hereafter i wont post all in caps..

    Moderator cubecolour

    (@numeeja)

    The ‘white screen of death’ you can see on your site can be caused by a PHP syntax error, sometimes something as seemingly trivial as a missed semicolon at the end of a line or an open quote.

    Did you edit any of the php files before the site went down? If so did you make a backup before editing. If so, restore the file you edited from your backup using FTP. If not, download the zip of the theme or plugin you edited, unzip it to your computer and restore the file you edited using FTP.

    ok so after you deactivated all the plugins, what did you do next?

    Thread Starter sjrsbe

    (@sjrsbe)

    I did below thing to remove website option in comment section as i am receiving lot of spam comments…..

    Copied & pasted PHP snippet below to my functions.php file….Then everything gone….

    function remove_comment_fields($fields) {
    unset($fields[‘url’]);
    return $fields;
    }
    add_filter(‘comment_form_default_fields’,’remove_comment_fields’);

    i dont have any backup……..please help!!

    Moderator cubecolour

    (@numeeja)

    Connect to the site using FTP and restore the functions.php from a fresh copy of the zip

    Thread Starter sjrsbe

    (@sjrsbe)

    May i know please how to Connect to the site using FTP??

    Moderator cubecolour

    (@numeeja)

    you need an ftp client such as filezilla configured to connect to your site files. Ask your hosting company for your ftp connection details if you don’t know them. See: http://codex.wordpress.org/FTP_Clients

    Thread Starter sjrsbe

    (@sjrsbe)

    yep…i logged in to http://FTP..

    ftp://newspapersonlinefree.com/wp-admin/

    searched for functions.php

    But i able to see only upgrade-functions.php & admin-functions.php

    Moderator cubecolour

    (@numeeja)

    functions.php is part of your theme. In your theme, look inside wp-content/themes/your-theme

    When making changes using a child theme is recommended rather than editing the theme’s files directly.

    Thread Starter sjrsbe

    (@sjrsbe)

    Logged in to filezilla & able to access the site files…

    How i can do this??
    restore the functions.php from a fresh copy of the zip

    R u referring wp-admin.zip?…Will you please guide me??

    Thread Starter sjrsbe

    (@sjrsbe)

    which is the duplicate copy & its location?

    Also may i know which one is fresh copy & its location?

    What theme are you using? You need to get new copy of the file from a new download of the theme or a backup copy of it before you changed it.

    If it’s a theme from this site, find it via this page:

    http://wordpress.org/themes/

    Thread Starter sjrsbe

    (@sjrsbe)

    advanced newspaper is the theme i am using..

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Unable to access site’ is closed to new replies.