Page 31 of 33 FirstFirst ... 212930313233 LastLast
Results 301 to 310 of 325
  1. #301
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    My current live site database that I have imported into my development cart is:

    MariaDB dump 10.19 Distrib 10.6.19-MariaDB, for Linux (x86_64)

    MySQL version in my WAMP is 8.3

    Thanks again for your continued help.

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

    Default Re: Backup MySQL Database

    Try this branch...

    https://github.com/torvista/Zen_Cart...tree/maria_bug

    whereas I previously needed 448M...it now works with 32M!
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #303
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Thanks Steve....I will give this a go and let you know!

  4. #304
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Hi Steve,

    I tried the newest branch this morning. Before installing the newest version, I Uninstalled the previous version using both the Uninstall and Clean Up functions through the Admin->Modules->Plugin Mgr and verified this by looking in the zc_plugin folder and saw the empty BackupMySQL folder.

    I then uploaded this newest branch version to the zc_plugins folder, and installed it through the Admin->Modules->Plugin Mgr

    I backed up my current live site, placed this gzip file in my development site Admin/backups folder and then went to the plugin in Admin.

    I selected this database file, used the Restore button and it began whirring....but did not insert the new database. I received this error at the top of my Admin panel:
    ERROR: FILE NOT FOUND: [C:\Windows\Temp\php7FB4.tmp]

    And this error in my Debug logs:

    PHP Warning: rename(C:\Windows\Temp\16787D3.tmp,C:\Windows\Temp\php7FB4.tmp): Access is denied (code: 5) in C:\wamp64\www\new2121\zc_plugins\BackupMySQL\v2.0.0\admin\backup_mysql.php on line 666.

    Is there an adjustment I need to make??

  5. #305
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,763
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    You don't need to uninstall/install...but you need to get the update I did this morning when I found that issue!

    Always worth having a GitHub account if only to "watch" the repositories of all the plugins you have, to get updates hot off the press.
    And, see the activity in Zen Cart, most of which does not get a mention in the forum.
    Last edited by torvista; 3 Feb 2025 at 04:19 PM.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  6. #306
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Thanks for the heads up on the newer-newer version!

    I just downloaded, installed and ran it. You did it!

    I successfully uploaded my current live site database as a gzip file.....perfect!

    Thank you for your continued work to make this plugin work.

    Much Appreciated!!

  7. #307
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,763
    Plugin Contributions
    30

    Default Re: Backup MySQL Database

    About time!

    FYI all this out of memory stuff was due to the solution I'd arrived at to deal with this bug:

    https://github.com/torvista/Zen_Cart...lugin/issues/6
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #308
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Ha,ha....not at all!

    It takes time to work through the variables. Thanks for sticking with it!

  9. #309
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    I had one more error crop up.....

    I have now moved my development site to my server (under a subfolder)...copies the database from my development site (using PhPmyAdmin->Import).

    When I log into my Admin the plugin is uninstalled. I then installed it and received the confirmation in the green bar in my Admin panel. When I go to test it, I click on it in Admin->Tools and I get a white screen and here is my Debug Log error:

    PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, null given in /home/mysite/public_html/new210/zc_plugins/BackupMySQL/v2.0.0/admin/backup_mysql.php:230
    Stack trace:
    #0 /home/mysite/public_html/new210/zc_plugins/BackupMySQL/v2.0.0/admin/backup_mysql.php(230): trim()
    #1 /home/mysite/public_html/new210/admin/index.php(28): require('...')
    #2 {main}
    thrown in /home/mysite/public_html/new210/zc_plugins/BackupMySQL/v2.0.0/admin/backup_mysql.php on line 230.

    Can this be as my test site in WAMP has PHP v.8.2.18 and SQL/Maria DB v.11.3.2 and my server subfolder site has PHP v 8.2.27 and SQL/MariaDB v. 10.6.19

    Sorry about this go around....

    I have uninstalled and reinstalled 3 times, just to insure its not user error. I have taken the folder from my test site (which we got working this morning) to place into zc_plugins to insure I have the newest, newest version and not a previous one. (Trying to rule out user error).

    The one weird thing is in my Admin->Modules->Plugin Mgr in my test site, it shows this plug in file space as 78.56kB and on my server subfolder site the file space is 134.56kB. This never seems to change with all of the install and uninstalls that I have done. I have used the Clean Up Tool and Uninstall in Plugin Mgr and insure that it is completely removed from the folder before uploading the fileset once again and installing. This must have something to do with it?!

    Any thoughts??
    Last edited by NWCE; 4 Feb 2025 at 12:01 AM.

  10. #310
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Backup MySQL Database

    Hi Steve,

    Been working on getting this plugin working once again....and have inputted a newer version of my live site DB into this test site. I still have the latest version of this plugin installed (from 5 days ago on Github).

    Once my DB is in and I've run the zc_installer to update the DB, I have tried..#1 just using the Install button in Admin->Plugin Mgr and #2 tried uninstalling the files via FTP and then reinstalling and then Installing the plugin via Plugin Mgr.

    I get the green stmt at the top of my Admin saying it has been installed and good to go.

    I then go to Admin->Tools to use/test it and when I click on it, I get an Admin white screen with the following error in my Debug Logs...

    PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, null given in /home/mysite/public_html/new210/zc_plugins/BackupMySQL/v2.0.0/admin/backup_mysql.php:230

    It also shows the file space in Plugin Mgr as 134.56kB...whereas when I got it running in my test site in my local computer...the file space was only 78.56kB It appears to have fragments of an older version. When in Admin->Plugin Mgr, when I choose Clean Up....the only option is remove this current plugin v2.0.0

    Can you point me in the right direction as to where I've gone wrong???

    Thanks!

 

 
Page 31 of 33 FirstFirst ... 212930313233 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