WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Website down (4 posts)

  1. monsieurandmoi
    Member
    Posted 1 year ago #

    Hi,

    My domain is - http://www.monsieurandmoi.com

    I added a piece of code into functions to try and add a read more link...

    The website will not load and neither will the admin panel..

    If anyone would no why please advise me....

    Thankyou in advance

  2. monsieurandmoi
    Member
    Posted 1 year ago #

    I accessed functions.php and this is what is says:

    <?php
    /**
    * Administration Functions
    *
    * This file is deprecated, use 'wp-admin/includes/admin.php' instead.
    *
    * @deprecated 2.5
    * @package WordPress
    * @subpackage Administration
    */

    _deprecated_file( basename(__FILE__), '2.5', 'wp-admin/includes/admin.php' );

    /** WordPress Administration API: Includes all Administration functions. */
    require_once(ABSPATH . 'wp-admin/includes/admin.php');

  3. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Did you change the functions file in your theme?

    If so, you'll need to use FTP to deactivate the theme you messed up and then reinstall the theme or replace the file you messed up. You can do so by changing the name on the theme's folder -

    wp-content
        themes
            fashionistas.HOLD
  4. monsieurandmoi
    Member
    Posted 1 year ago #

    Thanks WPyogi I got the website backup as I just took out the code from the fucntions code I was using.

    Somehow when I reauploaded a file the directory has messed up and I cannot activate/deactive or search for plugin...

    I reuploaded the whole wp-admin again.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic