Post by feedermania » Sat Apr 06, 2019 11:39 pm

I dont know how to resolve.. OC 3.0.3.1 When i refreshed modifications my site is broken:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Template::__construct(), 1 passed in /var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_loader.php on line 119 and exactly 2 expected in /var/www/clients/client1/web1/web/system/storage/modification/system/library/template.php:24 Stack trace: #0 /var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_loader.php(119): Template->__construct('twig') #1 /var/www/clients/client1/web1/web/catalog/controller/extension/module/category.php(62): Loader->view('extension/modul...', Array) #2 /var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_action.php(79): ControllerExtensionModuleCategory->index(Array) #3 /var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_loader.php(48): Action->execute(Object(Registry), Array) #4 /var/www/clients/client1/web1/web/catalog/controller/common/column_left.php(52): Loader->controller('extension/modul...') #5 /var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_actio in /var/www/clients/client1/web1/web/system/storage/modification/system/library/template.php on line 24

http://feedermania.opencartpoint.eu/

Newbie

Posts

Joined
Mon Jul 30, 2018 2:48 am

Post by IP_CAM » Sun Apr 07, 2019 11:53 am

/var/www/clients/client1/web1/web/vqmod/vqcache/vq2-system_engine_loader.php(119):
Well, you seem to be preparing an OC Extension Shop Site, as it looks.
But you're using OcMod AND VqMod Extensions in an OC-3 Installation,
which makes me wonder, if you really understud, what this means, and
what consequences such a double-murder overkill attempt might have.

It's just not very professional, to have two different systems and ways, to
actually serve for the very same purpose, just in a slightly different way,
neither on OpenCart, nor anywhere else. And to use OcMod, just to then
also use VqMod, to do the same again, one after the other, just in another
way, is a plain Uncoder-Joke, and nothing more. :crazy: :laugh:


But to your Problem: After clearing out OcMod, some VqMod Cache File,
'formerly' using one of those OcMod Cached Files, is so no longer able to find
it, to then make/add it's own changes, and create it's own cache file out of it,
to be used instead, in order to serve as 'final' HTTP Output Code Content File.

So, first clear out the VqMod Cache, immediately before you clear out
OcMod Cache, then, this error might go away, or at least only displays once.

But it still does not make sense, because it would be very easy, to make an
Extension work as VqMod or OcMod, if one really cares, to first learn a little,
before trying to make a business out of something, like OC.
One only needs to download some free Extension, available as OcMod + VqMod,
to easy find out, how 'little Code' needs to be changed/moved in a VqMod,
to make it work as OcMod, and so keeps a system from producing such Errors
for good! :D
Or just look below, to find out!

Good Luck, no offense! ;)
Ernie
---
OcMod:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<name>Auto SEO URL</name>           !!!!!!
<code>auto_seo_url</code>           !!!!!!
<version>1.0</version>
<author>Whoever</author>
<link>http://whatever.com</link>

<file path="admin/view/template/common/footer.xxx">           !!!!!!
<operation error="log">
<search><![CDATA[..................]]></search>           !!!!!!
<add position="before"><![CDATA[..................]]></add>           !!!!!!
VqMod:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>Auto SEO URL</id>           !!!!!!
<vqmver>2.6.1</vqmver>           !!!!!!
<version>1.0</version>
<author>Whoever</author>
<link>http:// whatever.com</link>

<file name="admin/view/template/common/footer.xxx">           !!!!!!
<operation error="log">
<search position="before"><![CDATA[..................]]></search>           !!!!!!
<add><![CDATA[..................]]></add>           !!!!!!
and that's it !

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by thekrotek » Sun Apr 07, 2019 2:01 pm

This has nothing to do with having both VQMod and OCMod in one store. The error says itself pretty clear: some of the modifications improperly calls the class constructor - an argument is missing. You need to find this extension and fix it or ask developer to do this for you.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by feedermania » Sun Apr 07, 2019 2:18 pm

Thy! I want to delete the vqmod cache files, but i get error. I cant delete.

Newbie

Posts

Joined
Mon Jul 30, 2018 2:48 am

Post by thekrotek » Sun Apr 07, 2019 2:58 pm

feedermania wrote:
Sun Apr 07, 2019 2:18 pm
Thy! I want to delete the vqmod cache files, but i get error. I cant delete.
Because VQMod has a dynamic cache, which generates every time you open any page. You need to remove the modification, which causes the issue.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by IP_CAM » Sun Apr 07, 2019 8:25 pm

