Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default WARNING: An Error occurred, please refresh the page and try again - DB Backup MySQL

    Upgrade from 1.3.9h to 1.5.4 with db patched.
    Module: Database Backup Manager - MySQL

    Everything works fine on the store, even the backup. The issue comes up when doing restores. It goes to a blank page stating:
    WARNING: An Error occurred, please refresh the page and try again.

    The error log is empty, but the cache errors state:


    Code:
    a:148:{i:0;a:2:{s:6:"cfgkey";s:23:"SHOW_PRODUCT_INFO_MODEL";s:8:"cfgvalue";s:1:"1";}i:1;a:2:{s:6:"cfgkey";s:24:"SHOW_PRODUCT_INFO_WEIGHT";s:8:"cfgvalue";s:1:"1";}i:2;a:2:...

    I really don't know what's up...
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: WARNING: An Error occurred, please refresh the page and try again - DB Backup MyS

    Those "cache errors" are not errors at all. That's the actual data in your store's cache.

    Question: You said this happens only on "restore". Does the actual restore work? ie: is the data actually replaced with the backup as expected?

    Try making this change to /admin/backup_mysql.php, around line 280:
    Code:
                // store the last-restore-date, if successful
                $db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key = 'DB_LAST_RESTORE'");
                $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, date_added) values ('Last Database Restore', 'DB_LAST_RESTORE', '" . $specified_restore_file . "', 'Last database restore file', 6, now())");
    .

    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
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: WARNING: An Error occurred, please refresh the page and try again - DB Backup MyS

    Yes, forgot to mention that. The db gets restored.

    I did, no errors this time but I've been sent to admin home and I can't get now to the plugin page. I can browse the rest of the admin.
    Last edited by ideasgirl; 8 Jun 2015 at 05:18 PM. Reason: Add test
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  4. #4
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: WARNING: An Error occurred, please refresh the page and try again - DB Backup MyS

    Ok, I logoff from admin and re-login and everything is fine now.

    THANKS!
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

 

 

Similar Threads

  1. WARNING: An Error occurred, please refresh the page and try again.
    By kkjoseph in forum Customization from the Admin
    Replies: 10
    Last Post: 17 May 2013, 06:58 PM
  2. v151 Warning: An Error occurred, please refresh the page and try again...
    By Sellerz in forum Installing on a Windows Server
    Replies: 2
    Last Post: 4 Nov 2012, 03:12 AM
  3. Replies: 15
    Last Post: 27 Sep 2012, 01:55 AM
  4. v150 WARNING: An Error occurred, please refresh the page and try again.
    By lar48ry in forum General Questions
    Replies: 2
    Last Post: 29 Jun 2012, 08:33 PM
  5. v150 WARNING: An Error occurred, please refresh the page and try again.
    By jo54iv in forum General Questions
    Replies: 2
    Last Post: 30 Apr 2012, 05:34 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR