Page 1 of 1

please help me: "Notice: Undefined index: token"

Posted: Tue Sep 24, 2013 10:59 pm
by mrthanasis
please help me!

Notice: Undefined index: token in /var/www/vhosts/nikolopoylos.com/httpdocs/vqmod/vqcache/vq2-admin_controller_common_header.php on line 25

Re: please help me: "Notice: Undefined index: token"

Posted: Wed Sep 25, 2013 12:19 am
by MarketInSG
you have an extension that uses vqmod and has error in it. Look into your vqmod/xml folder and get the developer to help you out

Re: please help me: "Notice: Undefined index: token"

Posted: Tue Oct 08, 2013 6:32 pm
by hassanbokhary
The error is coming because it can't find session for token.

just add this line right above it

if(isset($this->session->data['token']))

Re: please help me: "Notice: Undefined index: token"

Posted: Fri Dec 16, 2016 8:18 pm
by MariOiraM
Thanks @hassanbokhary , it worked like charm :))

Re: please help me: "Notice: Undefined index: token"

Posted: Sat Dec 17, 2016 12:51 am
by IP_CAM
... just add this line right above it:
if(isset($this->session->data['token']))


well, but better not in the:
vqmod/vqcache/vq2-admin_controller_common_header.php
above line 25, or it will be gone again, after VqCache is renewed! :D
Ernie

Re: please help me: "Notice: Undefined index: token"

Posted: Tue Jun 20, 2017 5:25 pm
by MariOiraM
@IP_CAM, that is correct.
Error came up again after renewing.
So now is the question where to put this line....

Re: please help me: "Notice: Undefined index: token"

Posted: Tue Jun 20, 2017 7:41 pm
by IP_CAM
I assume, it has to go into the:
admin/controller/common/header.php
Ernie