XML (Extensible Markup Language) is meant to be a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It wasn't designed to be a programming language.
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus
Many thanks for your quick reply!
I just realized that i could update to latest vqmod version 2.6.4 so I just did that.
OK, the I see. I have been looking on this integrated vqmod solution and I will proceed with that. I just have some questions about how it works and what I need to do in my shop...
So, right now I´m using as you now vqmod. If I will go over to this solution with integrated instead, what do I need to think about regarding the old details? Do I still running the old vqmod together with the new solution? Do I need to move current files to a new destination folder?
I´m quite newbie on this details but I will try to do my best so it gets done the best way...
And technically, Integrated VqMod Cache will then automatically be handled
like OcMod Cache Content, and cleared out too, since Integrated VqCache Content
resides in the same Database Table Section.
PS: Just about every VqMod could be rewritten into an OcMod easy, if one really cares,
to have it all coded in the same way: 3 simple changes are required per section, that's it!
VqMOD:
Code: Select all
<file name="catalog/controller/product/category.php"> (HERE!)
<operation error="log">
<search position="replace"><![CDATA[ (HERE!)
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) {
]]></search>
<add><![CDATA[ (and HERE!)
if (!$this->data['categories']&& !$this->data['products']) {
OCMOD:
Code: Select all
<file path="catalog/controller/product/category.php">
<operation error="log">
<search><![CDATA[
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/category.tpl')) {
]]></search>
<add position="replace"><![CDATA[
if (!$this->data['categories']&& !$this->data['products']) {
I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'100 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus
if those integrated 'vqmodded' oc_modifications will be visible and editable
like OcMods, Users could then make sure, to get and use the matching tools.
But since I don't use it, I just don't know ...

Ernie
https://www.opencart.com/index.php?rout ... d%20Editor
I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'100 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
All extensions, whether VQmod or OCmod, whether stored in the DB, or the 'system' folder, or the 'vqmod/xml' folder, are listed in the admin backend under 'Extensions > Modifications'. See sample screenshot.IP_CAM wrote: ↑Fri Jan 17, 2020 2:03 am@JNeuhoff: Just a question, it would probably be good to know,
if those integrated 'vqmodded' oc_modifications will be visible and editable
like OcMods, Users could then make sure, to get and use the matching tools.
But since I don't use it, I just don't know ...![]()
Ernie
Attachments
OCmod/VQmod listing - Screenshot_2020-01-16_18-46-40.png (91.37 KiB) Viewed 3563 times
Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus
Simply edit vqmod/vqmod.php and set:
Code: Select all
private static $_devMode = false;
Code: Select all
private static $_devMode = true;

JNeuhoff wrote: ↑Fri Jan 17, 2020 12:42 am@tsloc: Qphoria's suggestion should work if you continue to use his VQmod. Or, you could use the Integrated VQmod which doesn't use the 'vqmod/vqcache' and hence won't have this issue. Your suggestion of merely deleting the 'vqmod/vqcache' is only a temporary solution.
Life saver ! Thanks !!swiftws wrote: ↑Wed Apr 29, 2020 10:17 pmYour vqmod might be ok i havent tried it but a SIMPLE SOLUTION I HAVE FOUND AFTER ONE YEAR BATTLE , I have no choice but to use Vqmod because of one extension. HERE IS HUGE CACHE FILE SOLUTION SIMPLEY DISABLE IT
Simply edit vqmod/vqmod.php and set:toCode: Select all
private static $_devMode = false;
if this isnt working to improve your load speed and not having cache issue then nothing willCode: Select all
private static $_devMode = true;
JNeuhoff wrote: ↑Fri Jan 17, 2020 12:42 am@tsloc: Qphoria's suggestion should work if you continue to use his VQmod. Or, you could use the Integrated VQmod which doesn't use the 'vqmod/vqcache' and hence won't have this issue. Your suggestion of merely deleting the 'vqmod/vqcache' is only a temporary solution.
Not really true, there is another solution which works perfectly, see: https://github.com/vqmod/vqmod/pull/156
What that does?
It simply changes the way how the path is handled especially if the storage folder is outside the public folders (which is basically a good idea and handled automatically since OpenCart 3.x).
Don't know why the devs there not implementing this ..
Here https://github.com/vqmod/vqmod/pull/152 is another fix which should work (did not test it).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I was wondering a bit about VQMod handling paths outside of the public_html folder yesterday for an extension I would develop. That is good information.OSWorX wrote: ↑Mon May 11, 2020 9:35 pmNot really true, there is another solution which works perfectly, see: https://github.com/vqmod/vqmod/pull/156
What that does?
It simply changes the way how the path is handled especially if the storage folder is outside the public folders (which is basically a good idea and handled automatically since OpenCart 3.x).
Don't know why the devs there not implementing this ..
Here https://github.com/vqmod/vqmod/pull/152 is another fix which should work (did not test it).
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Sometimes really, really bad!straightlight wrote: ↑Mon May 11, 2020 9:47 pmI was wondering a bit about VQMod handling paths outside of the public_html folder ..
In the worst case can lead to a shop not working anymore (= white screen).
With that fix (1.), my clients have no problems anymore (if they use OC 3.x).
And as the creator of VQMod (Qphoria) suggested to edit the config files, I would say this cannot be a final solution.
One final note to the "tipp" above (enabling the debug mode): all what that does, is NOT to cache the files.
So basically useless!
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Especially since this is a third-party Engine, I would have to agree on that.OSWorX wrote: ↑Mon May 11, 2020 10:14 pmSometimes really, really bad!straightlight wrote: ↑Mon May 11, 2020 9:47 pmI was wondering a bit about VQMod handling paths outside of the public_html folder ..
In the worst case can lead to a shop not working anymore (= white screen).
With that fix (1.), my clients have no problems anymore (if they use OC 3.x).
And as the creator of VQMod (Qphoria) suggested to edit the config files, I would say this cannot be a final solution.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
vQmod should clear cache on every rebuild.
Line 251 of vqmod.php:
Code: Select all
I suggest you uninstall this version and get 2.5.1 or try the latest 2.6.1.
The code you show is from older version, either 2.3.2 ?
If you use VQmod from https://github.com/vqmod/vqmod/releases then its vqmod/vqcache/* or its vqmod/*.cache files are not refreshed by a Extensions > Modifications > Refresh, the latter is only for OCmod.
like OcMod and VqMod, I'm sure, that the Freaks would download and
install it too.

is part of this Place. And it's also the DEV's, unwilling to follow the rules,
otherwise, VqMod would never made it into OC v.2.+ Versions in the first
place. But (new) OC Users just don't know, they take, what they can get,
unaware of the consequences, as long as something comes for free.

Ernie
I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'100 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
This actually worked for me. I just had to also add a new empty line after this one.
Can anyone tell me if there will be any issues in the future? I don't see the file to be written any more.
I am no longer active at the Forum. Please do NOT send me Personal Mails,
they will no longer be replied to.
My Github OC Site: https://github.com/IP-CAM
4'100 + FREE OC Extensions, on the World's largest Github OC Repository Archive Site.
Users browsing this forum: No registered users and 4 guests