WordPress.org

Ready to get started?Download WordPress

Forums

cant see admin page (13 posts)

  1. issieparis
    Member
    Posted 5 years ago #

    Hi i've working with wordpress a week ago but suddenly i cant sign in into de admin panel.... i get this:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-login.php on line 287

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-login.php on line 299

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-includes/pluggable.php on line 671

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-includes/pluggable.php on line 672

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-includes/pluggable.php on line 673

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhost/visual.gi/home/html/blog/wp-content/themes/Visual/functions.php:30) in /var/www/vhost/visual.gi/home/html/blog/wp-includes/pluggable.php on line 865

  2. Joshuwar
    Member
    Posted 5 years ago #

    Have you tried reuploading the core files (ie. everything except the wp-content folder)?

  3. issieparis
    Member
    Posted 5 years ago #

    everything except the themes folder?... ummm ill try thanks

  4. Joshuwar
    Member
    Posted 5 years ago #

    Wait! just leave the entire wp-content folder alone, overwrite all the other files. If you only leave the themes folder, you could lose your plugins and uploads.

  5. issieparis
    Member
    Posted 5 years ago #

    i downloaded all the wordpress folder to my desktop and i will uploaded all again to my server... i cant mess up that way. can I?

  6. Joshuwar
    Member
    Posted 5 years ago #

    Great.

  7. issieparis
    Member
    Posted 5 years ago #

    i hope it works :P

  8. issieparis
    Member
    Posted 5 years ago #

    no it shows the same problem :S

  9. Joshuwar
    Member
    Posted 5 years ago #

    Next step for me would be exporting the post content from the database, dropping the whole thing and reinstalling. Not sure if anyone else has a better idea?

  10. issieparis
    Member
    Posted 5 years ago #

    i dont know, it mentions some of the login.php content, the lines are the following:

    `// validate action so as to default to the login screen
    if ( !in_array($action, array('logout', 'lostpassword', 'retrievepassword', 'resetpass', 'rp', 'register', 'login')) && false === has_filter('login_form_' . $action) )
    $action = 'login';

    nocache_headers();

    header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));

    if ( defined('RELOCATE') ) { // Move flag is set
    if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
    $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

    $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
    if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
    update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
    }

    //Set a cookie now to see if they are supported by the browser.
    setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
    if ( SITECOOKIEPATH != COOKIEPATH )
    setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);

  11. Joshuwar
    Member
    Posted 5 years ago #

    If you've replaced all the core files with freshly unzipped versions then the problem must be somewhere in the database, but I'm not sure where.

    That's why I'd just reinstall. Would you lose much data?

  12. issieparis
    Member
    Posted 5 years ago #

    i have no data, ive been working only with the design... if i reinstall fresh but keep a wp-themes folder, and then upload it, would i loose the advances in the layout design?

  13. Joshuwar
    Member
    Posted 5 years ago #

    No- the theme system is totally modular- you just upload your modified theme folder and select it in the admin. You'll have to define your categories etc again, but you won't lose any of your theme changes.

    What was the last change you made before the admin broke?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.