Post by JAY6390 » Thu Apr 14, 2011 9:09 pm

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

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by madimar » Mon Apr 18, 2011 6:54 pm

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

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by Brook » Mon Apr 18, 2011 8: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.

Active Member

Posts

Joined
Wed Feb 24, 2010 12:15 am

Post by Qphoria » Mon Apr 18, 2011 8: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


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by madimar » Thu Apr 28, 2011 6:51 pm

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

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by bankzz » Sat May 07, 2011 1:48 am

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 :)

Newbie

Posts

Joined
Sat May 07, 2011 1:34 am

Post by Qphoria » Sat May 07, 2011 1:53 am

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


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bankzz » Sat May 07, 2011 1:57 am

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

Newbie

Posts

Joined
Sat May 07, 2011 1:34 am

Post by Qphoria » Sat May 07, 2011 2:07 am

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:
http://forum.opencart.com/viewtopic.php?t=16437

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bankzz » Sat May 07, 2011 2:12 am

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 :)

Newbie

Posts

Joined
Sat May 07, 2011 1:34 am

Post by Qphoria » Sat May 07, 2011 2:17 am

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


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bankzz » Sat May 07, 2011 2:25 am

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

Newbie

Posts

Joined
Sat May 07, 2011 1:34 am

Post by bankzz » Sat May 07, 2011 3:07 am

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?

Newbie

Posts

Joined
Sat May 07, 2011 1:34 am

Post by rbass » Tue May 17, 2011 7:04 am

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!!

New member

Posts

Joined
Mon Nov 22, 2010 6:26 am

Post by Qphoria » Tue May 17, 2011 10:17 am

Yes, you should follow the full install section of the vQmod opencart_install.txt file

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rbass » Tue May 17, 2011 10: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.

New member

Posts

Joined
Mon Nov 22, 2010 6:26 am

Post by Qphoria » Tue May 17, 2011 10: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


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rbass » Tue May 17, 2011 11: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 4620 times


New member

Posts

Joined
Mon Nov 22, 2010 6:26 am

Post by Qphoria » Tue May 17, 2011 11: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


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Wed May 18, 2011 10:57 pm

Minor Update in first post.
v1.0.9 - 2011-MAY-18 - Qphoria@gmail.com
- Fixed bug with source path on some servers
- Updated readme to be clearer
- Added .htaccess to protect xml and log files

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 13 guests