Post by mrthanasis » Tue Sep 24, 2013 10:59 pm

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
Last edited by Johnathan on Tue Sep 24, 2013 11:03 pm, edited 1 time in total.
Reason: Changed topic title to be more descriptive. Please don't use generic titles in the future, or your topics will get deleted.

Newbie

Posts

Joined
Tue Sep 24, 2013 10:57 pm

Post by MarketInSG » Wed Sep 25, 2013 12:19 am

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


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by hassanbokhary » Tue Oct 08, 2013 6:32 pm

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']))

Newbie

Posts

Joined
Tue Oct 08, 2013 6:29 pm

Post by MariOiraM » Fri Dec 16, 2016 8:18 pm

Thanks @hassanbokhary , it worked like charm :))

Unior orodje | Makita orodje| Dewalt orodje


New member

Posts

Joined
Sun Apr 19, 2015 12:40 am


Post by IP_CAM » Sat Dec 17, 2016 12:51 am

... 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

I'm rarely active at the OC Forum lately. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'100+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by MariOiraM » Tue Jun 20, 2017 5:25 pm

@IP_CAM, that is correct.
Error came up again after renewing.
So now is the question where to put this line....

Unior orodje | Makita orodje| Dewalt orodje


New member

Posts

Joined
Sun Apr 19, 2015 12:40 am


Post by IP_CAM » Tue Jun 20, 2017 7:41 pm

I assume, it has to go into the:
admin/controller/common/header.php
Ernie

I'm rarely active at the OC Forum lately. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'100+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: Bing [Bot], OSWorX and 71 guests