QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Cannot Login to admin Module After Backup and Restore

    Technical Help
    2
    5
    599
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spraveenb last edited by

      Hi

      I am using V 1.6.0 QloApp , it was a fresh install, after a few transactions I taken a backup and tried restoring it on the DB that was created during install following the instructions. The restoration on the mysql db was successfull but I am not able to login to the admin module. I have not configured the email as this is an localhost installation where primarily the admin module is used to create orders , checkin , checkout etc. Any pointers.

      1 Reply Last reply Reply Quote 0
      • A
        Aman deep sharma Global Moderator last edited by Aman deep sharma

        Hi @spraveenb,

        1. Tried restoring it on the DB that was created during install following the instructions.

        • Could you please provide details on the steps you have taken for the restoration process?

        Additionally, we would like to inform you that if you need to delete data such as orders, customers, etc., you can use the "QloApps Data Cleaner" module addon, which is available for free.

        If you haven't install the module, you can find the module inside the "Recommended Modules and Services" at the backoffice

        Refer to the Screenshots:

        • Screenshot 1
        • Screesnshot 2
        S 1 Reply Last reply Reply Quote 0
        • S
          spraveenb @Aman deep sharma last edited by

          @Aman-deep-sharma Hi

          I had followed the instructions in the DB Backup section , to restore the DB accordingly ,

          • I had logged on to my DB using PHPMYADMIN

          • Selected my database

          • Selected the import tab and then selected the DB backup file from my pc and clicked GO

          • I waited for the restore to complete with successful message

          • Now after this when I login it says wrong username or password

          A 1 Reply Last reply Reply Quote 0
          • A
            Aman deep sharma Global Moderator @spraveenb last edited by Aman deep sharma

            Hi @spraveenb,

            When QloApps is installed for the first time, it generates keys such as COOKIE_KEY and COOKIE_IV, which are used to encrypt or decrypt passwords.

            So when you import the data to another QloApps you also have to replace the contents of the "settings.inc.php" file in your QloApps.

            Path to "settings.inc.php": hotelcommerce/config/settings.inc.php

            Refer to the screenshot

            Your system should work correctly after replacing the keys.

            S 1 Reply Last reply Reply Quote 0
            • S
              spraveenb @Aman deep sharma last edited by

              @Aman-deep-sharma Thanks a lot Aman It worked !!!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post