Missing sessionToken parameter error

5 views
Skip to first unread message

Artyom M

unread,
Nov 23, 2014, 8:32:28 PM11/23/14
to koala-fra...@googlegroups.com
While I'm creating a new controller, got an error in the old controller =)
Replaced the old unchanged files - error persists.

exception 'Kwf_Exception' with message 'Missing sessionToken parameter' in C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Action.php:72
Stack trace:
#0 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Action\Auto\Form.php(29): Kwf_Controller_Action->preDispatch()
#1 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Action.php(25): Kwf_Controller_Action_Auto_Form->preDispatch()
#2 C:\OpenServer\domains\aviashelf1\library\zend\1.10.7\Zend\Controller\Dispatcher\Standard.php(295): Kwf_Controller_Action->dispatch('jsonDataAction')
#3 C:\OpenServer\domains\aviashelf1\library\zend\1.10.7\Zend\Controller\Front.php(953): Zend_Controller_Dispatcher_Standard->dispatch(Object(Kwf_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Front.php(137): Zend_Controller_Front->dispatch(Object(Kwf_Controller_Request_Http), NULL)
#5 C:\OpenServer\domains\aviashelf1\bootstrap.php(20): Kwf_Controller_Front->dispatch()
#6 {main}

Why did this happen? How to fix?

In debug msg I see in this controller sessionToken var is empty, but in other controllers it exists.

Artyom M

unread,
Nov 23, 2014, 11:14:00 PM11/23/14
to koala-fra...@googlegroups.com
Solved.
I found if I have js-files in \js folder (with ANY name and with right code inside) - KWF find it and use. In result I had errors in app.

Niko Sams

unread,
Nov 24, 2014, 3:50:59 AM11/24/14
to Koala Framework Dev
yep, but you can control this behaviour, see dependencies.ini - there you have a line web/js/*

Niko

On Mon, Nov 24, 2014 at 5:14 AM, Artyom M <psycho...@gmail.com> wrote:
Solved.
I found if I have js-files in \js folder (with ANY name and with right code inside) - KWF find it and use. In result I had errors in app.

--
You received this message because you are subscribed to the Google Groups "Koala Framework Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to koala-framework...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Artyom M

unread,
Jan 13, 2015, 11:15:29 PM1/13/15
to koala-fra...@googlegroups.com
Now on 3.8 version in every edit dialog:

exception 'Kwf_Exception' with message 'Missing sessionToken parameter' in C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Controller\Action.php:53
Stack trace:
#0 C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Controller\Action.php(74): Kwf_Controller_Action->_validateSessionToken()
#1 C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Controller\Action\Auto\Form.php(28): Kwf_Controller_Action->preDispatch()
#2 C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Controller\Action.php(21): Kwf_Controller_Action_Auto_Form->preDispatch()
#3 C:\OpenServer\domains\aviashelf\vendor\koala-framework\zendframework1\library\Zend\Controller\Dispatcher\Standard.php(308): Kwf_Controller_Action->dispatch('jsonDataAction')
#4 C:\OpenServer\domains\aviashelf\vendor\koala-framework\zendframework1\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Kwf_Controller_Request_Http), Object(Kwf_Controller_Response_Http))
#5 C:\OpenServer\domains\aviashelf\vendor\koala-framework\koala-framework\Kwf\Controller\Front.php(139): Zend_Controller_Front->dispatch(Object(Kwf_Controller_Request_Http), Object(Kwf_Controller_Response_Http))
#6 C:\OpenServer\domains\aviashelf\bootstrap.php(20): Kwf_Controller_Front->dispatch()
#7 {main}


What's going on???

Artyom M

unread,
Jan 13, 2015, 11:25:13 PM1/13/15
to koala-fra...@googlegroups.com
Lol... the same situation... I moved old js files in \js\old directory and they apply again :D

in dependencies.ini:
Admin.files[] = web/js/*

How to change this to find only in \js folder (except subdirectories)?
Reply all
Reply to author
Forward
0 new messages