slic535 Posted July 11 Share Posted July 11 i upgraded my site to 6.5.5 and it erased all my pictures and i cannot login to my account. i dont know what the account admin is to get to the login screen. is there a way to get my pics back? how do i find the admin screen to log in? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 11 Share Posted July 11 The only option is to restore a backup. What method did you your to upgrade? Some FTP clients can replace instead of merging files and folders. It sounds like that may have happened. Quote Link to comment Share on other sites More sharing options...
slic535 Posted July 11 Author Share Posted July 11 i used the upgrade method where you push the button and it automatically upgrades the site. how should i upgrade since it does this? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 11 Share Posted July 11 And it deleted the images! I've never come across that before. Please restore a backup and manually upgrade with FTP. Quote Link to comment Share on other sites More sharing options...
slic535 Posted July 11 Author Share Posted July 11 is there a way to change the admin string so it is just admin for the login instead of haveing numbers after it? if i can get the login page to load i can just add pics back to the site Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 11 Share Posted July 11 Using a programmer's text editor, edit the file /includes/global.inc.php. Find the lines that are currently something like: $glob['adminFile'] = 'admin_aBcDeF.php'; $glob['adminFolder'] = 'admin_tUvWxY'; And change to: $glob['adminFile'] = 'admin.php'; $glob['adminFolder'] = 'admin'; Save. Then, you must actually change the admin script file name and the admin folder name to match. Quote Link to comment Share on other sites More sharing options...
slic535 Posted July 11 Author Share Posted July 11 (edited) i got it to work but i cannot get the password to work. i tried to get a new password and it accepted the new password but then when i try to login it wont accept the new password. Edited July 11 by slic535 Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 11 Share Posted July 11 Try doing both of these two things: 1. Clear CubeCart's Cache: www.yoursite.com/index.php?debug-cache-clear=true 2. Delete browser cookies: try to delete only those cookies that pertain to your site. Quote Link to comment Share on other sites More sharing options...
slic535 Posted July 11 Author Share Posted July 11 (edited) ok it worked and i got in but when i did the update it also erased the amount that people payed for their items. it retained their names but not what they ordered. then i logged out and it gave me a 404 error again. i check the files and the files seem to have deleted themselves. i no longer have an admin folder or admin file. i am going to download the newest update. can i get the admin file from the update and reload it? also when i do an update to the newest update do i need to go through all the past updates or can i just update the newest files? Edited July 11 by slic535 Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted July 11 Share Posted July 11 My development store uses the following but you can use anything. $glob['adminFile'] = 'admin.php'; $glob['adminFolder'] = 'admin'; Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 11 Share Posted July 11 "Can i get the admin file from the update and reload it?" Yes. "When i do an update to the newest update do i need to go through all the past updates or can i just update the newest files?" The newest files. 1 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.