Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2005
    Posts
    36
    Plugin Contributions
    1

    help question Back Up My Site PHP Files Error - HELP!

    Hi! i've looked on here and can't find the answer to this problem. I have the Back Up My Site PHP Files installed. Up until yesterday, it worked fine. Now, I get a HTTP 500 error. I have uninstalled and re-installed the add on with no lunch. My permissions are set properly.

    I also have the error log add one installed. It is giving me the following error. Any idea of how to get over this or what is causing it?

    [22-Dec-2008 18:00:56] PHP Fatal error: Out of memory (allocated 45613056) (tried to allocate 11534336 bytes) in /home/smoky09/public_html/admin/backup_mysite.php on line 92

    I know it says it is out of memory. But, is there a way to increase this?

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Back Up My Site PHP Files Error - HELP!

    Thats a subject to take up with the hosting company. I also wonder is it easier to either download the files by ftp or use the backup function in cpanel?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Nov 2005
    Posts
    36
    Plugin Contributions
    1

    Default Re: Back Up My Site PHP Files Error - HELP!

    Quote Originally Posted by barco57 View Post
    Thats a subject to take up with the hosting company. I also wonder is it easier to either download the files by ftp or use the backup function in cpanel?
    That's sort of what I was afraid of. I really liked the back up because it zipped everything up. I think my CPanel has a way of backing everything up.

  4. #4
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Back Up My Site PHP Files Error - HELP!

    I just played around with this backup option in cpanel. I used full backup and then ftp'd it to my local pc. I unzipped the files to see and explore what I got. I discovered many files ending in strange extensions like this example file shopping_cart.php0000755.

    php0000755 or other numbers get added on to many files. I assume they are the permissions for the particular file. But why is this only happening on some files, and others are just fine ending in *.php as expected.

    Kind of inconvenient if part of the backup is screwed up like this. Unusable if I want to compare and merge files. I question if this backup would work if ever restored into cpanel again.

    Anybody an explanation for this?
    Live and learn... the Zen way.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Back Up My Site PHP Files Error - HELP!

    I just used the CPanel backup and it worked fine, though I used the 'Partial' backup to download the whole 'Home' directory. I'm not sure what the difference is between 'Full' and 'Partial' here, since all the important stuff is in the 'Home' directory.

  6. #6
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Back Up My Site PHP Files Error - HELP!

    Have you actually looked at the files it created? Did you unzip them on your hard drive? Dig into some folders like includes/languages/english and see if the same thing happens like I mentioned.
    Live and learn... the Zen way.

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Back Up My Site PHP Files Error - HELP!

    Yes, and yes. I checked the filenames and opened several PHP files in different directories, and all seems well.

  8. #8
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Back Up My Site PHP Files Error - HELP!

    Good for you, mine are usable but as I said, some extensions get changed. My host does not support this feature and wrote:

    "Unfornately the cPanel back feature is developed and controlled by cPanel not HostXXXX or any other company for that matter.

    The backup is created to operate to server side backup where the server can read the backup in the format it would need not the format a customer would need.

    The only way to download the files from the ftp would be manually and backup the database using phpmyadmin or the using the DB backup mod for zen cart form the downloads.

    We only offer the backup feature we do not maintain it."

    I found this a bit odd but whatever...I guess I have to keep ftp'ing the whole thing file by file to my PC.
    Live and learn... the Zen way.

  9. #9
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Back Up My Site PHP Files Error - HELP!

    Quote Originally Posted by rmkiser View Post

    [22-Dec-2008 18:00:56] PHP Fatal error: Out of memory (allocated 45613056) (tried to allocate 11534336 bytes) in /home/smoky09/public_html/admin/backup_mysite.php on line 92

    I know it says it is out of memory. But, is there a way to increase this?
    Have you seen this thread it talks about low memory and how to fix.
    http://www.zen-cart.com/forum/showthread.php?t=95376
    • 446F63746F722057686F •

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Back Up My Site PHP Files Error - HELP!

    Quote Originally Posted by mydanilo View Post
    I just played around with this backup option in cpanel. I used full backup and then ftp'd it to my local pc. I unzipped the files to see and explore what I got. I discovered many files ending in strange extensions like this example file shopping_cart.php0000755.

    php0000755 or other numbers get added on to many files. I assume they are the permissions for the particular file. But why is this only happening on some files, and others are just fine ending in *.php as expected.
    It is not the norm for cPanel to add anything to a file name. It is (or supposed to) copy files verbatim, including the names.

    Have you confirmed the file in your Hosting does or does not have the additional file name text?

    Any idea what version of cPanel is being used? (your cPanel Home page tells you the version)

    Is PHP running as CGI or APACHE? (use Zen Cart Admin to see)


    rmkiser, the last question is for you as well.

    If PHP is run as CGI then you can alter amount of memory used.
    If PHP is run as APACHE then nothing you can do.
    Last edited by Website Rob; 23 Dec 2008 at 11:18 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. error using "Back Up My Site PHP Files" mod
    By xman888 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 19 Dec 2008, 03:37 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