Post by opencart-templates » Wed Nov 28, 2012 1:58 am

I am getting far too many general support queries relating to installing vqmod, so thought I would try to help by referencing the common issues I have experienced.

Vqmod wiki on how to install it correctly.

Upgrade to the latest vqmod, this will help we debugging and number of fixes/performance improvements. See full list of changes.

Common vqmod things to check:
  • Have you deleted the required file: vqmod/xml/vqmod_opencart.xml? This is required for opencart.
  • Have both index.php and admin/index.php been modified by vqmod? If you have changed the directory of the admin, you will need to make the changes manually - see wiki.
  • Does vqmod have the correct write permissions - see wiki.
    You can check if its working correctly by emptying the vqcache directory and refresh your website, check the vqcache again to check the files have been re-generated.
    Also old versions of vqmod used to read from the cache for 60 seconds if you dont see your changed instantly this check useCache = false.
  • Moving vqmod .xml files into a sub-folder will not uninstall them, they need to be either moved completely out of the vqmod/xml folder or rename *.xml to *.xml_
Check your error log, either vqmod/vqmod.log or vqmod/log. If vqmod is functioning correctly it will write to the error log exactly what is wrong.

Common Vqmod Errors
  • Error: DOM UNABLE TO LOAD, is usually related to character encoding.
    1. Validate the XML file here: http://www.xmlvalidation.com/
    2. Add <?xml version="1.0" encoding="UTF-8"?> to the top of XML file
    3. Use a application like Notepad++ which can ensure the file is saved in Encoding UTF-8
    4. Ensure any non-standard characters (á, é, etc) are wrapped in CDATA
    5. Re-upload the vqmod XML files, this may of been corrupted when uploading
Last edited by opencart-templates on Wed Nov 28, 2012 4:51 am, edited 1 time in total.

Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK

Post by rph » Wed Nov 28, 2012 4:44 am

Excellent post! You may want to change this bit though:
Moving vqmod .xml files into a sub-folder will not uninstall them
This will effectively keep them from running as VQMod only looks for scripts in /vqmod/xml/.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by opencart-templates » Wed Nov 28, 2012 4:56 am

rph wrote:This will effectively keep them from running as VQMod only looks for scripts in /vqmod/xml/.
Cheers, I have just tested with latest vqmod your correct. Although I was 100% sure this was the issue on an old version of vqmod.

Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK

Post by rph » Wed Nov 28, 2012 5:06 am

I'm fairly sure it was never in VQMod (it's not in v1.2.3 which is the earliest I have). There's not much point in wasting resources on recursive look-ups.

Also for anyone interested VQMod Manager 2.0 Beta does a number of checks to make sure VQMod is installed correctly.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by opencart-templates » Wed Nov 28, 2012 5:45 am

rph wrote:I'm fairly sure it was never in VQMod (it's not in v1.2.3 which is the earliest I have). There's not much point in wasting resources on recursive look-ups.

Also for anyone interested VQMod Manager 2.0 Beta does a number of checks to make sure VQMod is installed correctly.
Very nice and I recommend it to everybody.

Just had a look through your code for v2 and really impressed. I can imagine how much harder its been writing it to work for different versions of vqmod, especially the changes to the logging system and caching.

The only thing which I think its missing is the ability to filter/search the error messages more easily.

Few ideas how this could work:
1. Filter by extension developer.
2. Filter by types of errors. Not found, etc.
3. Giving a grade to the different errors, marking anything which is critical. You could even add some suggestion on how it could be fixed.
4. Grouped repeated errors.
5. Display a report/break down of any other vqmod files which have edited the same file. E.g there is a conflict between 2 extensions. It would be really useful to know which over extension is editing the same file.
6. Delete a single error (or group of same errors). Lets say I have the job of fixing the vqmod errors which have accumulated over a few weeks(big file and lots of duplicates). I dont want to clear the log encase I miss something, instead I would like to delete the error as I fix them one at a time.

Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK

Post by rph » Wed Nov 28, 2012 6:09 am

Truth is I wrote a log parser on two different occasions then gave up. Things kept getting changed around too much.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by opencart-templates » Tue Dec 04, 2012 7:46 pm

In the vqmod manager does it check the version?

E.g it would check the current installed version, then highlight any installed vqmods which have

Code: Select all

<vqmver>2.1.6</vqmver>
or less than.

Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK

Post by rph » Wed Dec 05, 2012 5:52 pm

Can't unfortunately. It's a private variable.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska
Who is online

Users browsing this forum: No registered users and 7 guests