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']);
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 '?>'
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
^ 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
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.
You are showing errors from 2 different plug ins. Are you running them both at the same time? If so, stop it.
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.
Is woocommerce active and used? Try disabling it and seeing if the error disappears. Also if you are caching, try clearing your cache too.
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.
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.