Dirty Butter Posted December 29, 2016 Share Posted December 29, 2016 In cpanel look in the MySQL database section to see what goes in dbdatabase. I do NOT have a prefix and chances are you don't either. I don't know exactly what a database name with a prefix looks like. It sure would help if you could find an old backup of global.inc.php as you could get the info from there. I started to suggest you try setup again, but I didn't have any confidence in my understanding. But if Bsmither says to do it - that may be better than trying to get this includes file fixed. Quote Link to comment Share on other sites More sharing options...
mayhem69 Posted December 29, 2016 Author Share Posted December 29, 2016 27 minutes ago, Dirty Butter said: In cpanel look in the MySQL database section to see what goes in dbdatabase. I do NOT have a prefix and chances are you don't either. I don't know exactly what a database name with a prefix looks like. It sure would help if you could find an old backup of global.inc.php as you could get the info from there. I started to suggest you try setup again, but I didn't have any confidence in my understanding. But if Bsmither says to do it - that may be better than trying to get this includes file fixed. I cannot find the MySql section. How do i run setup again? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 29, 2016 Share Posted December 29, 2016 Is the setup folder still in your store directory? If so, http://www.unionshirtsupply.com/store/setup Quote Link to comment Share on other sites More sharing options...
mayhem69 Posted December 29, 2016 Author Share Posted December 29, 2016 37 minutes ago, Dirty Butter said: Is the setup folder still in your store directory? If so, http://www.unionshirtsupply.com/store/setup that worked, i upgraded, but got store already upgraded message. Still cannot connect to my admin i give up for tonight, going to bed,will try to fix tomorrow. thx for help! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 29, 2016 Share Posted December 29, 2016 When you are ready to work on it again, edit ini.inc.php in the store directory. Change the CC 6.1.1 version somewhere around line 49 to the version you were upgrading from. /************* CUBECART SPECIFIC SETTINGS *************/ define('CC_VERSION', '6.1.1'); // Version Number If you haven't already, it would be a good idea to make a backup of your store files and your database. Then run setup again. Be sure you write down the newly re-named admin folder and admin.php file names (there should be a caution near the end of the install with the new names), BUT DO NOT WRITE THEM INTO ANY COMMENTS YOU MAKE ON THIS FORUM. Quote Link to comment Share on other sites More sharing options...
mayhem69 Posted December 29, 2016 Author Share Posted December 29, 2016 8 hours ago, Dirty Butter said: When you are ready to work on it again, edit ini.inc.php in the store directory. Change the CC 6.1.1 version somewhere around line 49 to the version you were upgrading from. /************* CUBECART SPECIFIC SETTINGS *************/ define('CC_VERSION', '6.1.1'); // Version Number If you haven't already, it would be a good idea to make a backup of your store files and your database. Then run setup again. Be sure you write down the newly re-named admin folder and admin.php file names (there should be a caution near the end of the install with the new names), BUT DO NOT WRITE THEM INTO ANY COMMENTS YOU MAKE ON THIS FORUM. ok, i looked at the line you were referring to and see this: } /************* CUBECART SPECIFIC SETTINGS *************/ define('CC_VERSION', '5.1.5'); So i dont know if this is the version i installed or what? I need someone to go in to my server and fix this for me before i really screw something up! Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted December 29, 2016 Share Posted December 29, 2016 Just dropped you a PM as I can do that for you straight away Ian Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted December 29, 2016 Share Posted December 29, 2016 I've figured out part of the problem - there are several installs, one at root, another at store, and another in another directory. You were looking in the wrong place for the re-named admin folder and file, and then you made the edits I had suggested to admin folder/file in the wrong directory. Also, FYI the apparently working files were installed with Softaculous. Waiting on @mayhem69 to attempt a login to newly renamed admin to see what happens. Quote Link to comment Share on other sites More sharing options...
mayhem69 Posted December 29, 2016 Author Share Posted December 29, 2016 45 minutes ago, Dirty Butter said: I've figured out part of the problem - there are several installs, one at root, another at store, and another in another directory. You were looking in the wrong place for the re-named admin folder and file, and then you made the edits I had suggested to admin folder/file in the wrong directory. Also, FYI the apparently working files were installed with Softaculous. Waiting on @mayhem69 to attempt a login to newly renamed admin to see what happens. YES and thank you DB!!, i can now login to my admin. thank you for your help! Have a great New Year! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.