Post by sculptex » Thu May 28, 2015 6:07 pm

Running the latest vqmod 2.5.1 on oc 2.0.2.0. Using AE Pro vqmod manager and experiencing the following issues:-
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

Attachments


ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by IP_CAM » Fri May 29, 2015 7:36 pm

I don't know, but I don't think that this VqMod would ever work this way.

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>
Ernie
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.


User avatar
Legendary Member

Posts

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

Post by sculptex » Fri May 29, 2015 7:46 pm

it works like a charm. I have 10+ mods using this ignoreif method now all successfully. try the mod and see for yourself!

the root of my problem is somehow I have doubled up my vqmod install but this circumvents it.

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by IP_CAM » Sat May 30, 2015 2:06 am

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>
Or then, has THIS:

Code: Select all

    <ignoreif><![CDATA[
// MOD INSTALLED sitemapaddproducts
        ]]></ignoreif>
any relation to it?
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.


User avatar
Legendary Member

Posts

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

Post by Qphoria » Sat May 30, 2015 2:19 am

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>
He has "index=1" as the position attribute so it will only find the first closing </div>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by sculptex » Fri Aug 21, 2015 7:27 pm

I thought I would update this as I constantly see people with this sort of problem,

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

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by sculptex » Sun Aug 30, 2015 7:59 pm

perhaps I didn't explain very clearly, what I meant was do not use something such as
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.

ImageImage


User avatar
Active Member

Posts

Joined
Tue Sep 13, 2011 3:07 am
Location - UK

Post by Qphoria » Mon Sep 07, 2015 7:48 am

Agreed.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by justcurious » Fri Nov 13, 2015 9:41 pm

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.

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


User avatar
Active Member

Posts

Joined
Sat Dec 24, 2011 4:36 pm
Location - UK

Post by Qphoria » Thu Dec 24, 2015 4:37 am

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.
disabling that file disables vQmod entirely.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by gob33 » Thu Dec 24, 2015 7:32 am

I disagree. Use vqmod 2.5.1 qphoria and other extensions using the ocmod system, and you go into problems.
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.

All my extensions


Active Member

Posts

Joined
Wed Feb 10, 2010 8:43 am
Location - France

Post by justcurious » Mon Dec 28, 2015 9:38 pm

disabling that file disables vQmod entirely.
You're right of course.

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


User avatar
Active Member

Posts

Joined
Sat Dec 24, 2011 4:36 pm
Location - UK

Post by IP_CAM » Tue Dec 29, 2015 2:47 am

> 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. <

.... 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.


User avatar
Legendary Member

Posts

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

Users browsing this forum: Ahrefs [Bot] and 18 guests