Warning: session_start() [function.session-start]: Error Message

Discussion in 'WordPress' started by mmg1865, Feb 21, 2012.

  1. #1
    Hi folks. I've been playing around a little bit with different e-commerce plugins, and recently, after uninstalling one which kept providing an error, every time i activate another e-commerce plugin I get the following messageWarning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/93/7700893/html/wordpress/wp-content/plugins/wp-online-store/core.php:133) in /home/content/93/7700893/html/wordpress/wp-content/plugins/wp-online-store/core.php on line 133I've done a bit of digging and everything keeps telling me its unwanted whitespace (either a line or just a character) This is the bit of code that I believe is causing the problem elseif ( ($request_type == 'SSL') && isset($_GET['osCsid']) ) {session_id($_GET['osCsid']);
     
    mmg1865, Feb 21, 2012 IP
  2. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #2
    Hello,

    I don't think those bits of code are the issue. Will you copy and paste here a about 100 lines of code from that general area ( /home/content/93/7700893/html/wordpress/wp-content/plugins/wp-online-store/core.php on line 133)? It could be a white space too, but helping you find it may be tough. They are usualy at the end of .php files after '?>'
     
    adbox, Feb 22, 2012 IP
  3. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Warning: session_start() [function.session-start]: open(/var/chroot/home/content/93/7700893/tmp/sess_tbc2h8qmtms8l6l6rbrgcp9qt6, O_RDWR) failed: No such file or directory (2) in /home/content/93/7700893/html/wordpress/wp-content/plugins/woocommerce/woocommerce.php on line 80Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/93/7700893/html/wordpress/wp-content/plugins/woocommerce/woocommerce.php:80) in /home/content/93/7700893/html/wordpress/wp-content/plugins/woocommerce/woocommerce.php on line 80Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/93/7700893/html/wordpress/wp-content/plugins/woocommerce/woocommerce.php:80) in /home/content/93/7700893/html/wordpress/wp-content/plugins/woocommerce/woocommerce.php on line 80
     
    mmg1865, Feb 23, 2012 IP
  4. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    ^ that appears at the top of the WP-Admin page, then I get this at the bottom Warning: Unknown: open(/var/chroot/home/content/93/7700893/tmp/sess_tbc2h8qmtms8l6l6rbrgcp9qt6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
     
    mmg1865, Feb 23, 2012 IP
  5. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Thanks for the help by the way. Could it be some files that havent been cleared properly from a previous ecommerce plugin ? I've added other plugins successfully without any issue.
     
    mmg1865, Feb 23, 2012 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    You are showing errors from 2 different plug ins. Are you running them both at the same time? If so, stop it.
     
    hmansfield, Feb 23, 2012 IP
  7. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #7
    No i wasnt running at the same time, I had installed 2, but was switching between them to see if the same error occured. I'm closing in on the error, its in a plugin folder file, line 806, just got to find it when I'm not at work.
     
    mmg1865, Feb 24, 2012 IP
  8. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #8
    Is woocommerce active and used? Try disabling it and seeing if the error disappears. Also if you are caching, try clearing your cache too.
     
    adbox, Feb 25, 2012 IP
  9. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #9
    the error only appears when I activate woocommerce or anyother ecommerce plugin, when they are deactivated its no problem at all. I think i may have parts of a previous plugin left somewhere. I have a back up from a few weeks ago, will try dropping that in and see if it resolves it. Thanks for you help so far guys.
     
    mmg1865, Feb 27, 2012 IP
  10. adbox

    adbox Well-Known Member

    Messages:
    906
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    155
    Digital Goods:
    1
    #10
    Hello~

    Will you show what error shows when woocommerce is deactive, but the other one is active? I'm betting that the two errors are not the same and yet they are similar.

    Also, I'd try disabling all plugins and enabling woocommerce alone and seeing if the error message is there.
     
    adbox, Feb 27, 2012 IP
  11. mmg1865

    mmg1865 Active Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #11
    Will do, I'll post them up shortly.
     
    mmg1865, Mar 2, 2012 IP