Community Forums

[MOD] - VirtualQMod "vQmod" Virtual File Modification System

Community created contributions & mods for OpenCart 1.x

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Thu Apr 14, 2011 1:08 pm

Never heard of this before
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby JAY6390 » Thu Apr 14, 2011 1:09 pm

Can't say I've ever seen it before either to be honest
ImageImageImage

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


Image
User avatar
JAY6390
 
Posts: 4639
Joined: Wed May 26, 2010 3:47 pm
Location: United Kingdom

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby madimar » Mon Apr 18, 2011 10:54 am

Q,
I confirm some random errors like "Class ... not found", etc. It seems things are solved setting useCache = TRUE in vqmod.php

Anyway, can we suppose this useCache = TRUE is the recommended setting in a production site? FALSE could be only useful in development phase, coudn't it?

many thanks,

Max
User avatar
madimar
 
Posts: 1023
Joined: Thu Sep 24, 2009 10:27 am

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Brook » Mon Apr 18, 2011 12:17 pm

Thank you for your post madimar, I will try setting useCache = TRUE in vqmod\vqmod.php to see if this solves the Class... not found errors.
Brook
 
Posts: 437
Joined: Tue Feb 23, 2010 4:15 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Mon Apr 18, 2011 12:36 pm

Usecache true is good for production. Be sure you clear the files out of the vqcache folder when adding a new xml file to ensure it gets regenerated for the new script
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby madimar » Thu Apr 28, 2011 10:51 am

Q,
another general point. I'm promoting your great vqmod to other italian OC users. Most of them are experiencing some problems understanding download & installation instructions. Maybe, you could improve that part... if you consider our requests valuable. Specifically, there are two ambigous points raised up:

1) Download section of vqmod site:
vQmod_v1.0.8.zip (currently includes opencart install files by default)

Several users interpreted those "opencart install files" as the whole Opencart install packet... some of them, downloaded 1.0.7 because they already had an opencart site running... :o

2) "opencart_install.txt" file:
VIRTUALQMOD 1.0.7 QUICK INSTALL FOR OPENCART (v1.4.4+):

This title referencing to 1.0.7 seems a bit misleading. In addition, maybe it could be better to move this section at the beginning of the file, instead of upgrade instructions. My experience is users are not clearly understanding how to install the mod, or how it is easy!

Thank you again for your work and your patience,

ciao

Max
User avatar
madimar
 
Posts: 1023
Joined: Thu Sep 24, 2009 10:27 am

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby bankzz » Fri May 06, 2011 5:48 pm

I'm new to OC . I'm sorry if it's stupid question
I have same problem as MR.Simplicity

I've tried to access admin page but I can't
I'm already change it from vqmod.php to ..vqmod/vqmod.php
and why these still happen
Warning: require_once(./vqmod/vqmod.php) [function.require-once]: failed to open stream: No such file or directory in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 15

Fatal error: require_once() [function.require]: Failed opening required './vqmod/vqmod.php' (include_path='.:/usr/local/lib/php') in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 15

and I've already created directory as readme.txt told me to do
How can I solve this?
Thank in advance :)
bankzz
 
Posts: 7
Joined: Fri May 06, 2011 5:34 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Fri May 06, 2011 5:53 pm

bankzz wrote:I've tried to access admin page but I can't
I'm already change it from vqmod.php to ..vqmod/vqmod.php
and why these still happen
Warning: require_once(./vqmod/vqmod.php) [function.require-once]: failed to open stream:


You answered your own lie!

if you changed it to "../" then it wouldn't say "./vqmod/vqmod".
It would be "../vqmod/vqmod"
2 dots
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby bankzz » Fri May 06, 2011 5:57 pm

ok i see
I've change it now this :'(

Notice: Constant HTTP_SERVER already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 58

Notice: Constant HTTP_IMAGE already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 59

Notice: Constant HTTPS_SERVER already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 65

Notice: Constant HTTPS_IMAGE already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 66
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/originmove/domains/originmover.co.cc/public_html/admin/index.php:58) in /home/originmove/domains/originmover.co.cc/public_html/system/library/session.php on line 11Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 15Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 21
Fatal error: Call to a member function isLogged() on a non-object in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/common/header.php on line 73
bankzz
 
Posts: 7
Joined: Fri May 06, 2011 5:34 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Fri May 06, 2011 6:07 pm

bankzz wrote:Notice: Constant HTTP_SERVER already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 58

Notice: Constant HTTP_IMAGE already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 59

Notice: Constant HTTPS_SERVER already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 65

Notice: Constant HTTPS_IMAGE already defined in /home/originmove/domains/originmover.co.cc/public_html/admin/index.php on line 66
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/originmove/domains/originmover.co.cc/public_html/admin/index.php:58) in /home/originmove/domains/originmover.co.cc/public_html/system/library/session.php on line 11Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 15Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 21
Fatal error: Call to a member function isLogged() on a non-object in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/common/header.php on line 73


