WordPress.org

Ready to get started?Download WordPress

Forums

Failed 1st access adm (9 posts)

  1. Nathali Gasbarro
    Member
    Posted 1 year ago #

    When I conclude that the installation and click the button "Login", the following message appears.

    Fatal error: Call to undefined function twentyeleven_get_theme_options() in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-content\themes\twentyeleven\functions.php on line 100

    What do I do?

    Thanks.

    WebSite http://www.rentalcup2014.com.br/wordpress/wordpress

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP or whatever file management application your host provides.
    http://wordpress.org/extend/themes/twentyeleven

  3. Nathali Gasbarro
    Member
    Posted 1 year ago #

    Ok, now get into the login page. Thanks.
    However after login, the following message appears:

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-login.php on line 362

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-login.php on line 374

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-includes\pluggable.php on line 680

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-includes\pluggable.php on line 681

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-includes\pluggable.php on line 682

    Warning: Cannot modify header information - headers already sent by (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1) in D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-includes\pluggable.php on line 881

    What do I do now?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    You have a problem in your site's wp-config.php file. Try reviewing Solving "headers already sent" warnings.

  5. Nathali Gasbarro
    Member
    Posted 1 year ago #

    Still can not solve.
    the problem is not only in wp-config, now also appears in pluggable.php.
    I checked if I can find the error, but I can not.
    Would if I install an older version of WordPress can I?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    No - the problem is in your wp-config.php file.

    (output started at D:\web\localuser\rentalcup2014\www\wordpress\wordpress\wp-config.php:1

  7. Nathali Gasbarro
    Member
    Posted 1 year ago #

    <?php
    define('DB_NAME', 'namedoBD');
    define('DB_USER', 'username_here');
    define('DB_PASSWORD', 'password_here');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    define('AUTH_KEY', 'put your unique phrase here');
    define('SECURE_AUTH_KEY', 'put your unique phrase here');
    define('LOGGED_IN_KEY', 'put your unique phrase here');
    define('NONCE_KEY', 'put your unique phrase here');
    define('AUTH_SALT', 'put your unique phrase here');
    define('SECURE_AUTH_SALT', 'put your unique phrase here');
    define('LOGGED_IN_SALT', 'put your unique phrase here');
    define('NONCE_SALT', 'put your unique phrase here');

    $table_prefix = 'wp_';
    define('WPLANG', 'pt_BR');

    define('WP_DEBUG', false);

    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    require_once(ABSPATH . 'wp-settings.php');
    ?>

  8. Nathali Gasbarro
    Member
    Posted 1 year ago #

    I changed the required fields. Like
    define('DB_NAME', 'changed namedoBD');
    define('DB_USER', 'changed username_here');
    define('DB_PASSWORD', 'changed password_here');
    define('DB_HOST', 'changed localhost');

  9. esmi
    Forum Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.