Page 27 of 33 FirstFirst ... 172526272829 ... LastLast
Results 261 to 270 of 325
  1. #261
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Backup MySQL Database

    Seeing logs under PHP8.1:

    --> PHP Warning: Undefined array key 1 in /home/bmicpanel/public_html/client/admin/backup_mysql.php on line 157.

    where that line is

    if (zen_not_null($resultcodes)) list($strA, $strB) = preg_split ('/[|]/', $resultcodes);
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #262
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,761
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    In my version I find I modified it for that same reason,
    from
    list($strA, $strB) = preg_split ('/[|]/', $resultcodes);
    to
    [$strA, $strB] = array_pad(explode('|', $resultcodes, 2), 2, null);
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #263
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Backup MySQL Database

    OK, but that change didn't make it to Github.

    https://github.com/torvista/Zen_Cart...mysql.php#L155

    looks just like what I posted.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #264
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,761
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    Hmm, no, there's so many changes in my personal version, it's difficult to push things piecemeal logically...haven't got round to it!
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #265
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Backup MySQL Database

    Yep, that looks like what's needed. TY.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #266
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    496
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    I just tried the backup mysql on my new 2.0.1 upgrade and it just gives a blink to the admin page and returns to the admin page. Has anyone successfully install it?

  7. #267
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Backup MySQL Database

    Please post the debug log file from the /logs folder. It has been tested and should work.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #268
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    496
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Quote Originally Posted by swguy View Post
    Please post the debug log file from the /logs folder. It has been tested and should work.
    Thanks for your reply. The same symptom existed in another plugin. So I recovered from a backup before the backup plugin was added and installed the backup plugin again and it worked. I must has done something wrong. It works now.

  9. #269
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,761
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    I've long been making changes to this plugin and have finally incorporated them in GitHub, branch dev:

    https://github.com/torvista/Zen_Cart...lugin/tree/dev

    including:
    • converted to an encapsulated plugin
    • auto-finds the mysql executables (stores result in db so does not run auto-find every time).
    • allow a suffix to be added to the backup filename
    • allow gzip and zip compression for backup and restore


    So would appreciate some testing and feedback in the issues.

    Caveat Emptor, as always.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  10. #270
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    309
    Plugin Contributions
    6

    Default Re: Backup MySQL Database

    I only recently stumbled onto this plugin by accident.
    Very nice work!


    Tested on zc 2.1.0 with PHP 8.4.1 MariaDB MySQL 11.6.2
    with export and restore
    OldNGrey
    ZC158a PHP 8.2.15
    MySQL 10.6.16-MariaDB

 

 
Page 27 of 33 FirstFirst ... 172526272829 ... LastLast

Similar Threads

  1. Backup MySQL Database vs using cPanel backup option?
    By IronMan101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Jul 2007, 08:46 AM
  2. Database Backup Manager - MySQL
    By sicness in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 7 Aug 2006, 09:42 PM
  3. Backup MySQL Database failure
    By JFD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Jun 2006, 06:55 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