Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2011
    Location
    California
    Posts
    5
    Plugin Contributions
    0

    red flag No Admin After Restoring Database & Store Backup Files

    I moved my store to a new directory and a new database; but it is on the same server with the following steps:
    1) I backed up the database and the files in the old directory.
    2) I saved the configure php files in the admin includes and the includes directories in the new directory.
    3) I restored the files from the old directory to the new directory.
    4) I imported the database to the new database.
    5) I restored the configure files in the new directory saved in step 2.
    6) I ran the fix_cache_key php utility.

    The result is that I was able to open the online catalog (store home page) and I got the admin screen BUT I was not able to log into the admin console. I get no error message; just a new admin screen is displayed without the user and password entries.

    To correct the problem, I searched the forums and unsuccessfully tried the following:
    1) In both configure files, I confirmed that the SSL enables were set to false.
    2) I reset the password using 'Resend Password'.
    3) I successfully ran an INSERT query to add a new admin name, password, email, and admin level to the new database admin table per the result of a tutorial found in a forum search [response from Dr. Byte].

    I'd appreciate any ideas to resolve the problem!!! Needless to say I'm tremendously frustrated ...

  2. #2
    Join Date
    Jan 2004
    Posts
    66,440
    Plugin Contributions
    279

    Default Re: No Admin After Restoring Database & Store Backup Files

    If the directory name has changed, then you need to change the directory names in your configure.php files.

    Or just follow the tutorial on changing servers (it's the same process for changing directories): https://www.zen-cart.com/tutorials/i...hp?article=100
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2011
    Location
    California
    Posts
    5
    Plugin Contributions
    0

    Default Re: No Admin After Restoring Database & Store Backup Files

    Thanks for your response, Dr. Byte.

    In fact, I actually used the tutorial to which you referred me. I thought I'd done so successfully when I was able to open the Store's homepage (online catalog) and then the admin screen. But then I couldn't log into the admin console.

    I followed tutorial steps 2a-c and 4. The configure files in includes and 'admin'/includes both do have the new (correct) directory names. I followed step 6 and when I ran the fix_cache_key utility it fixed the SESSION_WRITE directory so that both the FS_SQL & SESSION_WRITE directories are the same.

    I will redo the tutorial, though, to see if I missed something; hopefully I did and it will work the second time around. :-)
    Last edited by eulador; 18 Jul 2011 at 06:06 AM.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,440
    Plugin Contributions
    279

    Default Re: No Admin After Restoring Database & Store Backup Files

    If the screen is blank, refer to this tutorial: https://www.zen-cart.com/tutorials/index.php?article=82

    Remember to clear your browser's cache and cookies, and restart the browser before trying to login to the new admin.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v150 Cant Access my Admin Page after restoring from backup
    By nelly7 in forum General Questions
    Replies: 8
    Last Post: 20 Jun 2014, 09:18 AM
  2. v150 Can't see my store data after restoring database
    By cardioforce in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 3 Apr 2012, 06:13 PM
  3. Problem restoring database backup
    By cinbou in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 29 Oct 2010, 12:57 AM
  4. 1.3.9d problems after restoring site from backup
    By countingsheep in forum Upgrading from 1.3.x to 1.3.9
    Replies: 39
    Last Post: 3 Jul 2010, 03:57 AM
  5. restoring database from backup
    By dni in forum General Questions
    Replies: 1
    Last Post: 5 Nov 2007, 03:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg