VQMOD vs OCmod issue
Posted: Mon Nov 28, 2016 4:51 pm
I'm having issues with my VQMOD running alongside with OCmod. I have used a theme with some modules in it bought from themeforest called Bossthemes.
This theme runs on OpenCart version 2.2.0.0
After having the Bossthemes with OC 2.2.0.0 running smoothly I had to install VQMOD for running 3 additional mods I need for my webshop. But installing VQMOD caused errors.
The first error I encountered is the following one.
vqmod_opencart.xml is exectuted and alters some files in the system. But somehow VQM seems to add to few ) to a file. Below a description of what happens:
1) vqmod_opencart.xml runs
2) it alters the file system_engine_action.php is changes the following:
On line 34
include_once($file);
Changes to:
include_once(\VQMod::modCheck($file));
3) Then it alters the system_engine_action.php again (from the system/storage folder)
thel file: system_storage_modification_system_engine_action.php
on line 34 (from the VQCache file vq2-system_engine_action.php)
include_once(\VQMod::modCheck($file));
changes to (line 34):
include_once(\VQMod::modCheck(modification(modification($file), modification($file)));
This is the point where the error is generated. Because the line include_once has 1 ) missing at the end. But i'm wondering why VQMod is altering this file twice. Is that nessecary?
Below the code responsible for changing the file twice (vqmod_opencart.xml):
Line 11: <add><![CDATA[$1$2(\\VQMod::modCheck($3)]]></add>
And this change also:
Line 15: <add><![CDATA[$1$2(\\VQMod::modCheck(modification($3), $3]]></add>
It would work if I change line 15 to: <add><![CDATA[$1$2(\\VQMod::modCheck(modification($3), $3)]]></add>
Adding a ) after the last $3. But this causes other files to not work. It's also strange that i have to alter a default VQMOD file in order to let this work.
Does anyone have an idea what is going wrong here? is OCmod interfering with my VQMOD?
I have tested running VQMOD without the OCMOD Cache, so a clean version. This way VQMOD is working properly.
Is it possible VQMOD overwrites OCMOD files?
This theme runs on OpenCart version 2.2.0.0
After having the Bossthemes with OC 2.2.0.0 running smoothly I had to install VQMOD for running 3 additional mods I need for my webshop. But installing VQMOD caused errors.
The first error I encountered is the following one.
vqmod_opencart.xml is exectuted and alters some files in the system. But somehow VQM seems to add to few ) to a file. Below a description of what happens:
1) vqmod_opencart.xml runs
2) it alters the file system_engine_action.php is changes the following:
On line 34
include_once($file);
Changes to:
include_once(\VQMod::modCheck($file));
3) Then it alters the system_engine_action.php again (from the system/storage folder)
thel file: system_storage_modification_system_engine_action.php
on line 34 (from the VQCache file vq2-system_engine_action.php)
include_once(\VQMod::modCheck($file));
changes to (line 34):
include_once(\VQMod::modCheck(modification(modification($file), modification($file)));
This is the point where the error is generated. Because the line include_once has 1 ) missing at the end. But i'm wondering why VQMod is altering this file twice. Is that nessecary?
Below the code responsible for changing the file twice (vqmod_opencart.xml):
Line 11: <add><![CDATA[$1$2(\\VQMod::modCheck($3)]]></add>
And this change also:
Line 15: <add><![CDATA[$1$2(\\VQMod::modCheck(modification($3), $3]]></add>
It would work if I change line 15 to: <add><![CDATA[$1$2(\\VQMod::modCheck(modification($3), $3)]]></add>
Adding a ) after the last $3. But this causes other files to not work. It's also strange that i have to alter a default VQMOD file in order to let this work.
Does anyone have an idea what is going wrong here? is OCmod interfering with my VQMOD?
I have tested running VQMOD without the OCMOD Cache, so a clean version. This way VQMOD is working properly.
Is it possible VQMOD overwrites OCMOD files?