WordPress.org

Support

Support » How-To and Troubleshooting » admin panel not opening

admin panel not opening

  • aquilawebs
    Member

    @aquilawebs

    I am getting a error message from few days on my WP , when ever i try to post a new page or even new post. As soon as i click publish the error comes up,

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampp\htdocs\test7\wp-content\themes\Minimal\functions.php:38) in C:\xampp\htdocs\test7\wp-includes\classes.php on line 1601

    this error also shows up in orange text at the bottom of my editor in WP_ADMIN , where we see “Last edited on January 23, 2011 at 4:43 am” things like this.

    Now i cannot open my WP-ADMIN this error comes up and not letting me log in.

Viewing 4 replies - 1 through 4 (of 4 total)
  • JarretC
    Participant

    @jarretc

    Did this error start when you first started using the Minimal theme? From what you posted it looks like there is a funcion that the theme itself is using that may be causing the issue.

    Where did you download the theme from?

    aquilawebs
    Member

    @aquilawebs

    I got the theme from my client but i never touched functions.php

    here is the default code for function.php

    <?php

    require_once(TEMPLATEPATH . ‘/epanel/custom_functions.php’);

    require_once(TEMPLATEPATH . ‘/includes/functions/comments.php’);

    require_once(TEMPLATEPATH . ‘/includes/functions/sidebars.php’);

    load_theme_textdomain(‘Minimal’,get_template_directory().’/lang’);

    require_once(TEMPLATEPATH . ‘/epanel/options_minimal.php’);

    require_once(TEMPLATEPATH . ‘/epanel/core_functions.php’);

    require_once(TEMPLATEPATH . ‘/epanel/post_thumbnails_minimal.php’);

    function register_main_menus() {
    register_nav_menus(
    array(
    ‘primary-menu’ => __( ‘Primary Menu’ ),
    ‘footer-menu’ => __( ‘Footer Menu’ )
    )
    );
    };
    if (function_exists(‘register_nav_menus’)) add_action( ‘init’, ‘register_main_menus’ );

    $wp_ver = substr($GLOBALS[‘wp_version’],0,3);
    if ($wp_ver >= 2.8) include(TEMPLATEPATH . ‘/includes/widgets.php’);

    if (function_exists(‘add_theme_support’)) {
    add_theme_support(‘post-thumbnails’);
    set_post_thumbnail_size(164, 164, true);
    }

    ?>

    JarretC
    Participant

    @jarretc

    Seeing as how the theme loads 6 different files I’m guessing that the error is in one of those files. The code inside of functions.php that you posted shouldn’t be causing any issues.

    Is there anyway to download the theme you are using from your client so I can take a further look?

    aquilawebs
    Member

    @aquilawebs

    I got the same error again with the default theme of Wordress

    it says :

    Warning: Cannot modify header information – headers already sent by (output started at /home/aquilain/public_html/projects/creatovia/wp-admin/index.php:1) in /home/aquilain/public_html/projects/creatovia/wp-includes/pluggable.php on line 897

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘admin panel not opening’ is closed to new replies.