Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Backup MySQL Plug-in - install problem

    /admin/backups/ should have been created when you installed Zen Cart and it should contain an index.php file ...

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                                       |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers                           |
    // |                                                                      |
    // | http://www.zen-cart.com/index.php                                    |
    // |                                                                      |
    // | Portions Copyright (c) 2003 osCommerce                               |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,       |
    // | that is bundled with this package in the file LICENSE, and is        |
    // | available through the world-wide-web at the following url:           |
    // | http://www.zen-cart.com/license/2_0.txt.                             |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to       |
    // | [email protected] so we can mail you a copy immediately.          |
    // +----------------------------------------------------------------------+
    //  $Id: index.php 1111 2005-04-05 01:51:19Z drbyte $
    //
    
    // send to domain root
        session_write_close();
        header('Location: ' . 'http://' . $_SERVER['HTTP_HOST']);
        exit();
    ?>
    The permissions on the /backups should be 777 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    Thanks for the code. I added the folder and the index.php file, but there has been no change AFAIK.

  3. #13
    Join Date
    Jun 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    Thanks - I've uploaded the files again however when I click on Tools -> Database Backup all I see is as follows (no backup button):

    Database Backup Manager - MySQL
    Title Date Size Action Backup

    Directory: /usr/local/psa/home/vhosts/iamhappie.com/httpdocs/admin/backups/
    RESTORE BUTTON

    Any thing else I could try? DrByte? There are a few others who have had the same problem without a resolution. Thanks as ever!
    John Crumpton, Technical Director of Double Sided
    Zen cart shop: Buy happie loves it

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Backup MySQL Plug-in - install problem

    An /admin/backups/ folder is required. If the folder is not found to be writable, the backup button will not show.
    .

    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.

  5. #15
    Join Date
    Jun 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    That's really strange as I have a admin/backup folder which is 777. Could it be anything else?
    John Crumpton, Technical Director of Double Sided
    Zen cart shop: Buy happie loves it

  6. #16
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Backup MySQL Plug-in - install problem

    Could also happen if the server has the PHP configured to disallow the use of the exec() function. Normally a message would appear on the admin screen saying that's the case though.
    .

    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.

  7. #17
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    I just uploaded the files again, and made sure that I have the admin/backups folder. Still no entry for this feature in the Tools menu.

    Ideas?

  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Backup MySQL Plug-in - install problem

    Just to be clear ...

    You have your /admin directory renamed, for example, /fred

    and you are loading these files based on:
    /fred

    and not /admin so you see:
    /fred/backups (permissions set to 777)
    /fred/backup_mysql.php
    /fred/includes/boxes/extra_boxes/backup_mysql_tools_dhtml.php
    /fred/includes/extra_datafiles/backup_mysql.php
    /fred/includes/languages/english/backup_mysql.php

    correct?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #19
    Join Date
    Jun 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    Thanks DrByte - I asked my hosts and they confirmed that the exec() function is disallowed. Apparently I can use PHPCGI to allow this.
    John Crumpton, Technical Director of Double Sided
    Zen cart shop: Buy happie loves it

  10. #20
    Join Date
    Mar 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Backup MySQL Plug-in - install problem

    Just to let you know and to thank you for your help: I successfully untangled my installation, fixed the corrupted folders, and I'm back in business! Got to love CSS for keeping the customization all within the custom template structures.

    Backup now working properly.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Backup MySql Install Question
    By firstcapitalfirearms in forum General Questions
    Replies: 2
    Last Post: 24 Jan 2014, 12:32 AM
  2. MySQL Backup Issues on my PC Install
    By turtledove53 in forum Installing on a Windows Server
    Replies: 8
    Last Post: 16 Mar 2008, 08:10 AM
  3. MySQL backup plug in
    By anotherhzencartuser in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 2 Oct 2006, 05:57 PM
  4. Help: Backup mysql problem
    By mach in forum General Questions
    Replies: 20
    Last Post: 5 Sep 2006, 03:55 AM

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