I'm looking at a problem at the moment that is either downright esoteric or staring me in the face (more likely the latter) - but as yet haven't cracked it. A file is not being parsed, despite another file in the same mod being parsed without issue (and nothing in the log).
This is a stripped down version that recreates the issue (library/document.php is parsed but library/cart.php is not):
Code: Select all
<modification>
<id>TEST</id>
<version>1.0</version>
<vqmver>2.1.7</vqmver>
<author>TEST</author>
<file name="system/library/document.php">
<operation>
<search position="before"><![CDATA[private $title;]]></search>
<add><![CDATA[// test]]></add>
</operation>
</file>
<file name="system/library/cart.php">
<operation>
<search position="before"><![CDATA[private $config;]]></search>
<add><![CDATA[// test]]></add>
</operation>
</file>
</modification>
Unfortunately, I'm running on a remote server rather than something I can easily plug into the debugger on my IDE - so back to my question - Does anyone have any tips/tricks for vQmod debugging, or common vQMod 'gotcha's?