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
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 //
Code: Select all
// START REPLACES //
$replaces[] = array('~^admin\b~', 'happytown');
// END REPLACES //
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
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
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.BuzyBee wrote: I don't have a vqcache folder, I only have the following in the latest VQMOD:
Regards,
Sun Systems
Industrial Electronics and Instrumentation
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!
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!
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.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
Currently using Open Cart version 2.0.1.1
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
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
Who is online
Users browsing this forum: No registered users and 19 guests