Well, a problem itself, related to some faulty Mod, might not be solved, just by
only using one way of Caching, but it at least would ONLY produce ONE CLEAR
error Info, telling the user, which Extension does not work as planned.

And that's the only point, and reason, why I mentioned above, to only use one
way of caching, it also saves a lot of time, to find and fix misses ... ::)

Just trying to make life a little easier for all those poor fellows, unaware of
what they're doing. :laugh:
Ernie

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by thekrotek » Sun Apr 07, 2019 8:45 pm

IP_CAM wrote:
Sun Apr 07, 2019 8:25 pm
Just trying to make life a little easier for all those poor fellows, unaware of
what they're doing. :laugh:
By writing crazy long replies? Don't want to ruin your wish to help, but the shorter you're the better :-) People don't read much nowadays and for newcomers it's even more hard to grasp every detail in your replies.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by letxobnav » Sun Apr 07, 2019 9:01 pm

I like to read.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by IP_CAM » Sun Apr 07, 2019 9:13 pm

Well, to really be of any help on this, one would better tell the poor fellow,
which vqmodified OC file needs to be replaced again by a default OC File,
to fully remove VqMod from an Installation. It used to be the Root + Admin
index.php file, in older OC Versions, but from later v.2.x on, I have
no idea, where the VqMod initialisation code is part of.

And some people like to get extended information on such. I feel, that this
is a better way, than only create 2-liners, only to add postings, but not much
of real value to most. But if one does not like it, nobody is forced to read my crab.
And this place is full of nonsense already, so, it really makes no difference, if
I also participate in such, some readers like it, as I found out so far. ;)
And Google likes it too, and that's even more important, that anything else .... :laugh:
Ernie
--
Community Forum
Ask questions about OpenCart and share your experiences

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Mon Apr 08, 2019 5:30 pm

IP_CAM wrote:
Sun Apr 07, 2019 11:53 am
It's just not very professional, to have two different systems and ways, to
actually serve for the very same purpose, just in a slightly different way,
neither on OpenCart, nor anywhere else.
But seeing as OCMOD can't be removed and many extensions use vQmod and many developers prefer vQmod, what exactly do you suggest?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by IP_CAM » Tue Apr 09, 2019 12:29 am

Well Paul, from my very personal and distant point of view, it's more a
Combination, mainly based on Ignorance from one side, and Resistance
from the other, leading to, what resulted in a highly unsatisfactory Situation,
for most everybody involved.

Strictly technically, there was no need, to create an Alternative to VqMod,
under the Aspect, that this Alternative had no advantages over VqMod.
In contrary, adding unneeded Load to a Database, does not make sense,
if such can be handled much easier, by use of a simple Flat File Database,
keeping an already very intensely used MySql DB from surplus additional
work and load.

It was therefore more a 'political' Decision, but sure not based on a need,
to gain anything, compared to, what already existed so far. And as a grave
consequence of this, it added to a lot of problems, pushing a technology,
probably in awareness of the Fact, that both Systems would still exist, but
sure not be of any help to anyone at the end.

OcMod was more like a Brexit, an attempt, to do something in it's own way.
And as a consequence of this, OC-'Consumers' are confronted with problems,
avoidable in the first place, if VqMod would have been accepted, as it exists.
But now, we have 'em both, and it just needs to be accepted. And the only
way out of that mess could be a 'common' standard, like JNeuhoff's VqMod,
at least placing all the xxMod Code into the Database, instead of further
keeping it in different Places, and so adding to never ending potential
Problems.

It's just not good, neither for OC, nor for anyone else, the way it works, as
per now. But it needs to be solved, or it will harm OC in longer terms, it's as
easy as that, strictly from the Business Point of View. We all know this, but
just nobody seems to care about. But again, it requires common Sense,
to reach a common Goal, or then, it's just no gonna work, in longer terms.
That's the #1 Law of doing Business, in a successful way, accept it or not.

But it's not my Problem, and sure not my Intention, to blame anyone, or
even to play teacher. But I was long enough in Business, to know, what it
takes, to please Customers, not, to scare 'em away, possibly only out of
self-esteem and Pride.

Ernie
---
https://www.psychologytoday.com/us/blog ... g-be-proud

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Tue Apr 09, 2019 5:02 pm

IP_CAM wrote:
Tue Apr 09, 2019 12:29 am
But it's not my Problem, and sure not my Intention, to blame anyone, or
even to play teacher. But I was long enough in Business, to know, what it
takes, to please Customers, not, to scare 'em away, possibly only out of
self-esteem and Pride.
I know what you're saying but considering vQmod and OCMOD are what they are, and can't be changed by us, the way I see it, users have little choice but to use both at the moment?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by IP_CAM » Thu Apr 11, 2019 6:23 am