This is completely unrelated. This looks like you upgraded from an old version of opencart without following the upgrade.txt step by step guide. vQmod should be added after you have your site working.

More info:
viewtopic.php?t=16437
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby bankzz » Fri May 06, 2011 6:12 pm

before I try to install vQmod it's work fine but after I try to do it without back up (cause I saw your post to someone that "if you can go to toilet you can install vqmod Hahah " so I underestimate it and didn't back up !!
I never upgrade it because I've just installed oc for the first time in life a week ago never upgrade never done anything further than it already have in oc module ,so according to these information can I solve this problem Mr.Q?

Thanks a lot Q , I appreciate your help :)
bankzz
 
Posts: 7
Joined: Fri May 06, 2011 5:34 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Fri May 06, 2011 6:17 pm

But the errors you are showing only happen when you upgrade from a version older than 1.4.4 because that was when the multi store was added and the way the constants were defined changed.

Basically you remove that section from your config.php file as shown in the upgrade.txt

this is not related to vQmod at all.. unless you used someone elses pre-modified index.php with an old version or something
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby bankzz » Fri May 06, 2011 6:25 pm

No Mr.Q I do it on my own no one pre-modified them I think because I download it directly from opencart.com
I'm so sorry disturbing your time thanks anyway

I'm looking for //http and //https in config.php in root but I can't find them so I re-check the error and found that problem should be in an admin folder so I check config.php there and found those //http and //https so I delete it
and these message appear

Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 15Notice: Undefined index: token in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/error/not_found.php on line 21
Fatal error: Call to a member function isLogged() on a non-object in /home/originmove/domains/originmover.co.cc/public_html/admin/controller/common/header.php on line 73
bankzz
 
Posts: 7
Joined: Fri May 06, 2011 5:34 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby bankzz » Fri May 06, 2011 7:07 pm

I found this http://forum.opencart.com/viewtopic.php?t=25788 It's the same problem but I can't find the solution mentioned ,I recheck in config.php but can not find any mistake ,any suggestion?
bankzz
 
Posts: 7
Joined: Fri May 06, 2011 5:34 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby rbass » Mon May 16, 2011 11:04 pm

I am having a problem getting vQmod to work... I am not getting any results... Are there any additional adjustments to index.php that I need to make other than the adjustment shown below from my code? What should the permissions be set at?

<?php
// Version
define('VERSION', '1.4.9.4');

require_once('./vqmod/vqmod.php');
$vqmod = new VQMod();

// Configuration
require_once('config.php');

Thanks for your help!!
rbass
 
Posts: 31
Joined: Sun Nov 21, 2010 10:26 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Tue May 17, 2011 2:17 am

Yes, you should follow the full install section of the vQmod opencart_install.txt file
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby rbass » Tue May 17, 2011 2:29 pm

Q,
I installed everything in the proper places, and I am still not getting this to work...
Please correct me if I am wrong... The mod is designed to direct the buyer from the cart to Guest Checkout, and create a user name and password at the end.

After installation of vQmod, the buyer is being directed to the login/register page.
rbass
 
Posts: 31
Joined: Sun Nov 21, 2010 10:26 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Tue May 17, 2011 2:48 pm

vQmod is the modification engine. Installing it just allows you to use custom vQmod scripts. You still need to put the vQmod script .xml file into the xml folder and that should do what you want. If it isn't then check the vqmod.log file inside the vqmod folder and see if there are errors
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby rbass » Tue May 17, 2011 3:24 pm

Thanks Q!!

Before reading your response, I uploaded 'Auto Account' from Fido-X and it worked perfectly!!
I really appreciate you!!!

The only other question I have for you... Is there a way to change out the "confirm order" button and replace it with a "PayPal button" as default? I found the source code, just cannot figure out how to change the "default" payment button without screwing it up...

Thanks for your help!!

Randy


confirm_screen_shot.jpg
Confirmation screen shot
confirm_screen_shot.jpg (170.3 KiB) Viewed 1021 times
rbass
 
Posts: 31
Joined: Sun Nov 21, 2010 10:26 pm

Re: [MOD] - VirtualQMod "vQmod" Virtual File Modification Sy

Postby Qphoria » Tue May 17, 2011 3:47 pm

The buttons are stored in each payment's tpl file

The paypal express button code is stored in:
catalog/view/theme/default/payment/payment/paypal_express.tpl

The code line is:
Code: Select all
<a onclick="confirmSubmit();" class="button"><span><?php echo $button_confirm; ?></span></a>


Change that to
Code: Select all
<a onclick="confirmSubmit();"><img src="path/to/your/imagebutton.jpg" alt="Paypal Express" /></a>
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18242
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

PreviousNext

Return to Free Contributions

Who is online

Users browsing this forum: No registered users and 8 guests

Hosted by Arvixe Web Hosting