Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57
  1. #31
    Join Date
    Jan 2006
    Posts
    66
    Plugin Contributions
    0

    Default Re: MYSQL Backup error

    Thank you for your update. We actually have a dedicated server which is hosting this Zen Cart and the data base resides on this server as well. We have other Zen Carts on this server which are using this mod successfully, we just can't get this one to work.

    As we can back up via phpMyAdmin, it's just nicer to use this mod in the admin.
    Patti - OnlineCatholicStore.com
    ZC 1.3.9h with multisite mod -- ZC ROCKS!

  2. #32
    Join Date
    Jun 2009
    Posts
    187
    Plugin Contributions
    0

    Default Re: MYSQL Backup error

    My Backup button disappeared. This was a great util. Any idea why the button would disappear? The restore button is still there.

    Thanks

  3. #33
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MYSQL Backup error

    If the backup folder isn't writable, the button won't be shown.
    .

    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.

  4. #34
    Join Date
    Jun 2009
    Posts
    187
    Plugin Contributions
    0

    Default Re: MYSQL Backup error

    It is writable. chmod 777 on it. And I double checked.

    Thanks

  5. #35
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MYSQL Backup error

    Okay, then either your server has PHP Safe Mode enabled, or the PHP exec() command has been disabled by the server administrator, or the backup directory specified in your admin configure.php file doesn't match the directory you think it's supposed to be using and therefore it sees that the specified directory doesn't exist.
    Or the backup button image is corrupt and not displaying, and needs to be re-uploaded.
    .

    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.

  6. #36
    Join Date
    Jul 2006
    Posts
    33
    Plugin Contributions
    0

    Default MYSQL Backup addon error result code: 127 ERROR: Could not locate the MYSQLDUMP backu

    ZC 1.3.7

    I am getting an error as well when attempting to do a backup. I get "result code: 127" on the first line and "ERROR: Could not locate the MYSQLDUMP backup utility. BACKUP FAILED." on the second line.

    I read "Note that LOCAL_EXE_MYSQL and LOCAL_EXE_MYSQL_DUMP are defined in the /admin/includes/languages/backup_mysql.php file." I don't, however, have a "backup_mysql.php" file in the languages folder. Should this have been created during the install of the mod or is this something that I need to create?

    Thanks for your help.

  7. #37
    Join Date
    Jun 2009
    Posts
    187
    Plugin Contributions
    0

    Default Re: MYSQL Backup addon error

    Well I forwarded all the details to the host and he says it should work... he has no clue why it doesn't. I re-uploaded all the files.

  8. #38
    Join Date
    Sep 2004
    Location
    MONTANA!!!
    Posts
    105
    Plugin Contributions
    0

    Default Re: MYSQL Backup error

    Howdy Doc,

    I have been checking this site and couldn't find any problem with the backup directory or any of the settings on the server (checked with host).

    I started looking at the code in the file backup_mysql.php .

    Seems that this section is causing the issue.

    Code:
    // now let's display the backup/restore buttons below filelist
    
    ?>
    
                  <tr>
    
                    <td class="smallText" colspan="3"><?php echo TEXT_BACKUP_DIRECTORY . ' ' . DIR_FS_BACKUP; ?></td>
    
                    <td align="right" class="smallText">
    
                        <?php if ( ($action != 'backup') && (isset($dir)) && !get_cfg_var('safe_mode') && $dir_ok == true ) {
    
                                 echo '<a href="' . zen_href_link(FILENAME_BACKUP_MYSQL, 'action=backup'.(($debug=='ON')?'&debug=ON':'')) . (($tables_to_export!='')?'&tables='.str_replace(' ',',',$tables_to_export):'') . '">' .
    
                                       zen_image_button('button_backup.gif', IMAGE_BACKUP) . '</a>&nbsp;&nbsp;';
    
                              }
    
                              if ( ($action != 'restorelocal') && isset($dir) ) {
    
                                 echo '<a href="' . zen_href_link(FILENAME_BACKUP_MYSQL, 'action=restorelocal'.(($debug=='ON')?'&debug=ON':'')) . '">' .
    
                                       zen_image_button('button_restore.gif', IMAGE_RESTORE) . '</a>';
    
                              } ?>
    
                    </td>
    
                  </tr>
    With this code in particular " !get_cfg_var('safe_mode')" .

    I changed it to " !ini_get('safe_mode')" . and all works fine.

    Now, I'm not familiar with these two commands much. So, I'm still researching. But, all works fine, now.

    Paul

  9. #39
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MYSQL Backup error

    That suggests that you have safe-mode set to on in the server's default php.ini setting, but you're overriding it to turn it off via a localized domain-specific php.ini or .htaccess directive.
    .

    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.

  10. #40
    Join Date
    Sep 2004
    Location
    MONTANA!!!
    Posts
    105
    Plugin Contributions
    0

    Default Re: MYSQL Backup addon error

    Yep. Thanks Doc.

    Safe_ mode is off Locally but, it is still on at the Master level. I always just look at the local values. Figuring that it's all well and good.

    Don't have any idea why that host would want build the server with safe_mode on.

    Anyhow, thanks again.

    Paul

 

 
Page 4 of 6 FirstFirst ... 23456 LastLast

Similar Threads

  1. Edit Orders addon is giving MySQL error
    By m.digregorio in forum Managing Customers and Orders
    Replies: 0
    Last Post: 2 Aug 2012, 09:41 PM
  2. Backup MySql plugin error
    By jwurster in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 29 Jun 2009, 07:56 PM
  3. Backup MySql error
    By Geixa in forum General Questions
    Replies: 9
    Last Post: 14 May 2009, 03:47 AM
  4. After host change, mysql backup giving error 1045
    By canemasters in forum General Questions
    Replies: 12
    Last Post: 25 May 2008, 08:18 PM
  5. Backup MySQL Module error
    By oxicottin in forum General Questions
    Replies: 8
    Last Post: 16 May 2007, 02:38 PM

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