Post by cwxOpenCart » Thu Nov 16, 2017 7:50 am

On my site I have the vqmod installed and some of my mods are working but others do not. In the index page I can see the vqmod code is installed and in the cache directory I have vq2- files. I have deleted these and the mods.checked and checked.cache files. These get regenerated when I load the main page and these mods work correctly. they modify the common_header.twig and column_right.twig. I have two other mods that don't work for some reason. they modify the common_footer.twig. What is really strange is that when I look in the vqmod log files I have a log file from 11-4-2017 and it does not update. I tried breaking one of my mods by changing the path and file name for the mod and it does not update the log file. Notice the misspelled path name template is "templae" <file name="/catalog/view/theme/*/templae/common/footer.twig"> This did not produce any log files in the vqmod logs.

In the opencart control panel i refreshed the theme and sass under the developer settings.

my open cart is 3.0.2.0 and the vqmod is version 2.6.2

One thing I did was rename my admin directory and a question I have is in the pathreplace.php file I did the modification for the replaces array. In the install/index.php file I changed the $admin directory as well. I believe I was supposed to do that and everything in the admin area seems to be working. Is this correct?

Another question I have is in the admin -> extensions I see a Vqmod manager which is not installed. I am a bit hesitant to install this as I am not 100% sure if this is needed or what exactly it will change. Can anyone explain what changes this makes?

Any other suggestions on where to look?

thanks

Newbie

Posts

Joined
Sat Sep 30, 2017 12:38 am

Post by IP_CAM » Thu Nov 16, 2017 9:29 am

Well, you changed the Admin Paths, and you have OcMod + VqMod installed,
and now you seem to be surprised, to run into some errors, related with some of this ?! ::)
Existing OcMods and VqMods possibly cannot 'handle' such a situation, and some
of them will have to be recoded, to work under such conditions, it's as easy as that.

You therefore have to find out, where possible Collision-Points exist, but one cannot tell,
without looking into the Site & Code.

Sorry for the bad News. ::)
Good Luck!
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by cwxOpenCart » Thu Nov 16, 2017 11:18 pm

Hi Ernie,
Well, I changed the admin path based on the security settings and best practices. I am guessing the OCmod is part of the core OC3 so this would be why you are saying that both are installed.

The mod that is not working is very simple. it removes the link on the footer which is for "affiliate".

I guess I'll keep looking into why it does not log the errors it sees and do more research on the vqmod manager in the control panel.

thanks for the reply

Newbie

Posts

Joined
Sat Sep 30, 2017 12:38 am

Post by IP_CAM » Fri Nov 17, 2017 1:59 am

I am guessing the OCmod is part of the core...

well, this is correct, but VqMod is NOT part of the Core, therefore, some collisions may
happen, once in a while, if someone tries to also use VqMods in addition to OcMods.
And if an VqMod tries to modify some Source, an OcMod may already have modified it
as well. And as a consequence of such, the VqMod cannot longer find it's 'anchor-tag' in
the Source file, to do it's Job, because this anchor-tag has already be changed by the OcMod.
It's as easy as that, if two different Caching-Functions are trying to do the same... ::)
Good Luck !
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

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

Post by cwxOpenCart » Fri Nov 17, 2017 2:48 am

Thank you. I will rewrite my mod as a OCmod and install that way to see if that fixes it. I appreciate your help!

Newbie

Posts

Joined
Sat Sep 30, 2017 12:38 am
Who is online

Users browsing this forum: No registered users and 24 guests