I've had an OpenCart v1.5.1.3 installation running for a couple of years with vQmod 1.0.8 and a bunch of vQmod extensions, all working fine. This weekend I've been setting up a new site, also on 1.5.1.3, and I've copied lots of extensions across from the old site to the new site - all worked fine except for a couple of extensions that produced errors. I eventually realised that the errors were being caused by the vQmod version - I had installed the latest vQmod (2.4.1) on the new site and this was the reason they weren't working. When I copied the vqmod_opencart.xml file from the old site (with vQmod 1.0.8 ) to the new site in place of the equivalent file that came with vQmod 2.4.1, the errors went away and it all worked perfectly, so obviously the extensions only worked with vQmod 1.0.8 for some reason. However, when I tried to access the /admin site it produced an error: "Cannot instantiate abstract class VQMod"
I figured maybe the old version of vQmod ( 1.0.8 ) needed to be installed properly via the installer, rather than just copying the vqmod_opencart.xml file across, so I removed the vQmod directory and reverted the index.php files in both root and /admin to the default ones, then copied all the 1.0.8 files across from the old site and went to site.com/vqmod/install and it said vqmod had been installed successfully. But after doing that, the new site wouldn't load at all! It produced the dreaded internal server error:
"Internal Server Error: The server encountered an internal error or misconfiguration and was unable to complete your request."
I've once again removed vQmod and reverted both the index.php files to default but it hasn't made any difference - my site still won't load at all!
Anyone got any idea how I've managed to mess this up so badly and how I might be able to fix it?!
Thanks a lot
Adam
I figured maybe the old version of vQmod ( 1.0.8 ) needed to be installed properly via the installer, rather than just copying the vqmod_opencart.xml file across, so I removed the vQmod directory and reverted the index.php files in both root and /admin to the default ones, then copied all the 1.0.8 files across from the old site and went to site.com/vqmod/install and it said vqmod had been installed successfully. But after doing that, the new site wouldn't load at all! It produced the dreaded internal server error:
"Internal Server Error: The server encountered an internal error or misconfiguration and was unable to complete your request."
I've once again removed vQmod and reverted both the index.php files to default but it hasn't made any difference - my site still won't load at all!
Anyone got any idea how I've managed to mess this up so badly and how I might be able to fix it?!
Thanks a lot
Adam
You got the install process mixed around. vQmod will definitely work with OpenCart 1.5.1.3.
1) Revert to the default OpenCart 1.5.1.3 index files in both the store root and /admin.
2) Upload the latest version of vQmod to your store. Make sure you overwrite all files. The old vqmod_opencart.xml file will NOT work with 2.4.1.
3) Run the installer again.
1) Revert to the default OpenCart 1.5.1.3 index files in both the store root and /admin.
2) Upload the latest version of vQmod to your store. Make sure you overwrite all files. The old vqmod_opencart.xml file will NOT work with 2.4.1.
3) Run the installer again.
-Ryan
I'm not saying vQmod itself won't work with OC 1.5.1.3, it's just a couple of vQmod extensions running on my old 1.5.1.3 site ( with vQmod 1.0.8 ) don't seem to work with the latest version of vQmod for some reason!rph wrote:You got the install process mixed around. vQmod will definitely work with OpenCart 1.5.1.3.
This is what I tried originally - the aforementioned extensions threw up errors. When I tried replacing the 2.4.1 vqmod_opencart.xml file with the 1.0.8 version, the extensions started working fine on the main site, except that the admin site stopped working! My brain hurtsrph wrote:1) Revert to the default OpenCart 1.5.1.3 index files in both the store root and /admin.
2) Upload the latest version of vQmod to your store. Make sure you overwrite all files. The old vqmod_opencart.xml file will NOT work with 2.4.1.
3) Run the installer again.

vqmod_opencart.xml is the required script which integrates vQmod with OpenCart. Using the old version made vQmod non-functioning, hence no errors.
Old scripts should be fully forward compatible with the exception of the rare few which use the position="all" attribute. If you're having issues with an upgrade you should make sure you're clearing your cache and log files and that the directories have correct permissions.
Old scripts should be fully forward compatible with the exception of the rare few which use the position="all" attribute. If you're having issues with an upgrade you should make sure you're clearing your cache and log files and that the directories have correct permissions.
-Ryan
Hmmmm I'm 99% certain all the vQmod extensions worked after I swapped the vqmod_opencart.xml files, although I'll check. I'll also check for position="all" in the two that weren't working in case that's the problem.rph wrote:vqmod_opencart.xml is the required script which integrates vQmod with OpenCart. Using the old version made vQmod non-functioning, hence no errors.
Old scripts should be fully forward compatible with the exception of the rare few which use the position="all" attribute. If you're having issues with an upgrade you should make sure you're clearing your cache and log files and that the directories have correct permissions.
(I cleared cache and logs and also checked permissions btw so it's not that)
I've tried removing and re-uploading / re-installing vQmod but I'm still getting an Internal Server Error whenever I try to load any page on the website! Anyone got any idea how to fix this?! It's definitely been caused by messing around with vQmod as I've followed the exact same steps on two clean installs of OpenCart and it happened at the same point on both sites. Argh!


Tried that, it's not any of the scripts - it's vQmod itselfrph wrote:Clear your error logs, remove all vqmod scripts except vqmod_opencart.xml, then re-add one at a time until you find the one causing the error.

It seems unlikely to me too because I can't see any files that are affected by vQmod apart from the ones inside the /vqmod directory and the two index.php files - so you would think that removing the /vqmod directory and reverting to the original index.php files would work fine. But sadly not - the whole site goes down with a 500 Internal Server Error and no matter what I do, I can't solve it. Re-upload, re-install, re-delete - nothing makes any difference. And it's exactly the same on both installations of OpenCart that I've been working on this weekend. Bizarre!
I didn't change anything else at all so it's 100% vQmod that's causing it, especially since it happened the same way on both the OpenCart installations I was working on. I'll check the server logs tomorrow and see what I find.
Hosting guys say there are no error logs, doh! I've played around again with deleting and replacing files, made 10000% sure the index.php files are the originals, nothing is making any difference - Internal Server Error no matter what I try. Are there any files/settings beyond the two index.php files that are edited in any way when you install vQmod? I'm running out of ideas and I really don't want to have to re-install OpenCart from scratch as I've already done that once and the exact same thing happened!
If they're the original index.php files then it's impossible that vQmod could be running. Your host is either giving you a line or doesn't know what it's doing if they claim there aren't logs for a 500 error. The two main causes are an error in .htaccess or a PHP script so disable your .htaccess (the most common cause is the htaccess RewriteBase is wrong but that shouldn't happen in an upgrade scenario). If that doesn't work, re-upload and overwrite your complete OpenCart install.
-Ryan
Just removed .htaccess and it made no difference, so I guess it looks like a PHP script issue. Can't get my head around it as the website loaded at one point with a couple of PHP errors, then I downgraded vQmod (replaced the vqmod_opencart.xml file with the old one) and it still rendered but with the PHP errors fixed, albeit with a new error on the admin index.php - this was the point at which I tried removing and re-installing vQmod and it started giving me Internal Server Errors. I'm wondering if disabling vQmod somehow exposed a dodgy PHP script that required a vQmod script in order to run correctly - except if that's the case why would it still not be working even after re-installing both old and new versions of vQmod?! I guess I'll have to re-install OpenCart from scratch again and hope it doesn't happen a third time! Not exactly hopeful that it will work, although on both the first two installations I've initially installed vQmod 2.4.1 then downgraded to 1.0.8 - maybe this time I'll start with vQmod 1.0.8 and see if that makes any difference.rph wrote:If they're the original index.php files then it's impossible that vQmod could be running. Your host is either giving you a line or doesn't know what it's doing if they claim there aren't logs for a 500 error. The two main causes are an error in .htaccess or a PHP script so disable your .htaccess (the most common cause is the htaccess RewriteBase is wrong but that shouldn't happen in an upgrade scenario). If that doesn't work, re-upload and overwrite your complete OpenCart install.
Don't suppose anyone still has the original installer for vQmod 1.0.8? Or does it work the same to simply copy the files from an existing 1.0.8 installation?
Honestly you should consider hiring someone (Commercial Support Forum, OpenCart Partners). You've spent days on an issue a developer could probably solve in under an hour.
-Ryan
I'll hire someone as a last resort, I can usually fix stuff eventually and I'm convinced when I figure this out it will be something quite simple!
Incidentally, I realised that when there's an index.htm file it actually loads - it's just when the index files are .php that it throws an Internal Server Error. So PHP appears to be broken! All I can think of in that respect is that it could be the php.ini files as I don't see any other files that would mess with PHP as a whole, however I can't see anything suspicious in the code in those files.
Incidentally, I realised that when there's an index.htm file it actually loads - it's just when the index files are .php that it throws an Internal Server Error. So PHP appears to be broken! All I can think of in that respect is that it could be the php.ini files as I don't see any other files that would mess with PHP as a whole, however I can't see anything suspicious in the code in those files.
Who is online
Users browsing this forum: No registered users and 33 guests