Forum Support

Shape 5
April 11, 2021, 10:03:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Session Start Error  (Read 576 times)
kc0dkl
Jr. Member
**
Offline Offline

Posts: 4



« on: June 18, 2012, 02:14:37 PM »

Hello,

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

Code:
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
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kc0dkl
Jr. Member
**
Offline Offline

Posts: 4



« Reply #2 on: 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
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #4 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
kc0dkl
Jr. Member
**
Offline Offline

Posts: 4



« Reply #5 on: June 18, 2012, 03:09:23 PM »

Code:
<?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
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #6 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.