Re: BackUp ZC [Support Thread]
Thank you very much for your reply, , Skip
Actually both sites have the same PHP memory limits: 64MB
I have saved the sever/version info from 2 sites into 2 files, and then compared by winmerger, below is the difference:
production site / free site:
Server OS: Linux 2.6.32-279.14.1.el6.x86_64
Server OS: Linux 2.6.18-238.19.1.el5PAE
Database Data Size: 11,798 kB
Database Data Size: 1,423 kB
Database Index Size: 2,399 kB
Database Index Size: 1,171 kB
Configure Command './configure' '--with-libdir=lib' '--enable-cgi'
Configure Command './configure' '--enable-fastcgi'
auto_prepend_file no value no value
auto_prepend_file /..../protect.php /..../protect.php
register_argc_argv On On
register_argc_argv Off Off
------------------------------
apc
APC Support enabled
Version 3.1.9
APC Debugging Disabled
MMAP Support Enabled
MMAP File Mask no value
Locking type pthread mutex Locks
Serialization Support php
Revision $Revision: 308812 $
Directive Local Value Master Value
apc.cache_by_default On On
apc.canonicalize On On
apc.coredump_unmap Off Off
apc.enable_cli Off Off
apc.enabled On On
apc.file_md5 Off Off
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.include_once_override Off Off
apc.lazy_classes Off Off
apc.lazy_functions Off Off
apc.max_file_size 1M 1M
apc.mmap_file_mask no value no value
apc.num_files_hint 1000 1000
apc.preload_path no value no value
apc.report_autofilter Off Off
apc.rfc1867 Off Off
apc.rfc1867_freq 0 0
apc.rfc1867_name APC_UPLOAD_PROGRESS APC_UPLOAD_PROGRESS
apc.rfc1867_prefix upload_ upload_
apc.rfc1867_ttl 3600 3600
apc.serializer default default
apc.shm_segments 1 1
apc.shm_size 32M 32M
apc.slam_defense On On
apc.stat On On
apc.stat_ctime Off Off
apc.ttl 0 0
apc.use_request_time On On
apc.user_ttl 0 0
apc.write_lock On On
-----------------------------
cURL Information libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
cURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
libxml Version 2.7.6
libxml Version 2.6.26
FreeType Version 2.3.11
FreeType Version 2.2.1
iconv library version 2.12
iconv library version 2.5
libXML Version 2.7.6
libXML Version 2.6.26
MHASH API Version 20060101
MHASH API Version 20020524
Client API version 5.5.19
Client API version 5.0.77
MYSQL_LIBS -L/usr/lib -lmysqlclient
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
Client API library version 5.5.19
Client API header version 5.5.19
Client API library version 5.0.77
Client API header version 5.0.77
OpenSSL Version OpenSSL 1.0.0-fips 29 Mar 2010
OpenSSL Version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
PDO Driver for MySQL, client library version 5.5.19
PDO Driver for MySQL, client library version 5.0.77
libxml2 Version 2.7.6
libxml2 Version 2.6.26
libxslt Version 1.1.26
libxslt compiled against libxml Version 2.7.6
libxslt Version 1.1.17
libxslt compiled against libxml Version 2.6.26
libexslt Version 1.1.26
libexslt Version 1.1.17
Re: BackUp ZC [Support Thread]
one more questions: can I change the PHP memory limit from 64MB to 128MB by editing the PHP.ini ?
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
li-he-qi
one more questions: can I change the PHP memory limit from 64MB to 128MB by editing the PHP.ini ?
Yes. Your hosting company can help you with specific instructions for the way they've configured your specific server.
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
DrByte
Yes. Your hosting company can help you with specific instructions for the way they've configured your specific server.
:P wow, DrByte talked to me! so happy and great honor, ok I will ask godaddy to do their job, and then come back here.
Re: BackUp ZC [Support Thread]
Sorry about not getting back here sooner. The one thing that you also might check is the permissions for your-admin/backup folder and your cache folder. Are the two sites the same?
Skip
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
skipwater
Sorry about not getting back here sooner. The one thing that you also might check is the permissions for your-admin/backup folder and your cache folder. Are the two sites the same?
Skip
It's OK, Skip, you are such kind nice guy.
1.
no, they are not, In my free site these 2 folders are both 755 permission, in my production site both 705, I don't change the permission, since both folder are writable (Cache folder can be wrote into debug files, Backups folder can be wrote into SQL files)
I did change the permission to 777 in my production site, same result, no help.
2.
BTW, I have already changed the PHP memory from 64MB to 128MB by uploading a customized php5.ini into my site root, now the server/version info page says the PHP memory is 128MB (I did this by following this article: jamesnorthway dot com/edit_php_ini_godaddy_4gh.html)
3
Still Firefox gave the exact same error:
"500 Internal Server Error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at mydomainname dot com Port 80"
4. I found 6 identical debug files in the Cache folder, they relate to this problem:
Code:
PHP Warning: stat() [<a href='function.stat'>function.stat</a>]: stat failed for ../interactive_2012_ in /*****/html/myadmin/includes/classes/archive.php on line 245
"interactive_2012_" this is the wordpress folder (I integrated wordpress into my zencart site), actually the full name is "interactive_2012_11_2_wordpress_stop", I don't know why the folder name was trimmed short.
Skip, would you please figure out what's going on?
Re: BackUp ZC [Support Thread]
Try this test.
edit your_admin/backup_zconfig.php
find starting on line 51
Code:
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
"".DIR_FS_CATALOG."pub"
);
Add your worpress root folder to exclude files;
Code:
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
"".DIR_FS_CATALOG."pub",
"".DIR_FS_CATALOG."interactive_2012_11_2_wordpress_stop"
);
Note: If a folder is in this list it has to be really there.
Skip
Re: BackUp ZC [Support Thread]
Thank you Skip:smile:
Actually I already did this, now the complete site size is only 67MB, still got 500 error, and there is no backup zip file generated in the Cache folder.
Any other thoughts?
Re: BackUp ZC [Support Thread]
Hi, I've tried searching in this thread but can't seem to find an answer. My friend has a site with a LOT of downloadable files (now over 80 gig). Whenever she tries to backup using cpanel, it tries to add those files in with the backup and of course, it fails.
With this add on's selective directory option, can she exclude all the downloadable files and products from the backup and only do the database and zen cart/add on files?
Thank you,
Tracy
Re: BackUp ZC [Support Thread]
Quote:
Originally Posted by
dranet
Hi, I've tried searching in this thread but can't seem to find an answer. My friend has a site with a LOT of downloadable files (now over 80 gig). Whenever she tries to backup using cpanel, it tries to add those files in with the backup and of course, it fails.
With this add on's selective directory option, can she exclude all the downloadable files and products from the backup and only do the database and zen cart/add on files?
Thank you,
Tracy
edit your_admin/backup_zconfig.php
If the files are out side of zen cart installation you need to use the real path to the folder.
ie: /path/to/your/webspace/public_html/zen/folder_you_want_to_exclude -- leave no trailing slash
You can find /path/to/your/webspace/public_html information in zen carts includes/configure.php file and then just add the folder you want to exclude.
Example:
Code:
$exclude_files = array("".DIR_FS_CATALOG."cache",
"".DIR_FS_CATALOG."extras",
"".DIR_FS_CATALOG."pub",
"/home/webspace/public_html/donotbackup"
);
Skip