Re: Re-Renaming Admin Folder
The config.php~ is a temporary swap file that stores the changes you are making on the file before saving it. As it seems the connection was interrupted before you saved the file. Or if you were editing it locally you have uploaded the whole folder while you were editing the config file and have not closed it.
As for not being able to edit the file - you can try deleting the swap file and then try open the config again. Also you can check whether the file ownership got messed up for some reason. It is possible (although not probable) that the file ownership got mixed up when you were uploading it if it was not able to write the file or due to the fact that there was a temporary swap file existing etc. If this happened you might have to contact your host and ask them to fix the ownership. Still this is not really probable.
Finally, when altering the configuration file you need to edit 3 options:
DIR_WS_ADMIN
DIR_WS_HTTPS_ADMIN
DIR_FS_ADMIN
If you have done it you should not experience troubles accessing the admin backend. Also bear in mind that it is best to logout of the administration area and clear the ZenCart cache so no old cookies/cache issues occur.
We know Zen Cart, because our customers love it!
SiteGround Team Member
Bookmarks