AE Pro VQMod Manager appears twice under the Tools Menu
Some mods appear to be applied twice -
I get vqmod applymod errors because the original vqmod line has already been replaced
I get mods (that don't replace the search line) being applied twice.
To circumvent this applying twice issue I started putting comment lines in my mods and inserting an ignoreif condition, please see attached. However I now get the following error when I refresh my modifications when the attached mod is enabled??
Notice: Undefined variable: tmp in /home/xxxx/public_html/admin/controller/extension/modification.php on line 160Warning: strpos() expects parameter 1 to be string, array given in /home/xxxx/public_html/admin/controller/extension/modification.php on line 160Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/admin/index.php:84) in /home/xxxx/public_html/system/library/response.php on line 12
Code: Select all
<file name="catalog/view/theme/default/template/information/sitemap.tpl">
<operation>
<ignoreif><![CDATA[
// MOD INSTALLED sitemapaddproducts
]]></ignoreif>
<search position="before" index="1"><![CDATA[
</div>
]]></search>
<add><![CDATA[
<ul>
bigmax.ch/os/
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.
Code: Select all
<search position="before" index="1"><![CDATA[
</div>
]]></search>
Code: Select all
<ignoreif><![CDATA[
// MOD INSTALLED sitemapaddproducts
]]></ignoreif>
Or do you really use 'counted empty spacing' after the </div> to make it individually 'looking'?
I feel very low, on this...

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.
He has "index=1" as the position attribute so it will only find the first closing </div>IP_CAM wrote:But tell me, how in the world is it possible, to use a single </div> to server as 'anchor', in a file, probably full of such </div> statements?
Code: Select all
<search position="before" index="1"><![CDATA[ </div> ]]></search>
DO NOT use an ocmod installer for vqmod installation, this was the cause of all my problems.
just install vqmod using the latest github install (search for github vqmod opencart - deliberately not putting link in case it gets outdated)
I also recommend enhanced vqmod manager;
http://www.opencart.com/index.php?route ... arch=vqmod
http://www.opencart.com/index.php?route ... n_id=19501
to install the vqmod system as it will create its own set of problems
the above mod caused me no end of problems, none of which were vqmod itself.
only use latest vqmod installation instructions as on github to install the vqmod system.
http://www.opencart.com/index.php?route ... n_id=21356.
It also forces vqmod files to be run twice. I thought I was going mad (perhaps I am

I found that disabling the file vqmod/xml/vqmod_opencart.xml largely solved the problem. Hope that helps someone.
Google Product Feed - Get your products into Google Shopping. Includes a bulk update facility.
Backup Pro - Backup (on demand or scheduled), Restore and Clone your store.
Freestyle Box - Add multiple information boxes on multiple pages of your store. Includes optional "Code Mode".
View my other extensions
disabling that file disables vQmod entirely.justcurious wrote:I wasted over a day because of this extension:
http://www.opencart.com/index.php?route ... n_id=21356.
It also forces vqmod files to be run twice. I thought I was going mad (perhaps I am).
I found that disabling the file vqmod/xml/vqmod_opencart.xml largely solved the problem. Hope that helps someone.
These systems are incompatible. JNeuhoff's integrated vqmod in OC2 seems to work better.
AE Pro vqmod manager: dont use it.
Safest: all you extensions in ocmods.
You're right of course.disabling that file disables vQmod entirely.
In the case of the extension I highlighted, it solved the problem. That particular extension was duplicating the contents of the main vqmod .XML file which caused all changes to be applied twice. I didn't want to waste any more time trying to unravel the mess that it had made of the clients installation and disabling the file worked.
These problems tend to be highlighted when someone has installed a large number of extensions making it a nightmare to support your own extensions.
If only those individuals who had "helpfully" included their own version of vqmod with their extensions had considered that users may also want to install other vqmod based add-ons.
Grrrr !
Google Product Feed - Get your products into Google Shopping. Includes a bulk update facility.
Backup Pro - Backup (on demand or scheduled), Restore and Clone your store.
Freestyle Box - Add multiple information boxes on multiple pages of your store. Includes optional "Code Mode".
View my other extensions
.... or better, if Daniel would have 'illegalized' the further use of VqMod's, in the first place, for V.2.x Series, there would not be a single Problem, probably, related with such. But OC is an open System, everybody is free, to add, what's available. It's therefore the sole Responsability of OC-Installers, creating parts of their Income with such Doings, to handle the matter in a professional way. And those, not able to, will not succeed, in the long run, like in every free and open market, where just real Pro's are part of the Game, usually, at least.
By Nature of Things!
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.
Users browsing this forum: Ahrefs [Bot] and 18 guests