Post by BuzyBee » Tue Jun 23, 2015 10:44 am

Hello!

I'm unsure on the modifications I have to do when putting VQMOD onto my website.....

I have downloaded vqmod-2.4.1 (the latest version). I have also downloaded Opencart 1.5.6.4.

Now I want to rename my "Admin" folder, do I need to make ANY changes at all to any files apart from changing my admin folder name?

OR... with VQMOD 2.4.1 do I still need to update the pathReplaces.php and insert my new folder name in that?

What about the .config file in /admin/ .... do I need to update that too?

Bare in mind I am using the latest version of VQMOD - 2.4.1

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by Qphoria » Wed Jun 24, 2015 12:52 am

BuzyBee wrote:Hello!

I'm unsure on the modifications I have to do when putting VQMOD onto my website.....

I have downloaded vqmod-2.4.1 (the latest version). I have also downloaded Opencart 1.5.6.4.

Now I want to rename my "Admin" folder, do I need to make ANY changes at all to any files apart from changing my admin folder name?

OR... with VQMOD 2.4.1 do I still need to update the pathReplaces.php and insert my new folder name in that?

What about the .config file in /admin/ .... do I need to update that too?

Bare in mind I am using the latest version of VQMOD - 2.4.1

The latest is 2.5.1:
https://github.com/vqmod/vqmod/releases
Be sure you get the "opencart" version not the "standalone" version
1. Rename your admin folder to whatever you want like "happytown"
2. Edit the happytown/config.php file and change all references from "/admin/" to "/happytown/"
3a. EDIT: vqmod/pathReplaces.php on your site
3b. FIND:

Code: Select all

// START REPLACES //

// END REPLACES //
3c. REPLACE WITH:

Code: Select all

// START REPLACES //
$replaces[] = array('~^admin\b~', 'happytown');
// END REPLACES //

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by BuzyBee » Wed Oct 28, 2015 8:34 pm

Can someone please help me with a quick question.

On github that qphoria wrote, it states on the instruction to set up VQMOD:

Be sure the vqmod folder and the vqmod/vqcache folders are writable (either 755 or 777).

I don't have a vqcache folder, I only have the following in the latest VQMOD:

Install Folder
XML Folder
.htaccess
.patchReplaces.php
readme.txt
vqmod.php

New member

Posts

Joined
Sat Jun 20, 2015 10:10 am

Post by sunsys » Wed Oct 28, 2015 8:59 pm

BuzyBee wrote: I don't have a vqcache folder, I only have the following in the latest VQMOD:
After you install vqmod, then load your cart home page as normal and hit CTRL+F5 2-3 times then vqcache folder will be generated automatically. Hope this helps.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am

Post by REW » Thu Feb 18, 2016 5:44 am

On updating to PHP v 5.6 on my server, I had changed the line in opencart config.php to:

define('DB_DRIVER', 'mysqli');

(Added "i")

This was a recommended change to get php 5.6 working.

After this happened, trying to log in to the admin resulted in:

Notice: Error: Could not load language english! in /home/site/shop.mywebsite.com/vqmod/vqcache/vq2-system_library_language.php on line 39

I noticed my VQ mod was out of date so I downloaded and installed VQmod version 2.5.1

Here's the catch, I have a renamed admin folder. So, previously in the vqmod folder, I have the line in pathReplaces.php changed to:

$replaces[] = array('~^admin\b~', 'adminmynewfoldername');

This was working fine post update, but when I ran the VQmod install, I got:

Administrator index.php not writeable

I checked all permissions and they are correct at 755. Still no change. Also double checked the paths in config.php in /admin and in site root.

So I renamed my admin folder back to just /admin and ran the installer, which then worked, and the site admin loads properly at the default admin login url.

So, it would seem the pathReplaces.php is not working? Or perhaps I've missed something?

Please advise, as I'd like to go back to an altered /admin directory name asap.

Thanks!

REW
New member

Posts

Joined
Wed Feb 25, 2015 4:00 am

Post by Qphoria » Tue Feb 23, 2016 12:08 pm

The installer won't use the pathReplaces.
Just change the admin folder back to "admin"
then run the installer
then change admin back to your custom name

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by clubbuilder » Sat Sep 17, 2016 12:40 am

Qphoria wrote:The installer won't use the pathReplaces.
Just change the admin folder back to "admin"
then run the installer
then change admin back to your custom name
This is how I had to get vqmod and a renamed admin folder to work on a new install. But I have tried out the vqmod just yet.

Currently using Open Cart version 2.0.1.1


Newbie

Posts

Joined
Mon Aug 10, 2015 7:20 am

Post by Diky » Mon Jan 02, 2017 2:51 am

hi

i have an issue,

i access admin page was blank and show error below (my folder admin name changed to b3308fln).

Notice: Error: Could not load config b3308fln! in /home/uudskgcf/public_html/vqmod/vqcache/vq2-system_storage_modification_system_library_config.php on line 27

anyone can help me?

im using oc 2.3.0.2

Newbie

Posts

Joined
Mon Jan 02, 2017 1:08 am
Who is online

Users browsing this forum: No registered users and 12 guests