I now can enter the storefront and admin without errors.
How can I easily check if it works, I see nothing appear in the vqmod cache folder.
OK, it works.
No clue why it did not work yesterday.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
VQMOD: Could not delete vqmod/vqmod.log.
Verify path has read/write access
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/account/public_html/vqmod/vqmod.php:224) in /home/acciybt/public_html/system/library/session.php on line 11
--------
Any suggestions?
Are you using vQmod v1.2.3?tjonnyc wrote:I'm *occasionally* (maybe 1 out of 10 reloads) getting the following error message:
VQMOD: Could not delete vqmod/vqmod.log.
Verify path has read/write access
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/account/public_html/vqmod/vqmod.php:224) in /home/acciybt/public_html/system/library/session.php on line 11
--------
Any suggestions?
I had this exact same problem after installing vQMod.uksitebuilder wrote:Not sure if this is an OC bug or due to having vQmod installed but I think it is vQmod
On a demo store with demo products installed, edit the Apple Cinema 30" product and click save.
if public $useCache = FALSE in vqmod.php then the following error is displayed:
setting $useCache = TRUE in vqmod.php then the error goes awayCode: Select all
Notice: Undefined index: option_value_id in/htdocs/site/admin/model/catalog/product.php on line 169Warning: Cannot modify header information - headers already sent by (output started at/htdocs/site/admin/index.php:79) in/htdocs/site/vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at/htdocs/site/admin/index.php:79) in/htdocs/site/vqmod/vqcache/vq-system_engine_controller.php on line 29
In addition, I think the default for $useCache is FALSE in vqmod.php
this means that the cache files are rewritten each time the page loads that has been modded. I have noticed a slight performance hit with this.
According to Qphoria i really needed to increase Upload, Post and Timeout parameters.
I asked my server Customer Service to increase these parameters and the problem solved.
Code: Select all
<modification>
<id>Opencart core file modifications for the setting.tpl</id>
<version>1.5.1.1</version>
<vqmver>1.2.3</vqmver>
<author>mhccorp.com</author>
<file name="admin/view/template/setting/setting.tpl">
<operation>
<search position="after" offset="2"><![CDATA[<span class="error"><?php echo $error_image_additional; ?></span>]]></search>
<add><![CDATA[
<tr>
<td><span class="required">*</span> <?php echo $entry_image_popup_additional; ?></td>
<td><input type="text" name="config_image_popup_additional_width" value="<?php echo $config_image_popup_additional_width; ?>" size="3" />
x
<input type="text" name="config_image_popup_additional_height" value="<?php echo $config_image_popup_additional_height; ?>" size="3" />
<?php if ($error_image_popup_additional) { ?>
<span class="error"><?php echo $error_image_popup_additional; ?></span>
<?php } ?></td>
</tr>
]]></add>
</operation>
</file>
<file name="admin/view/template/setting/setting.tpl">
<operation>
<search position="after" offset="1"><![CDATA[<td><textarea name="config_meta_description"]]></search>
<add><![CDATA[
<tr>
<td><?php echo $entry_meta_keywords; ?> setting.tpl</td>
<td><textarea name="config_meta_keywords" cols="40" rows="5"><?php echo $config_meta_keywords; ?></textarea></td>
</tr>
]]></add>
</operation>
</file>
</modification>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
you should put all changes for a given file as seperate operations under one file tag. It sometimes does strange things when you have multiple file tags with the same file inside one xml.JNeuhoff wrote:Looks like the following XML file (extracted from a bigger XML file of mine from one of my projects) causes the changes to applied twice instead of just once to the file (the setting.tpl in this example) to be modified. Is this a bug in VQmod 1.2.3?
Code: Select all
<modification> <id>Opencart core file modifications for the setting.tpl</id> <version>1.5.1.1</version> <vqmver>1.2.3</vqmver> <author>mhccorp.com</author> <file name="admin/view/template/setting/setting.tpl"> <operation> <search position="after" offset="2"><![CDATA[<span class="error"><?php echo $error_image_additional; ?></span>]]></search> <add><![CDATA[ <tr> <td><span class="required">*</span> <?php echo $entry_image_popup_additional; ?></td> <td><input type="text" name="config_image_popup_additional_width" value="<?php echo $config_image_popup_additional_width; ?>" size="3" /> x <input type="text" name="config_image_popup_additional_height" value="<?php echo $config_image_popup_additional_height; ?>" size="3" /> <?php if ($error_image_popup_additional) { ?> <span class="error"><?php echo $error_image_popup_additional; ?></span> <?php } ?></td> </tr> ]]></add> </operation> </file> <file name="admin/view/template/setting/setting.tpl"> <operation> <search position="after" offset="1"><![CDATA[<td><textarea name="config_meta_description"]]></search> <add><![CDATA[ <tr> <td><?php echo $entry_meta_keywords; ?> setting.tpl</td> <td><textarea name="config_meta_keywords" cols="40" rows="5"><?php echo $config_meta_keywords; ?></textarea></td> </tr> ]]></add> </operation> </file> </modification>
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
I noticed that, after a some trial and error sessionsyou should put all changes for a given file as seperate operations under one file tag. It sometimes does strange things when you have multiple file tags with the same file inside one xml.

However, I still think that this should be addressed, quite often I group my different <file>....</file> with their <operation>....</operation> elements according to the wanted feature. E.g. one feature is adding support for meta_keywords for the home page, another one is adding support for additional popup image size, or another one for adding support for Google AdWords Conversion tracking, etc., and each time it adds configuration details into the setting.php and setting.tpl. For the time being I have bypassed this issue by creating separate XML files for each new feature.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
Waiting for the 2.0 release

ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
There is still a bug in VQmod 2.0 (see my PM) which needs fixing.Qphoria wrote:Yea I think it is time to push 2.0 out.
Tho I personally prefer the smaller logging format from 1.2.3
The logs in 2.0 are a bit bloated
But I'll let you guys be judge
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Secondly, I'm using 1.2.3 now and I'm wondering can vQmod be used to modify db quires? I am trying to modify the following db query
Code: Select all
$this->db->query("INSERT INTO " . DB_PREFIX . "product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', description = '" . $this->db->escape($value['description']) . "'");
Code: Select all
$this->db->query("INSERT INTO " . DB_PREFIX . "product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', description = '" . $this->db->escape($value['description']) . "', specs = '" . $this->db->escape($value['specs']) . "'");
Any ideas? Here's what that section of the vQmod looks like.
Code: Select all
<file name="admin/model/catalog/product.php">
<operation>
<search position="replace"><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', description = '" . $this->db->escape($value['description']) . "'");
]]></search>
<add><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', description = '" . $this->db->escape($value['description']) . "', specs = '" . $this->db->escape($value['specs']) . "'");
]]></add>
</operation>
Users browsing this forum: No registered users and 47 guests