Well, you know the Boss, I don't. :laugh:

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Thu Apr 11, 2019 6:11 pm

IP_CAM wrote:
Thu Apr 11, 2019 6:23 am
Well, you know the Boss, I don't. :laugh:
Haha well, I am an experienced developer, but I'm not about to question the architecture decisions of OC, I just hope there is a resolution in future that is beneficial for OpenCart users, developers and the community.

Until then, although it's sub-optimal, I think we will have to accept that many users will be using both OCMOD and vQmod at the same time.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by IP_CAM » Thu Apr 11, 2019 8:44 pm

Well, the only real Problem is, that OC suffers from this ideological HickHack,
and that's not a very good way to go, strictly from the business point of view.
In contrary, everything should be avoided, only encouraging Users, to move
on to something else, since they did not come to OC, to then be confronted
with Arguments, but working solutions.

Mod Creators should just be aware of such, and act accordingly, instead of
trying to argue about it, it would be of much more help, for most everybody
involved.

Ernie

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Thu Apr 11, 2019 9:28 pm

IP_CAM wrote:
Thu Apr 11, 2019 8:44 pm
In contrary, everything should be avoided, only encouraging Users, to move
on to something else
Ah but it's still the best open source ecommerce platform isn't it?

IP_CAM wrote:
Thu Apr 11, 2019 8:44 pm
Mod Creators should just be aware of such, and act accordingly, instead of
trying to argue about it
A major design philosophy of OpenCart has always been simplicity, so I too would like to see this made simple again in future.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by IP_CAM » Fri Apr 12, 2019 6:37 am

A major design philosophy of OpenCart has always been simplicity,
so I too would like to see this made simple again in future.
I fully agree on this, and it's the main reason, why I'm still using
the latest and best ever Version of simplicity ! :laugh:

But I am also fully aware of the fact, that OC is required to continue,
producing new Versions, or then, take the Risk, to loose you all, in
longer terms, and so it's own Business, since not much need would
exist, to further create new Extensions, to so also generate income,
for everybody involved.
...
Still, it could have been done in another way. I.E. by releasing something
like PEKU's OC v.2.x Bootstrap 1.5.6.5 Idea, for those, just looking for a simple free
Solution. It would still have generated Sales, Themes, and Mods, matching
responsive Theme Coding.

And it would have allowed OC, to concentrate on it's CLOUD Version and Idea,
as it has been planned with later OC-2+ Types anyway, since Cloud would at
least generate some 'regular' Income, to no longer mainly depend on Sale
Provisions only.

And the 'latest-only' Freaks would still be part of it, testing and trying out latest
Prototypes and new Functions. Fully aware of, to only be Part of a range of Testers,
but sure not expecting something final anymore, as it is the unfortunate case today.
...
But what am I doing here ? A crazy old Nut, trying to tell someone, how to run
a Business ? ??? :crazy:
So, please don't force me, to continue, or I risk, to get a second PM, like the first one,
about 5 Years ago, after seemengly over-estimating the britisch Humor + Interpretation
of this:
https://en.wikipedia.org/wiki/First_Ame ... nstitution
...
But just don't take me seriously, it's just my interpretation of doing things of high interest.
Either in full, or then not. And OC somehow made it, to keep me for 20+K Hours on my chair,
possibly just trying to prove the DEV's, that even a Boozo-brain like me can build and tune
an OC to it's Best. :P
Regardless of, how long it takes !

And if I would not have wasted a good part of that time at a bloody Forum, humorless, and
for not one good reason, I would have reached my ultimate Goal some time ago already, :'(
I assume ... :crazy:

Ernie

I don't use the Forum Mailer, to reach me, contact: jti@jacob.ch
-
Demoversions:
OpenCart LIGHT v.1.5.6.5 http://www.bigmax.ch/
OpenCart V-PRO v.1.5.6.5 http://www.ocshop.li/shop/
-
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

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

Post by paulfeakins » Fri Apr 12, 2019 4:23 pm

IP_CAM wrote:
Fri Apr 12, 2019 6:37 am
But what am I doing here ? A crazy old Nut, trying to tell someone, how to run
a Business ? ??? :crazy:
So, please don't force me, to continue, or I risk, to get a second PM, like the first one,
about 5 Years ago, after seemengly over-estimating the britisch Humor + Interpretation
of this:
https://en.wikipedia.org/wiki/First_Ame ... nstitution
Haha well I personally think it's very important that people are allowed to say whatever they want - no one has to listen after all!

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 8 guests