Shape 5

Wordpress Club Themes => Life Journey - Club => : kc0dkl June 18, 2012, 02:14:37 PM



: Session Start Error
: kc0dkl June 18, 2012, 02:14:37 PM
Hello,

I am getting the following errors when I install from a siteshaper into a clean database.

:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at path to site/wp-content/plugins/category-shortcode-w-generator/category_shortcode.php:361) in path to site/wp-content/themes/s5_life_journey/functions.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at path to site/wp-content/plugins/category-shortcode-w-generator/category_shortcode.php:361) in path to site/wp-includes/option.php on line 563

Warning: Cannot modify header information - headers already sent by (output started at path to site/wp-content/plugins/category-shortcode-w-generator/category_shortcode.php:361) in path to site/wp-includes/option.php on line 564

I have tried removing the entire directory and starting over and still get the same error.  I have also tried disabling the plugins listed and the same error comes up with a different plugin listed.

I did search the forum and only found one listing that didnt have a solution.

Thanks for any help

Mike


: Re: Session Start Error
: Tristan Rineer June 18, 2012, 02:16:46 PM
If you don't need "demo mode" to function, just remove or comment out the "session_start();" line from the beginning of functions.php.


: Re: Session Start Error
: kc0dkl June 18, 2012, 02:26:39 PM
Thanks for the quick reply!

That did not seem to make any difference.

You can see what I am referencing at http://dev.willardccc.org/wp-admin


: Re: Session Start Error
: Tristan Rineer June 18, 2012, 02:32:40 PM
Can you try renaming the category shortcode folder in "wp-content/plugins"?  Just adding a letter to it will be enough for WP to "lose" it and disable it.


: Re: Session Start Error
: Tristan Rineer June 18, 2012, 02:46:34 PM
Looking at your site again, it appears that you did not comment out the session start like I suggested.  That should be all it takes to get rid of the error, because that's where the error is originating.


: Re: Session Start Error
: kc0dkl June 18, 2012, 03:09:23 PM
:
<?php
//if(!isset($_SESSION)) {session_start();}
define('THEMEDIR'dirname(__FILE__));
define('DS','/');
define('TEMPLATEURL'THEMEDIR.DS.$shortname);
require(
's5_admin/theme-admin.php');
?>

This is the line that is commented out. (I am not a php person but I looked up how to comment out a line.  If this is not right, I apologize)

I did try disabling the the plugin by renaming it.

Both are currently being done

MIke


: Re: Session Start Error
: Tristan Rineer June 18, 2012, 03:13:18 PM
ok...  that did fix the original error...  the current error is with accordion menu, and it shouldn't be happening.  If you rename the accordion menu plugin folder to disable the plugin, that should be the final step in the solution.

I'll have to look at the shaper files later to figure out why it's started having that issue.