• 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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Have you tried reuploading the core files (ie. everything except the wp-content folder)?

    Thread Starter issieparis

    (@issieparis)

    everything except the themes folder?… ummm ill try thanks

    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.

    Thread Starter issieparis

    (@issieparis)

    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?

    Great.

    Thread Starter issieparis

    (@issieparis)

    i hope it works 😛

    Thread Starter issieparis

    (@issieparis)

    no it shows the same problem :S

    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?

    Thread Starter issieparis

    (@issieparis)

    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);

    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?

    Thread Starter issieparis

    (@issieparis)

    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?

    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?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘cant see admin page’ is closed to new replies.