Support » Installing WordPress » Cant get in. Warning!

  • Can some please help me,I am getting this warning! I cant even get into my wp-admin!!

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/mph67/public_html/ in /home/mph67/public_html/ on line 846

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/mph67/public_html/ in /home/mph67/public_html/ on line 846

    Warning: Cannot modify header information – headers already sent by (output started at /home/mph67/public_html/ in /home/mph67/public_html/ on line 868
    Can any one please help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • /si-contact-form
    rename this folder inside the plugins folder
    this will deactivate the plugin and let you log in

    Thanks 4 your quick response. but i am still getting this warning!
    Thanks again

    Warning: Cannot modify header information – headers already sent by (output started at /home/mph67/public_html/ in /home/mph67/public_html/ on line 868

    Moderator James Huff


    That means that you have unexpected white space (a simple space or new line) before line 124 of functions.php. You’ll have to edit the file and remove it. See this for more info:

    Help. thanks for the response. This is driving me nuts. Can you look at this? This is the wp-config.php.

     * The base configurations of the WordPress.
     * This file has the following configurations: MySQL settings, Table Prefix,
     * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
     * visiting {@link Editing
     * wp-config.php} Codex page. You can get the MySQL settings from your web host.
     * This file is used by the wp-config.php creation script during the
     * installation. You don't have to use the web site, you can just copy this file
     * to "wp-config.php" and fill in the values.
     * @package WordPress
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('WP_CACHE', true); //Added by WP-Cache Manager
    define('DB_NAME', 'mph67_wrdp3');
    /** MySQL database username */
    define('DB_USER', 'mph67_wrdp3');
    /** MySQL database password */
    define('DB_PASSWORD', '16e5I4uOPB6t');
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
     * Authentication Unique Keys.
     * Change these to different unique phrases!
     * You can generate these using the {@link secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     * @since 2.6.0
    define('AUTH_KEY', 'f7sXx[2wbB@LBwlxS{A56y>+16e5I4uOPB6tXz iq\\Ms}?(;_a#ypoR5\'3w<G5>FL~1X');
    define('SECURE_AUTH_KEY', '-\"r642fed3E1d>}MdGFlh@tR!QPU%/!S_6;CjO0}^>6T16e5I4uOPB6t+ <?)3 U#*X;');
    define('LOGGED_IN_KEY', 'Q^l\"6-pL16e5I4uOPB6t\zkw>OG<U$%u0:9H:Jl)+d$~jIBTt&CPL[Dp<KY4zL3y');
    define('NONCE_KEY', 'asdasdjkasdjk16e5I4uOPB6tjklasdjklasdkl&^%^&*(&*(jklasdjklasdjkl&*)))');
     * WordPress Database Table prefix.
     * You can have multiple installations in one database if you give each a unique
     * prefix. Only numbers, letters, and underscores please!
    $table_prefix  = 'wp_';
     * WordPress Localized Language, defaults to English.
     * Change this to localize WordPress.  A corresponding MO file for the chosen
     * language must be installed to wp-content/languages. For example, install
     * to wp-content/languages and set WPLANG to 'de' to enable German
     * language support.
    define ('WPLANG', '');
    /* That's all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Also your colleague sid i should rename a file. What should i do with that and the plugin. Should i uninstall the reinstall.
    I REALLY appreciate your help

    sorry wrong file as you can see i am going crazy. Patience is a.. don’t have it. thanks

    //Define the wp_content DIR for backward compatibility
    if (!defined('WP_CONTENT_URL'))
    	define('WP_CONTENT_URL', get_option('site_url').'/wp-content');
    if (!defined('WP_CONTENT_DIR'))
    	define('WP_CONTENT_DIR', ABSPATH.'/wp-content');
    //Define the content width for images
    $max_width = 596;
    $GLOBALS['content_width'] = 596;
    //A function to include files throughout the theme
    //It checks to see if the file exists first, so as to avoid error messages.
    function get_template_file($filename) {
    	if (file_exists(TEMPLATEPATH."/$filename"))
    //A function to add the custom body background image
    function flexx_body_bg() {
    	global $wp_theme_options;
    	$options = array( 'background_image', 'background_color', 'background_position', 'background_attachment', 'background_repeat' );
    	<style type="text/css">
    		body {
    			<?php if ( 'custom_color' == $wp_theme_options['background_option'] ) : ?>
    				background-color: <?php echo $wp_theme_options['background_color']; ?>;
    				background-image: none;
    			<?php else : ?>
    				<?php foreach ( (array) $options as $option ) : ?>
    					<?php if ( ! empty( $wp_theme_options[$option] ) ) : ?>
    						<?php if ( 'background_image' == $option ) : ?>
    							<?php echo str_replace( '_', '-', $option ); ?>: url(<?php echo $wp_theme_options[$option]; ?>);
    						<?php else : ?>
    							<?php echo str_replace( '_', '-', $option ); ?>: <?php echo $wp_theme_options[$option]; ?>;
    						<?php endif; ?>
    					<?php endif; ?>
    				<?php endforeach; ?>
    			<?php endif; ?>
    //Theme Options code
    //FlexLayout Code
    //Billboard Code
    //Feedburner Widget Code
    add_action( 'ithemes_load_plugins', 'ithemes_functions_after_init' );
    function ithemes_functions_after_init() {
    	//Include Tutorials Page
    	//FlexLayout Editor Code
    	//Featured Image code
    	$GLOBALS['iThemesFeaturedImages'] =& new iThemesFeaturedImages( array( 'id_name' => 'title', 'width' => 'container_width', 'height' => '163', 'sleep' => 2, 'fade' => 1 ) );
    	//Contact Page Template code
    //Unregister troublesome widgets
    function unregister_problem_widgets() {
    //A little SEO action
    function it_seo_options() {
    	//globalize variables
    	global $post, $wp_theme_options;
    	//build our excerpt
    	$post_content = (strlen(strip_tags($post->post_content)) <= 150) ? strip_tags($post->post_content) : substr(strip_tags($post->post_content),0,150);
    	$post_excerpt = ($post->post_excerpt) ? $post->post_excerpt : $post_content;
    	//set the description
    	$description = (is_home()) ? get_bloginfo('description') : $post_excerpt;
    	//get the tags
    	foreach((array)get_the_tags($post->ID) as $tag) { $post_tags .= ','. $tag->name; }
    	$post_tags = substr($post_tags,1); //removing the first "," from the list
    	//add the follow code to our meta section
    	echo "\n".'<!--To follow, or not to follow-->'."\n";
    	if(is_home() || is_single() || is_page()) echo '<meta name="robots" content="index,follow" />'."\n";
    	elseif($wp_theme_options['cat_index'] != 'no' && is_category()) echo '<meta name="robots" content="index,follow" />'."\n";
    	elseif(!is_home() && !is_single() && !is_page()) echo '<meta name="robots" content="noindex,follow" />'."\n";
    	//add the description and keyword code to our meta section
    	echo '<!--Add Description and Keywords-->'."\n";
    	if($wp_theme_options['tag_as_keyword'] != 'no' && is_single() && $post_tags) echo '<meta name="keywords" content="'.$post_tags.'" />'."\n";
    	if(is_home() || is_single() || is_page()) echo '<meta name="description" content="'.$description.'" />'."\n";
    ///Tracking/Analytics Code
    function print_tracking() {
    	global $wp_theme_options;
    	echo stripslashes($wp_theme_options['tracking']);
    if ($wp_theme_options['tracking_pos'] == "header")
    	add_action('wp_head', 'print_tracking');
    else //default
    	add_action('flexx_footer_stats', 'print_tracking');
    Moderator James Huff


    It’s not in the wp-config.php file. That was only mentioned in the article as an example. Your problem is on line 124 of functions.php.

    The problem should be resolved once you remove the excess white space on line 124 of functions.php.

    THank you thank you i did it sweet muchas gracias guys and gals

    Moderator James Huff


    You’re welcome!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cant get in. Warning!’ is closed to new replies.