1045 Posts in 380 Topics by 374 members
| Go to End | Next > | |
| Author | Topic: | 2271 Views |
-
Cannot Login after Update from 2.3.2 to 2.4.1

4 September 2010 at 2:13am
Hi,
I tryed to update a very large Project from 2.3.2 to 2.4.1.
In error.log there is:
Warning at \sapphire\core\Cookie.php line 33: Cookie 'alc_enc' can't be set. The site started outputting was content at line 60 in C:\workspace\myproject\sapphire\core\model\DataObjectDecorator.php (http://www-lokal.myproject.de/Security/LoginForm)
Any Ideas?
How I updated:
I deleted jsparty/, cms/ and sapphire/ folders and copied the new cms/ and sapphire/ folders
then I corrected the references from jsparty/ to sapphire/thirdparty/... or cms/thirdparty/...
then I added SWFUpload Module, because it's not part of the core anymore.then I did some changes like changeing CalendarDateField into DateField with setConfig('showcalendar', true)
and SiteTree->URLSegment into SiteTree->Link() -
Re: Cannot Login after Update from 2.3.2 to 2.4.1

4 September 2010 at 8:07pm
Warning at \sapphire\core\Cookie.php line 33: Cookie 'alc_enc' can't be set. The site started outputting was content at line 60 in C:\workspace\myproject\sapphire\core\model\DataObjectDecorator.php
Whats on line 60 of your version of that file? it sounds like its probably throwing an error or some other header which is causing the cookie to not be set.
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

7 September 2010 at 12:47am
// @deprecated 2.4 - use extraStatics() now, not extraDBFields()
if(method_exists($extensionClass, 'extraDBFields')) {
user_error('DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead.', E_USER_NOTICE);
$extraStaticsMethod = 'extraDBFields';
} else {
$extraStaticsMethod = 'extraStatics';
}It's the ExtraDBFields(). I just renamed the Method were in extraStatics() and now it's fine! Thanks
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

17 September 2010 at 8:22pm
where did you rename it ?
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

20 October 2010 at 3:17am
Yea, I have the Q as pjssms. I'm not a programmer, so specific details would be GREATLY appreciated. Thanks.
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

20 October 2010 at 3:23am
Nevermind, the solutions is on another thread.
http://www.silverstripe.org/all-other-modules/show/283120#post283120
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

16 June 2011 at 6:45pm
Hello!
I have a similar problem - can't login: "Cookie 'alc_enc' can't be set. The site started outputting was content at line 1 in .../mysite/_config.php"
All files are checked (1 row in the _config.php is <?php), no blank rows or spaces in the beginning or end of files.When try to open /admin/ link, I see the redirect message "Redirecting to /Security/login?BackURL=%2Fadmin%2F... (output started on .../mysite/_config.php, line 1)". Again config.php...
SS 2.4.2, bug is active on the live-server only.
Can you direct me, how to repair this?
Thank you and sorry for poor English
-
Re: Cannot Login after Update from 2.3.2 to 2.4.1

14 September 2011 at 8:21am
Is there a solution for Marand's problem?
For some reason I get this error with 2.4.5. Only with one hosting company. Maybe a php setting or something?
| 2271 Views | ||
| Go to Top | Next > |




