• I am trying to help a friend out with her site. It has been out of maintenence for quite a while and I do not know the wp-version or anything. When I try to log in I get the following error message:

    Deprecated: Assigning the return value of new by reference is deprecated in /home/annasand/public_html/wp-settings.php on line 520

    Deprecated: Assigning the return value of new by reference is deprecated in /home/annasand/public_html/wp-settings.php on line 535

    Deprecated: Assigning the return value of new by reference is deprecated in /home/annasand/public_html/wp-settings.php on line 542

    Deprecated: Assigning the return value of new by reference is deprecated in /home/annasand/public_html/wp-settings.php on line 578

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/annasand/public_html/wp-settings.php on line 18

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-login.php on line 255

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-login.php on line 267

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-includes/pluggable.php on line 649

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-includes/pluggable.php on line 650

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-includes/pluggable.php on line 651

    Warning: Cannot modify header information – headers already sent by (output started at /home/annasand/public_html/wp-settings.php:520) in /home/annasand/public_html/wp-includes/pluggable.php on line 850

    Can I download the site via ftp ?
    Which files should I look for?
    I am new to WP so I do not know the file structure.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to first determine what version of WordPress is being used – which can be determined by the database version number. This number is stored in the wp-options table under the option name db_version. Once you have that number, let us know and we’ll be able to tell you what version of WP you need to re-upload.

    Thread Starter anx

    (@anx)

    version.php looks like this:
    <?php
    /**
    * This holds the version number in a separate file so we can bump it without cluttering the SVN
    */

    /**
    * The WordPress version string
    *
    * @global string $wp_version
    */
    $wp_version = ‘2.7.1’;

    /**
    * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
    *
    * @global int $wp_db_version
    */
    $wp_db_version = 9872;

    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘can not log in to wp-admin’ is closed to new replies.