Sportzfans Posted November 9, 2016 Share Posted November 9, 2016 I installed a new version of Cube Cart via softaculous program. It installed fine & was able to access my admin....Tried to access the site & not there TOOK EVERYTHING OUT OF CUBE FOLDER & MOVED TO public_html now i see my site but can't access my admin..PLEASE HELP Thanks Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted November 9, 2016 Share Posted November 9, 2016 What version of CubeCart did it install and do you have access via FTP or cPanel File Manager ? If using the very latest versions 6.1.0 or 6.1.1, then the admin.php and /admin folders are renamed for security reasons so you cannot go to http://www.yourstore.com/admin.php any longer Ian Quote Link to comment Share on other sites More sharing options...
ayz1 Posted November 9, 2016 Share Posted November 9, 2016 If you look in the public_html folder you should have a file named something like admin_kgNDbw.php that is your new login address e.g. http://www.mystore.com/admin_kgNDbw.php Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 I do see the folder that is admin_$$$$$, But when I put that in the URL i still can 't access the admin..Goes to a 404 screen..I just downloaded yesterday what ever the latest version is Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 There should be a renamed admin FILE and a renamed admin FOLDER. You can find both names in the includes/global.inc.php file. You can open the includes file via your FTP program, but you can't make changes from there. It is possible to change the naming to suit yourself by changing the permission on the includes file in your cPanel Folder View. After edit is complete change the permission back to 444. It's the renamed admin FILE you need as the last part of your store dashboard address. Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 Still goes to a 404 page - Not Found The requested URL /admin_$$$$$/ was not found on this server. Can someone do this for me for a fee? I have access to my Cpanel I am baffled. Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 The 404 page sounds like you still have an admin.php file named admin.php. If so, please temporarily name it something else and see if your STORE_URL/(renamed admin.php)admin$$$$.php url will access your Dashboard. MY new Dashboard login screen is accessed at https://dirtybutter.com/plushcatalog/MYrenamed admin.php Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 Nope Blank Page Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 Looking again at your initial post - So you MOVED your store to the root and now you can't get into the renamed admin? Check this entry in your global.inc.php file: $glob['rootRel'] = What do you have there? The old store directory or '/'; Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 I installed yesterday from softaculous program ....Everything was Fine..I Thought ..I used the /admin logged in...Set some setting up then went to view my store & thought is was fine. Logged out Try to log in to the domain & didn't come up..Looked in File Manager & saw that all files were in a Cube folder. I took all files out of Cube folder & put in my Public_html folder. I can see my site now, but can't access the admin Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 That original Softaculous install to the Cube folder has left a remnant of code in the store config somewhere or something is left over and no longer correct in the global.inc.php when you physically moved from the Cube folder to public_html. The database config file is encoded, so you can't just look in the database and simply edit it. 21 minutes ago, Dirty Butter said: Check this entry in your global.inc.php file: $glob['rootRel'] = What do you have there? The old store directory or '/'; Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 (edited) Here is what is in the global.inc.php file: <?php $glob['adminFile'] = 'admin_renamed.php'; $glob['adminFolder'] = 'admin_renamed'; $glob['cache'] = 'file'; $glob['dbdatabase'] = 'xxxx'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = 'xxx'; $glob['dbport'] = ''; $glob['dbprefix'] = 'xxx_'; $glob['dbsocket'] = ''; $glob['dbusername'] = 'xxx'; $glob['installed'] = '1'; $glob['install_source'] = 'softaculous'; ?> Edited November 9, 2016 by Dirty Butter removed entries for security reasons Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 OK I saved your complete global.inc.php file, but edited all your info out in the above. Try adding this to your existing global.inc.php: $glob['rootRel'] = '/'; $glob['storeURL'] = ' store front url'; Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 9, 2016 Author Share Posted November 9, 2016 Nope now I don't have a website at all.. Is there somewhere I can go online & pay someone to fix this for me? Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 9, 2016 Share Posted November 9, 2016 Take that last edit off. Sorry I couldn't help out. https://www.cubecart.com/technical-support You can cancel the support plan before the end of your month. It's 9PM UK time, so they won't be working on this tonight probably. Quote Link to comment Share on other sites More sharing options...
ayz1 Posted November 9, 2016 Share Posted November 9, 2016 2 hours ago, Sportzfans said: Not Found The requested URL /admin_$$$$$/ was not found on this server. Did you put .php on the end of the admin url? Should be admin_$$$$$.php Moving the files has caused the problem I think. If it's a new store on a blank server with no products etc listed then you could delete everything in the public_html folder and reinstall it as new making sure the files don't go into a directory but into the root (don't set up a folder). If it is an old store that has some data in the database then you need to find a different solution. Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 9, 2016 Share Posted November 9, 2016 Please use: www.mysite.com/admin_renamed.php where the needed _renamed part is indicated in the globals.inc.php file. With these latest few versions of CubeCart, one cannot use the folder method, shown below (which was permitted/required in much earlier versions of CC6, CC5, and CC4): www.mysite.com/admin_folder_renamed/ That is, using the name of the admin folder with a trailing slash, expecting the web server to fill in the index.php at the end. CubeCart does not allow that to happen anymore. One must use the name of the admin.php file, as having been renamed, located in CubeCart's main folder. Quote Link to comment Share on other sites More sharing options...
Sportzfans Posted November 10, 2016 Author Share Posted November 10, 2016 I am using what it shows in the global.inc.php file & still goes to a 404 - Page Not Found Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 10, 2016 Share Posted November 10, 2016 Yes, use what is shown in the globals.inc.php file for the adminFile. However, make sure there is a file having that name in CubeCart's main folder. Feel free to send me a Private Message. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted November 21, 2016 Share Posted November 21, 2016 Was this ever resolved? @bsmither @Sportzfans If so, how? 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.