Post by olfactorymaven » Wed Nov 09, 2016 1:40 pm

Earlier today, I posted about a Class 'Device' error, and the Omtex extension no longer showing in my admin. I deleted it after discovering my Omtex files somehow got misplaced. After uploading Omtex, I am receiving these two errors.

Notice: Constant DIR_TEMPLATE already defined in /home/tovijah/public_html/addons/system/library/device.php on line 57
Fatal error: Call to a member function isLogged() on null in /home/tovijah/public_html/addons/vqmod/vqcache/vq2-admin_controller_common_header.php on line 106

I am taking a look at the files (attached), but I am not sure of what needs to be corrected.

Can anyone assist me?

Many thanks.


Screen Shot 2016-11-09 at 12.38.14 AM.png

Screen Shot 2016-11-09 at 12.38.14 AM.png (20.15 KiB) Viewed 640 times

Screen Shot 2016-11-09 at 12.34.28 AM.png

Screen Shot 2016-11-09 at 12.34.28 AM.png (19.84 KiB) Viewed 640 times

New member


Fri Apr 19, 2013 3:35 am

Post by IP_CAM » Fri Nov 11, 2016 8:35 am

In reply to your eMail, wich did not contain a rtn-address:

I do NO support-work, it's strictly my hobby, and I have no sufficient coder
knowledge, to do any commercial Work. But you can just buy either this OC-2 Theme,
and install it into your existing Shop:
Oc2 Theme OpenCart Responsive Template to OC-Verisons 1.5.6.x ... n_id=23641

or then, get this complete OC v. Installation package, containing the
new OC-2 Theme:
OpenCart Edge Full Opencart install package ... n_id=27779

then, for less than 15 Bucks, you'll have the latest official OC v. Release,
including the OC-2 responsive Theme installed,

to have a Site, then just about looking and working like this:
And regarding your Problem here, you use a modified config.php content,
to link your Site and Paths. And this could only function, if you use some additional
'Information', required to make this kind of setting work:
DIR_APPLICATION. whatever...

But I don't recall, where to have it seen, so, I cannot be of help on this :'(
Good Luck

For Sale: Top URL's, including OpenCart V-Pro installed, like seen here: - -
For Information + URL's offered, please contact me at:
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories:

User avatar
Guru Member


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

Users browsing this forum: No registered users and 2 guests