1735 Posts in 449 Topics by 392 members
E-Commerce Module
SilverStripe Forums » E-Commerce Module » ecommerce 0.6 breaks ss 2.3.6 site
Discuss the E-Commerce Module.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1238 Views |
-
ecommerce 0.6 breaks ss 2.3.6 site

1 March 2010 at 1:48pm
[Warning] Cookie 'alc_enc' can't be set. The site started outputting was content at line 1 in /home/apriaee/public_html/motoguzzi/ecommerce/lang/et_EE.php
POST /Security/LoginForm
Line 21 in /home/apriaee/public_html/motoguzzi/sapphire/core/Cookie.phpSource
12 * @param name The variable name
13 * @param value The variable value. May be an array or object if you wish.
14 * @param expiryDays The expiry time, in days. Defaults to 90.
15 */
16 static function set($name, $value, $expiryDays = 90) {
17 if(!headers_sent($file, $line)) {
18 $expiry = $expiryDays > 0 ? time()+(86400*$expiryDays) : 0;
19 setcookie($name, $value, $expiry, Director::baseURL());
20 } else {
21 if(self::$report_errors) user_error("Cookie '$name' can't be set. The site started outputting was content at line $line in $file", E_USER_WARNING);
22 }
23 $_COOKIE[$name] = $value;
24 }
25
26 /**
27 * Get a cookie variable
Trace
•Cookie 'alc_enc' can't be set. The site started outputting was content at line 1 in /home/apriaee/public_html/motoguzzi/ecommerce/lang/et_EE.php
Line 21 of Cookie.php
•Cookie::set(alc_enc,)
Line 221 of Member.php
•Member->logIn()
Line 200 of MemberLoginForm.php
•MemberLoginForm->performLogin(Array)
Line 118 of MemberLoginForm.php
•MemberLoginForm->dologin(Array,MemberLoginForm,HTTPRequest)
Line 246 of Form.php
•Form->httpSubmission(HTTPRequest)
Line 129 of RequestHandler.php
•RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
•RequestHandler->handleRequest(HTTPRequest)
Line 119 of Controller.php
•Controller->handleRequest(HTTPRequest)
Line 280 of Director.php
•Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
•Director::direct(/Security/LoginForm)
Line 118 of main.php -
Re: ecommerce 0.6 breaks ss 2.3.6 site

4 March 2010 at 12:45pm Last edited: 4 March 2010 12:45pm
I've noticed this, didn't credit it to ecommerce though.
If you clear you path cookies (alc_enc in particular) the error will go away, it will reappear again though if you set the "remember me" when you log in to the CMS.
0.6 works fine on v2.3.4 so I'm more inclined to say that SS2.3.6 breaks ecommerce.
I'm having a few issues with SS v2.3.6 at the mo so thinking of sticking with SS2.3.4 until I can figure out what's going on.
Cheers,
Rich
-
Re: ecommerce 0.6 breaks ss 2.3.6 site

23 April 2010 at 6:01am
Strange this, I'm getting the same all of a sudden.
[Warning] Cookie 'alc_enc' can't be set. The site started outputting was content at line 1 in...
Using 2.3.6 and don't have E-commerce. The cookie alc_enc does not exist (I removed it) and the error pops up anyway.
Any solution?
| 1238 Views | ||
|
Page:
1
|
Go to Top |


