Page 1 of 1

Upgrading VQMOD with renamed admin directory

Posted: Fri Aug 30, 2013 7:10 pm
by dmsims
VQMOD 2.3.2 installed with renamed admin directory in pathReplaces.php

The upgrade to 2.4.1 instructs overwriting files (including the pathReplaces.php) and then running the install script

Will this work OK?

What about the admin path in pathReplaces.php ?

Re: Upgrading VQMOD with renamed admin directory

Posted: Sun Sep 08, 2013 11:58 am
by Andaho
I've always found the easiest way to install vqmod with a renamed admin directory is: simply rename your custom admin folder back to admin, install/update vqmod, rename admin folder back to custom.

Re: Upgrading VQMOD with renamed admin directory

Posted: Fri Oct 18, 2013 4:16 pm
by RonnyM82
Hey guys, wondering if you can help me. I've renamed my admin folder & followed the instructions for replacing the path in VQMOD. But I get the following error when I tried to load the admin page:

Notice: Error: Could not load language english! in /home/barelyco/public_html/vqmod/vqcache/vq2-system_library_language.php on line 39

This is what I used in the pathReplaces.php file:

// START REPLACES //
$replaces[] = array('~admin~', 'admin-bc-nz'); // This replaces the admin folder name for use when admin folder's renamed
// END REPLACES //

this didn't work either:

// START REPLACES //
$replaces[] = array('~^admin/~', 'admin-bc-nz'); // This replaces the admin folder name for use when admin folder's renamed
// END REPLACES //

Re: Upgrading VQMOD with renamed admin directory

Posted: Fri Oct 18, 2013 4:27 pm
by RonnyM82
Ok, I just needed to replace admin with my new name in the config.php file located in the 'admin' folder