Page 1 of 1

OC bug

Posted: Thu Dec 06, 2018 1:17 am
by ionet
hello warriors of the world
i„m using OC and i„m having a problem.... my shop got down sudently because of this problem:

[05-Dec-2018 19:05:03 Europe/Bucharest] PHP Warning: require_once(/home/XXXX/public_html/vqmod/vqcache/composer/autoload_real.php): failed to open stream: No such file or directory in /home/XXXX/public_html/vqmod/vqcache/vq2-_home_mybook_storage_vendor_autoload.php on line 5
[05-Dec-2018 19:05:03 Europe/Bucharest] PHP Fatal error: require_once(): Failed opening required '/home/XXXX/public_html/vqmod/vqcache/composer/autoload_real.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/XXXX/public_html/vqmod/vqcache/vq2-_home_mybook_storage_vendor_autoload.php on line 5

can some tell what i must do ? Thank you

Re: OC bug

Posted: Fri Dec 07, 2018 3:32 am
by OSWorX
1. why the hell are you using VQMod when you are using OC 3.x ??
2. VQMod has no file vqmod/vqcache/composer/autoload_real.php
3. what extension is that: mybook

So, please elaborate which extensions aditionally you have installed?
And, as it seems, when an extension is the source for such messages, you should contact the developer ot that.

Re: OC bug

Posted: Fri Dec 07, 2018 7:57 am
Well, he did/said nothing wrong ... , really ?! 8)
it's probably home/mybook/storage/vendor/autoload.php
And he/she probably just uses VqMod, because it exists, as well as v.3 VqMods.
I just wonder, what the 'Composer' has to do with this, in the first place,
and most of those probably never ever used Vendor-Subs, but since I never even tried,
I won't be confronted with it anyway, I just had to release some private frustrations :crazy:

Re: OC bug

Posted: Fri Dec 07, 2018 1:24 pm
by OSWorX
IP_CAM wrote:
Fri Dec 07, 2018 7:57 am
.. And he/she probably just uses VqMod, because it exists, as well as v.3 VqMods. ..
Only because it exists and only because many developers are too lazy (and stupid) to migrate to the native OCMod format, it has to be used??
There is really no reason to use VQMod when using OpenCart 2.x or 3.x !

Re: OC bug

Posted: Sat Dec 08, 2018 4:02 am
by ionet
i have resolved the problem by renamind the vqmod file, reuploading the index.php from / and admin folder and them to delete the renamed vqmod folder
thank you !

Re: OC bug

Posted: Thu Mar 07, 2019 2:35 pm
by sedra
I had the same problem and after freaking out (honestly!) i managed to bring the site up by deleting vqcache folder in siteroot/vqmod.

Re: OC bug -- composer autoloader vqcache wrong path

Posted: Wed Aug 26, 2020 5:28 pm
by jlsjonas
My apologies for reviving this thread, however, I came across it while it was still active and also managed to fix the issue using steps above.

Since recently (without any file/extension changes) the file started popping back up, crashing the entire site again until it was removed.
We're relying on vqMod solely for our payment provider's official plugin (at least according to the vqmod manager plugin we added after these problems occurred the first time last year), our installation is (sadly enough) template-specific for this site.

Did anyone encounter this issue again since, and perhaps found a correlation to a root cause?


Re: OC bug

Posted: Thu Aug 27, 2020 12:31 am
Did you ever try, to create an OcMod out of the VqMod(s) you use ?
It's a really simple task, and the vast majority of (translated) VqMods
should work as OcMod anyway. And then, one could remove VqMod
again in full, and replace the VqModded OC Source, such as both
index.php Files, with default Oc Version Code again, to end up
with a clean Installation at last.
Using both OcMod and VqMod in the same Installation is probably the
most unprofessional way, to run an OpenCart Software anyway ... :crazy:

PS. Or then, do the Contrary, and completely remove OcMod from the System: ;)
It's also a really simple task, just to have this mentioned as well, and your Database
would also be grateful for that, and speedier too, if you have many OcMods installed ... :laugh: