Questions tagged [vqmod]

A virtual modification system designed to avoid having to change core files, primarily in an MVC architecture and very popular with the OpenCart e-commerce package

vQmod™ (aka Virtual Quick Mod) is an override system designed to avoid having to change core files. Instead of making changes to the core files directly, the changes are created as xml search/replace script files. These script files are parsed during page load as each "source" core file is loaded with the "include" or "require" php functions. The source is then patched with the script file changes, and saved to a temporary file. That file is then substituted for the original during execution. The original source file is never altered. This results in a "virtual" change to the core during execution without any actual modification to the core files.

You can download VQmod from GitHub and from Google Code

165 questions
0
votes
1 answer

vqcache/vq2-catalog_controller_common_header.php

I am receiving this error message: [17-Mar-2017 10:22:14 America/Detroit] PHP Parse error: syntax error, unexpected end of file in /home/smarthea/public_html/ocart/vqmod/vqcache/vq2-catalog_controller_common_header.php on line 50 Here is the end of…
huiz41
  • 3
  • 1
0
votes
4 answers

DOMDocument missing in php5.6

I'm attempting to set up a store using opencart which i am honestly very new to. I bought a theme and for some reason the team uses vqmod. I was able to install the vqmod using: localhost/mystore/vqmod/install and i get this response. VQMOD…
Fadil Olamyy Wahab
  • 626
  • 2
  • 6
  • 15
0
votes
1 answer

How to add Customer Region / State column in admin for Opencart?

I'm struggling with OC 2.0.1.1, adding to admin side just a single Region / State column. I found a free vqmod module for customer cities. It's working perfectly using the City data. I even tried to modify for Region-State but could'nt make it. In…
serkanbalta
  • 103
  • 4
0
votes
1 answer

Opencart install module with vqmod

I just started to learn open cart and I'm trying to install a new module using VQMod; any tutorials or any help? (I have the files in model view and controller but when I try to access them from the URL it says "permission denied")
Leo
  • 11
  • 3
0
votes
1 answer

How to get user information to .tpl file in opencart using vqmod?

I am new in opencart and I am trying to make some changes using vqmod.I have built a xml file which will add some text on product_list.tpl depending on user's id.The problem is that I cannot get id.I tried a lot but still no success.If anyone knows…
GeoDim
  • 171
  • 2
  • 3
  • 11
0
votes
0 answers

Apache silenty stops executing PHP script

I am running Apache 2.4.23 and PHP 5.6. Everything runs fine except a PHP script that is being silently dropped in the middle of its execution at a specific spot. "display_errors" are On and error_reporting is set to E_ALL in php-5.6.ini. I have…
Peter O.
  • 55
  • 8
0
votes
1 answer

Opencart 2.0.1.1 vQmod download and Installation

I have downloaded vQmod from https://github.com/vqmod/vqmod/releases When I installed the files in opencart root folder and run opencart website http://localhost/opencart/vqmod/install/ i should see the installation success message,but i am unable…
harron
  • 29
  • 14
0
votes
1 answer

Could not load template error in opencart Version 2.1.0.2

I am getting following error after refreshing modification and I don't have file footertop.tpl at that location. url - Website Link Notice: Error: Could not load template …
Rakesh Mishra
  • 358
  • 5
  • 17
0
votes
0 answers

Problems with vQMod for opencart

In practice, I am trying to change something in some other file, but even this simple example does not work. I've been using vQmod version 2.6.1 on OpenCart 2.2.0. public static $_vqversion = '2.6.1'; Additional info: Linux version…
AlFra
  • 379
  • 1
  • 6
  • 17
0
votes
1 answer

OpenCart 1.5 - Admin username is autofilling across store are in Chrome/Firefox

We use OpenCart 1.5+ and find that our saved Admin username autofills into the search box on the shop side. Also does this on other form data. This happens in Chrome and Firefox. I have seen a VQMod being implemeted to help prevent this, any other…
me9867
  • 1,519
  • 4
  • 25
  • 53
0
votes
1 answer

vqmod logs opencart error

I had installed an extension which was working great, but after doing some modification it stopped working. and i was going through the vqmod/logs and found this error, can anyone please solve this issue? REQUEST URI :…
Adi
  • 25
  • 1
  • 9
0
votes
2 answers

Using "Offset correctly in Opencart with VQMod

I am trying to search and replace some code I have got from VQCache. When I search in my code editor it finds it, but it throwing an error in the browser. I think the "offset" amount is wrong. can anyone help? Change…
me9867
  • 1,519
  • 4
  • 25
  • 53
0
votes
2 answers

vQmod fails to write to vqcache directory on OpenCart

Can anyone suggest why vQmod fails to write cache files and instead writes an empty file named vq2-C to /vqmod/vqcache? Environment Windows Server 2012 Plesk Panel 12.5 PHP 5.3.2.9 MySQL 5.6.26 OpenCart 2.1.0.1 vQmod 2.6.1 Issue vQmod fails to save…
chris.dempsey
  • 363
  • 5
  • 10
0
votes
0 answers

vQmod won't modify an OpenCart template file

I am running OpenCart 2.1.0.2 and have installed vQmod 2.5.1. For some reason vQmod won't modify one of my template files. In case it bears any relevance, I am using a premium template called "Fastor" from ThemeForest. Let's say that I create an XML…
Sam G
  • 337
  • 1
  • 4
  • 13
0
votes
1 answer

Using htmlspecialchars with foreach loops

I an edit in my Opencart code, however after looking at a tutorial on foreach loops many highlight the importance of using htmlspecialchars to prevent injections. Do I need to use it on the following code?
flint781
  • 61
  • 1
  • 4