This works so far…
1. I created a new DB
2. I uploaded the original AbanteCart install files to root
3. I changed the CHMOD permissions per the install guide
4. I installed AbanteCart without the demo data from root (I had to use the same prefix as my previous install which was abc_ )
5. Using my SQL DB backup, I went to System->Data->Backup / Restore and restored the SQL using “Restore from SQL file”
6. Refresh my storefront page and it looks restored
7. I deleted the Root/Install folder
8. In Admin, I changed my Storefront URL
9. I replaced the ALL folders from my backup to my FTP for this new /root.
10. I changed the following values in System/Config.php (without these changes, the Admin site will not work):
a. Change ADMIN_PATH to your new path (as defined when you installed to /root)
b. Change DB_USERNAME to your new DB username
c. Change DB_PASSWORD to your new DB password
d. Change DB_DATABASE to your new DB database
11. Copy the Config.php file back to System/
12. You can now log into the Admin area, BUT ONLY using your original credentials, not the ones you created for this new root/ install.
13. Storefront and Admin still work as expected
ERRORS Experienced
1. ADMIN is now broken – instead of showing me the Admin login page, it just shows me the storefront. This is because you have not made the relevant changes to the System/Config.php file.
Questions
1. System/Config.php is a plain text file, is this a security flaw?
2. Can I change the DB prefix from abc_ to something else without breaking the system? I know I can select all of my tables and “Change Prefix” in PHPmyAdmin and change the DB_Prefix in System/Config.php. But will this break AbanteCart?
I only installed this script this week, it looks pretty neat! I hope it can cope with load!
Thanks