[Flow] Error: Session not started
toco at aimeos.org
toco at aimeos.org
Thu Apr 9 12:39:13 CEST 2015
Hi David
> I've always used Models with session annotation to create sessions
> automatically and used these models in my controller.In the Model it works if
> you use this annotation: @Flow\Session(autoStart = TRUE)You could give it a try
> and see if it works afterwards.
Unfortunately, I don't have any models, only controllers with actions.
Anything else I could try?
Thanks
Toco
>> From: toco at aimeos.org
>> To: flow at lists.typo3.org
>> Date: Wed, 8 Apr 2015 18:32:02 +0200
>> Subject: [Flow] Error: Session not started
>>
>> Hey
>>
>> Tried to access the session in my Flow package but got an error that it's not
>> started:
>>
>> #1352488661: Tried to check a session data entry, but the session has not been
>> started yet.
>> <a href="http://typo3.org/go/exception/1352488661">More information</a>
>>
>> TYPO3\Flow\Session\Exception\SessionNotStartedException thrown in file
>> .../flow/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Session_Session.php
>> in line 423
>> Reference code: 20150408182021b89c1c
>>
>> For injecting the session object into my class I've used the
>> "@Flow\Inject(lazy = FALSE)" but that doesn't helped
>> (https://github.com/aimeos/aimeos-flow/blob/master/Classes/Aimeos/Shop/Base/Context.php):
>>
>> /**
>> * @var \TYPO3\Flow\Session\SessionInterface
>> * @Flow\Inject(lazy = FALSE)
>> */
>> protected $session;
>>
>> Is there anything else I need to do to initialize the Flow session?
>>
>> Thanks for any pointers
>>
>>
>> Toco
>> --
>> Aimeos web shop package
>>
>> http://aimeos.org
>> https://www.facebook.com/Aimeos
>> Twitter: @aimeos
>> _______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
--
Aimeos web shop
http://aimeos.org
https://www.facebook.com/Aimeos
Twitter: @aimeos
More information about the Flow
mailing list