[MOD] - VirtualQMod "vQmod" Virtual File Modification System
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
might be that you have compression enabled.
Happy Coding!
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
-

uksitebuilder - Posts: 5602
- Joined: Thu Jun 09, 2011 3:37 pm
- Location: United Kindgom
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Going to release vQmod 2.0 for public use some time this weekend. Likely start a new thread as this one is getting long and difficult to traverse

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18200
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
affect wrote:I've been trying to find out why do I get blank pages instead of errors sometimes although I have error_reporting and display_errors set correctly everywhere.
I have had the same issue with the error_reporting ending up with 0 after execution of all my XML files in VQmod 1.2.3. This problem of corrupting the error_reporting doesn't exist in VQmod 2.0 which I have been testing for the past few weeks, so I just kept using that version. Hopefully Q will release it soon to the public because it works quite well, haven't had any issues with this new version.
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2113
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Always good newsJNeuhoff wrote:Hopefully Q will release it soon to the public because it works quite well, haven't had any issues with this new version.
Hopefully it'll be released this week. Will work on the auto installer the next few days to see what I can do about getting it to check if a file is written or not
Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4634
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
this is a page of promise haha
im excited for the new release
and your auto installer Jay would be most useful to many
i think ill wait for 2.0 before giving vq a try!
im excited for the new release
and your auto installer Jay would be most useful to many
i think ill wait for 2.0 before giving vq a try!
- thisisworldwide
- Posts: 37
- Joined: Wed Jun 01, 2011 5:57 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
thisisworldwide wrote:this is a page of promise haha
im excited for the new release
and your auto installer Jay would be most useful to many
i think ill wait for 2.0 before giving vq a try!
the auto installer already exists in the latest version. He just has to update it for 2.0 before release, and he's trying to figure a way to check that the changes actually got made to the files. For the vast majority of people the auto-installer in the existing version works fine.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
- Xsecrets
- Posts: 5042
- Joined: Sat Oct 24, 2009 7:51 pm
- Location: FL US
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
JAY6390 wrote:Always good newsJNeuhoff wrote:Hopefully Q will release it soon to the public because it works quite well, haven't had any issues with this new version.Hopefully it'll be released this week. Will work on the auto installer the next few days to see what I can do about getting it to check if a file is written or not
I am afraid I came accross a bug in the new VQmod 2.0, as follows:
Given the XML file which modifies the system/engine/controller.php, by adding some functions at the bottom:
- Code: Select all
<modification>
<id>OpenCart 1.4.9.x core file modifications</id>
<version>1.4.9.x</version>
<vqmver>2.0</vqmver>
<author>JNeuhoff</author>
<file name="system/engine/controller.php">
<operation>
<search position="bottom" offset="1"><![CDATA[]]></search>
<add><![CDATA[
public function startsWith( $haystack, $needle ) {
if (strlen( $haystack ) < strlen( $needle )) {
return FALSE;
}
return (substr( $haystack, 0, strlen($needle) ) == $needle);
}
public function endsWith( $haystack, $needle ) {
if (strlen( $haystack ) < strlen( $needle )) {
return FALSE;
}
return (substr( $haystack, strlen($haystack)-strlen($needle), strlen($needle) ) == $needle);
}
]]></add>
</operation>
</file>
</modification>
It always results in this at the end of the file:
- Code: Select all
protected function fetch($filename) {
$file = DIR_TEMPLATE . $filename;
global $vqmod; $file = $vqmod->modCheck($file);
if (file_exists($file)) {
extract($this->data);
ob_start();
require($file);
$content = ob_get_contents();
ob_end_clean();
return $content;
} else {
exit('Error: Could not load template ' . $file . '!');
}
}
0
?>
That is, instead of adding the 2 functions, it only added a '0'!
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2113
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Is this a code bug or the oc xml bug for the template fetch?

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4634
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
JAY6390 wrote:Is this a code bug or the oc xml bug for the template fetch?
The first modification of the system/engine/controller.php from the vqmod_opencart.xml works fine. It is the other VQmod XML shown in my previous message which causes it to go wrong.
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2113
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Oh, so it happens when there is nothing in the search CDATA?

Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4634
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
since adding this mod I get this error on my order update links
please Help..
using 1.5.x open cart
and 1.2.3 Vqmod.
used the installer to install it.
and Yes CHMOD'd the files.
Ziggy
- Code: Select all
Notice: Undefined variable: order_id in /home4/zigzterc/public_html/shop/catalog/controller/account/order.php on line 110Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 29
please Help..

