Post by DannyMacD » Tue Jun 28, 2011 9:02 pm

madimar wrote:To be honest Danny, what difficulty you are encountering in vqmod installation? It is everything well written in the instructions... Trying to summarize:
1) copy vqmod folder in your server root (same level of catalog, admin, etc.)
2) open a browser and point to: http://YOURSITE/vqmod/install

This is enough and it works 99%. For the rest of 1% you need some adjustements or manual installation (well documented too).

M
i have tried but im getting a 500 Internal Server Error when i visit the website.. :(

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by madimar » Tue Jun 28, 2011 9:07 pm

Ok, this is a good start... next step... to read first post of this discussion... in yellow!

-----------------------------------------------------------------------
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 DannyMacD » Tue Jun 28, 2011 9:09 pm

just read it haha. just got the message saying its installed (yay)

now to learn how to use it :) thanks.

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by DannyMacD » Wed Jun 29, 2011 1:34 am

wahoo! system seems to work well! thanks alot!

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by Ski_K2 » Wed Jun 29, 2011 3:20 am

vQmod looks very interesting!

Downloaded and testing on OpenCart 1.5.0.5 and so far so good :)

Made donation today and will make another if I use OpenCart. 1.5.0.5 needs quite a bit more patching before I can use it on a live site!

Newbie

Posts

Joined
Fri Jun 24, 2011 2:32 am

Post by uksitebuilder » Thu Jul 07, 2011 4:33 pm

Will vQmod work OK with the upcoming changes to the index.php files (as per SVN)

Or will new changes other than the existing need to be made to those files?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Qphoria » Thu Jul 07, 2011 7:11 pm

uksitebuilder wrote:Will vQmod work OK with the upcoming changes to the index.php files (as per SVN)

Or will new changes other than the existing need to be made to those files?
Don't see any major changes in index.php
It will work fine. Just remember to run the vqmod installer again after you upgrade opencart.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rph » Fri Jul 08, 2011 10:30 am

Can VQMod not be used to add constants to config.php and admin/config.php? I'm getting no output for those files and no error log even though I've got the operation set to abort on fail.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Qphoria » Fri Jul 08, 2011 11:36 am

rph wrote:Can VQMod not be used to add constants to config.php and admin/config.php? I'm getting no output for those files and no error log even though I've got the operation set to abort on fail.
By default, I leave the config file out of the installation step because I fear it could be used for bad, but I guess that is possible anyway.

If you want vQmod to work with config.php as well, you need to alter the placement and settings in the index.php files.

Change it from this:

Code: Select all

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

// Install
if (!defined('DIR_APPLICATION')) {
    header('Location: install/index.php');
    exit;
}

//VirtualQMOD
require_once('./vqmod/vqmod.php');
$vqmod = new VQMod(); 
To this:

Code: Select all

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

// Configuration
require_once($vqmod->modCheck('config.php'));

// Install
if (!defined('DIR_APPLICATION')) {
    header('Location: install/index.php');
    exit;
}
 
So you see, move the virtualQmod initialization above the configuration line
and change the configuration line require_once to have the modcheck

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rph » Sun Jul 10, 2011 1:18 am

Thanks Q. Makes sense. I'll have to look at another way of attacking this one to keep the code portable.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by JAY6390 » Sun Jul 10, 2011 1:59 am

Yeah. While it's possible, if you're planning a mod you wish to share with others, it's not going to be ideal

Image


User avatar
Guru Member

Posts

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

Post by rph » Sun Jul 10, 2011 2:48 am

I'm working on password salting. I took a random sampling of 30 customer passwords from the database and found 23 (76%) were easily cracked.

I've got the code implemented for myself so it's no big deal but I figured others might like it as well. Putting the salt in config.php seemed like the best solution since it's something you don't want people changing after it's set.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by JAY6390 » Sun Jul 10, 2011 2:54 am

True enough you don't want it altered, but it might be a better idea to simply put it in the startup.php file. That is the first file checked in every run, and its global to both the admin and catalog areas and would essentially do exactly as it would in the config file, just in a different one

Image


User avatar
Guru Member

Posts

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

Post by rph » Sun Jul 10, 2011 12:50 pm

Thanks for the idea Jay. I'll take a look at it.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by i2Paq » Sat Jul 23, 2011 9:04 pm

Running 1.5.1 SVN 498 and I get blank screens on Storefront and Admin.

Edit:

Storefront loads OK now, nothing changed but a reload of the page.
The Admin shows a 500 Internal Server error, CHMOD 777 or 755.
Last edited by i2Paq on Sat Jul 23, 2011 9:26 pm, edited 3 times in total.
Reason: SVN 489 should be SVN 498

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by exactweb » Sat Jul 23, 2011 9:52 pm

I am having a problem getting this to work by editing javascript files. Is this even possible, I see examples that it works for .tpl and .php files. I don't get any errors in the log file?

Code: Select all

<modification>
	<id>Theme Changes</id>
	<version>1.5.1</version>
	<vqmver>1.5.1</vqmver>
	<author>exact</author>
	
	<file name="catalog/view/javascript/common.js">
		<operation>
			<search position="replace"><![CDATA[$('.success img, .warning img, .attention img, .information img').live('click', function() {]]></search>
			<add><![CDATA[
				$('.success img, .warning img, .attention img, .information img').live('click', function() {
				myfunction($(this));
			]]></add>
		</operation>
	</file>

</modification>

New member

Posts

Joined
Tue May 31, 2011 5:06 pm

Post by fido-x » Sat Jul 23, 2011 9:55 pm

No. It doesn't work for the javascript files, or for the stylesheets. It only works with the controllers, models, language files and template files.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Sat Jul 23, 2011 10:34 pm

I tried the auto-install, it says it is successful but no changes to the index.php files are made.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Sun Jul 24, 2011 3:05 am

i2Paq wrote:I tried the auto-install, it says it is successful but no changes to the index.php files are made.
Then change your file permissions. If you run the vqmod install multiple times and it says "Successful" every time instead of saying "Already installed".. then that means the index.php files are write protected.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by i2Paq » Sun Jul 24, 2011 3:11 am

Qphoria wrote:
i2Paq wrote:I tried the auto-install, it says it is successful but no changes to the index.php files are made.
Then change your file permissions. If you run the vqmod install multiple times and it says "Successful" every time instead of saying "Already installed".. then that means the index.php files are write protected.
I did, and they get not changed nor do I get anything else then "successful".

I could PM you my ftp logon.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 5 guests