Post by rofus » Sat Nov 01, 2014 1:08 am

Hi all,

after a year of developing on a remote test server, I decided to move the test local and leave the live installation alone on the remote server.

I moved all my pages locally in MAMP, database as well, created local environment and modified the few pages I needed to work with the local host and path.

I extensively use VQMOD with almost 100 .xml files, they all work but today I got a problem: one .xml was not working as I changed the original page and it was unable anymore to find the string, but I did not get any log in my vqmod/logs folder (it works on remote server). I already assigned to my local system user all the Opencart (1.5.3.1) installation, plus chmod 777 the logs folder (I'm on OSX).

No errors in apache or php error log, no error in Opencart error.txt log, but VQMod does not write its own log. I also tried modifying the xml taking out the * from the path on the file (I have more than one theme), but again nothing...XML does not work but VQMod does not generate/create any log file.

What else can I do to understand what's happening? As I said VQMod works normally otherwise, it creates its cache files...for some reason does not log..

New member

Posts

Joined
Wed Feb 09, 2011 10:28 pm

Post by rph » Sat Nov 01, 2014 6:28 am

Clear out your cache files (mods.cache, checked.cache, /vqcache/vq2*) and make sure the vQmod script isn't set to suppress error logging for any operations.

-Ryan


rph
Expert Member

Posts

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

Post by rofus » Sat Nov 01, 2014 6:48 am

Hi,

forgot to say that part of the moving to local server was cleaning the mods.cache and all the cache files (don't have any checked.cache?).

How do I check if there's any default logging behaviour than usual one? On this .xml in particular there's no error logging policy specified, so it should default to log, but it doesn't, even when I took out the * from the file path..

New member

Posts

Joined
Wed Feb 09, 2011 10:28 pm

Post by rph » Mon Nov 03, 2014 5:23 am

Look for error="skip" in the vQmod script.

-Ryan


rph
Expert Member

Posts

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

Post by rofus » Tue Nov 04, 2014 1:44 am

Hi Ryan,

already checked and there's no error policy, so it's definitely to log. I did a test on live server and same extension if in error logs...so must be something else...I just cannot find why.. ???

New member

Posts

Joined
Wed Feb 09, 2011 10:28 pm

Post by rph » Wed Nov 05, 2014 2:44 am

1) Make sure you're using the latest version of vQmod.
2) Delete mods.cache, checked.cache, and /vqmod/vqcache/vq* files and ensure they're all being regenerated.
3) Check vQmod has been installed in index.php and /admin/index.php.
4) Check the /vqmod/logs/ directory exists (notice it's "logs" plural).
5) Check that PHP has write permissions to the logs directory.
6) Delete all existing logs so you're looking at newly generated errors.
7) Create a vQmod script which purposely errors out and run it. Check the logs.
8) Check that vqprotect.txt and pathReplaces.php are not messing anything up.
9) Ensure you're on the test server and not the live one.
10) Check vQmod scripts are not suppressing errors with error="skip"
11) Disable all vQmod scripts except the problem one then run vqmod.php through a debugger.

-Ryan


rph
Expert Member

Posts

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

Post by kyuss » Wed Jun 24, 2015 3:38 am

I have a similar, but slightly different problem (which is why I'm jumping on this thread).

My log files are generating, but they aren't displaying in the VQMod Manager interface.

Where do I look to find out what's suppressing them?
I'm not familiar enough with the error reporting aspect of OC.

Thx

New member

Posts

Joined
Sat Dec 01, 2012 2:32 am
Who is online

Users browsing this forum: No registered users and 5 guests