using 1.5.x open cart
and 1.2.3 Vqmod.
used the installer to install it.
and Yes CHMOD'd the files.
Ziggy
- srunyon1
- Posts: 230
- Joined: Thu Jan 28, 2010 7:03 am
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
srunyon1 wrote:since adding this mod I get this error on my order update links
- Code: Select all
Notice: Undefined variable: order_id in /home4/zigzterc/public_html/shop/catalog/controller/account/order.php on line 110Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home4/zigzterc/public_html/shop/index.php:104) in /home4/zigzterc/public_html/shop/vqmod/vqcache/vq-system_engine_controller.php on line 29
please Help..
using 1.5.x open cart
and 1.2.3 Vqmod.
used the installer to install it.
and Yes CHMOD'd the files.
Ziggy
Try removing the vqmod_opencart.xml file and see if the error goes away. This is nothing related to vQmod itself. So perhaps a bug in the core or in another vQmod script.

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18200
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Yup definitely not vQmod related. Which version specifically are you using? 1.5.x could be one of 8+ versions 


Better Product SEO URL's - Perfectly structured product links
Better Category SEO URL's - Give subcategories the same SEO keyword
SEO URL's Route Editor - Fix all of your index.php links

-

JAY6390 - Posts: 4634
- Joined: Wed May 26, 2010 3:47 pm
- Location: United Kingdom
[MOD] - VirtualQMod "vQmod" Virtual File Modification System
Its a core bug and fixed in SVN
Happy Coding!
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
-

uksitebuilder - Posts: 5602
- Joined: Thu Jun 09, 2011 3:37 pm
- Location: United Kindgom
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
JAY6390 wrote:Yup definitely not vQmod related. Which version specifically are you using? 1.5.x could be one of 8+ versions
LMAO.... but its true


Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18200
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Not sure if this is known or posted, but I just got this when selecting Remove on the cart page and clicking Update Cart. I had also applied a coupon code.
Using OpenCart 1.5.1.1 and VQMod 1.2.3
Warning: Illegal offset type in isset or empty in /system/library/cart.php on line 275Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 29
Using OpenCart 1.5.1.1 and VQMod 1.2.3
Warning: Illegal offset type in isset or empty in /system/library/cart.php on line 275Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 29
- hellogoodbye
- Posts: 50
- Joined: Tue May 03, 2011 10:33 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
hellogoodbye wrote:Not sure if this is known or posted, but I just got this when selecting Remove on the cart page and clicking Update Cart. I had also applied a coupon code.
Using OpenCart 1.5.1.1 and VQMod 1.2.3
Warning: Illegal offset type in isset or empty in /system/library/cart.php on line 275Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /index.php:104) in /vqmod/vqcache/vq-system_engine_controller.php on line 29
again, not related to vQmod but instead to the script you are running or a bug in the core

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18200
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Ok Yes you are right its not with Vqmod. it does then same thing with it turned off..
Any fix for the bug in the Core?
looks like its version
Version 1.5.1.1
Any fix for the bug in the Core?
looks like its version
Version 1.5.1.1
- srunyon1
- Posts: 230
- Joined: Thu Jan 28, 2010 7:03 am
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Qphoria wrote:Going to release vQmod 2.0 for public use some time this weekend. Likely start a new thread as this one is getting long and difficult to traverse
Has v2.0 been released yet? see some ppl refering to using it, but can't find link here or on your vQmod site
- ryanlynx
- Posts: 1
- Joined: Sat Sep 10, 2011 8:44 pm
Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy
Yup I am also eagerly awaiting the new release!
-

Degsey - Posts: 91
- Joined: Sat Jun 11, 2011 6:29 pm
- Location: North Carolina
Who is online
Users browsing this forum: Ljubo and 8 guests













