1.5.5.1
Clean install / theme change / admin folder rename.
Hi guys.
I'm trying to install VQmod but I keep getting the error "Administrator index.php not writeable".
I've downloaded the files. Unzipped, placed vqmod folder in store root. Changed suggested file permissions + my admin folder / index.php . I've then gone into the pathReplaces.php file and replaced the default admin folder setting so that the mod should work with my adminfolder rename. I've then gone to example.com/vqmod/install, where I then get the error.
I've gone through all of the folders and replaced any link to the 'admin' directory to my renamed admin directory, still had no luck with that.
I've even downloaded a slightly older version of VQmod to see if it was some sort of strange glitch. Still no luck.
For something which has been so easy to do for myself in the past (on other websites), I don't understand why it's not working on this instance.
Does anyone have any suggestions on what the problem could be?
Thanks
Clean install / theme change / admin folder rename.
Hi guys.
I'm trying to install VQmod but I keep getting the error "Administrator index.php not writeable".
I've downloaded the files. Unzipped, placed vqmod folder in store root. Changed suggested file permissions + my admin folder / index.php . I've then gone into the pathReplaces.php file and replaced the default admin folder setting so that the mod should work with my adminfolder rename. I've then gone to example.com/vqmod/install, where I then get the error.
I've gone through all of the folders and replaced any link to the 'admin' directory to my renamed admin directory, still had no luck with that.
I've even downloaded a slightly older version of VQmod to see if it was some sort of strange glitch. Still no luck.
For something which has been so easy to do for myself in the past (on other websites), I don't understand why it's not working on this instance.
Does anyone have any suggestions on what the problem could be?
Thanks
Last edited by andyyydotcom on Sat Jul 20, 2013 11:58 pm, edited 1 time in total.
you need to change the permission of your index.php in your admin folder to be 777 for it to be writable. After that, switch it back to 644. A FTP client should be able to do just that e.g. filezilla.
I have already set my admin folder and adminindex.php to 777 yet still get the error.MarketInSG wrote:you need to change the permission of your index.php in your admin folder to be 777 for it to be writable. After that, switch it back to 644. A FTP client should be able to do just that e.g. filezilla.
does your admin folder exist? 100% new files for vqmod? You're not replacing anything?
Yes, but I have renamed my admin folder. VQ mod comes with a pathReplaces.php file where you can re-route the admin folder to your own renamed folder.
I have edited pathReplaces.php and installed it, but through what I can gather, VQmod still seems to think I'm using the default admin folder rather than my specified folder.
I don't want to have to edit my admin folder back to defaults for the security of my system (if I can help it).
I am trying to do a clean install of VQmod so all the files are there.
I am not replacing anything which shouldn't be replaced.
I have edited pathReplaces.php and installed it, but through what I can gather, VQmod still seems to think I'm using the default admin folder rather than my specified folder.
I don't want to have to edit my admin folder back to defaults for the security of my system (if I can help it).
I am trying to do a clean install of VQmod so all the files are there.
I am not replacing anything which shouldn't be replaced.
path replaces is for use when you have installed your vqmod.
Firstly, just rename your admin folder back to 'admin'. Install vqmod, then switch back the name of your admin folder.

Firstly, just rename your admin folder back to 'admin'. Install vqmod, then switch back the name of your admin folder.

It's a good suggestion but NEVER EVER EVER do that ! That causes directory errors.
Anyway I've fixed the problem!
In VQmod (2.3.2), to install with a custom named admin folder you first need to go into pathReplaces.php (in VQmod folder) and add:
Replace / save over the original.
Then, once you've done that, you need to go into vqmod/install/index.php and change lines 50 and 86:
Of course replace / save over the original file.
Once you've done that, go to yourstore.com/vqmod/install and it should install!
Hope this helps anyone who may have had the same problem, it's taken me over a day to find the answer.
Anyway I've fixed the problem!
In VQmod (2.3.2), to install with a custom named admin folder you first need to go into pathReplaces.php (in VQmod folder) and add:
Code: Select all
/ START REPLACES //
$replaces[] = array('~^admin\b~', 'your-admin-folder-name');
// END REPLACES //
Then, once you've done that, you need to go into vqmod/install/index.php and change lines 50 and 86:
Code: Select all
if(!is_writeable($opencart_path . 'your-admin-folder-name/index.php'))
Code: Select all
$u->addFile('your-admin-folder-name/index.php');
Once you've done that, go to yourstore.com/vqmod/install and it should install!
Hope this helps anyone who may have had the same problem, it's taken me over a day to find the answer.
most developer changes the admin folder back to the original state, run the installer, then change it back. Doesn't make a difference...
Who is online
Users browsing this forum: No registered users and 8 guests