5098 Posts in 1518 Topics by 1115 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2569 Views |
-
[Notice] A session had already been started - ignoring session_start()

7 October 2009 at 7:54pm
I'm trying to integrate Cartweaver into SS. It's an ecommerce solutions that I've used for a while on static sites, but never in conjunction with SS.
When I try to add it into a page.ss, I get this:
[Notice] A session had already been started - ignoring session_start()
It identifies this file as the source of misbehaving session_start:
cw3\CWLibrary\CWIncSetup.phpI've tried to just suppress it with @session_start(); - the error doesn't
return but the pages don't load either
I've also tried this, with no success: if(!isset($_SESSION)) {
session_start(); }I did a search for all SS files that call up session_start(), but I don't know what's at fault or how to fix it.
Cartweaver obviously is trying to start a session after SS already has.Any ideas?
Thanks for the help!
~ James -
Re: [Notice] A session had already been started - ignoring session_start()

8 October 2009 at 4:41pm
SS will dominate any other PHP app that conflicts with its sessions or attempts to use any URL after http://yoursssite.com/* due to the way it handles URL rewrites.
By far the easiest solution for you will be to setup your cart as a separate VHOST on a subdomain, like http://store.yoursssite.com/
| 2569 Views | ||
|
Page:
1
|
Go to Top |


