|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Registered
Join Date: Mar 2006
Location: Portugal
Posts: 7
Reputation: 0
|
Corrupted downloaded files on ZenCart.. :(
Is anyone here having corrupted downloaded files by using zencart's internal download system?
Zen cart's support team tells us that is a powweb's issue... anyone here confirms? Check this topic on zencart's support forum please : http://www.zen-cart.com/forum/showthread.php?p=245588 If so... is there any available fix? This is kind of a BIG BIG BIGGGG problem for virtual stores.. selling virtual produtcs.. such as my own. (By the way.. my nickname on ZenCart's forum is Joanorsky) |
|
|
|
|
#2 |
|
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 7,131
Reputation: 333
|
In what way is the download getting corrupted?
__________________
I don't suffer from laziness, I enjoy every minute! Edit your php.ini here http://members.powweb.com/member/cgi...nt/PHPplus.bml |
|
|
|
|
#3 | |
|
Join Date: May 2005
Location: at work
Posts: 63
Reputation: 21
|
From the link he gave I think he means this, although an exact error message would be nice.
Quote:
|
|
|
|
|
|
#4 |
|
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 7,131
Reputation: 333
|
Well that looks like it is not hosted at Powweb.
So it is probably a output buffering problem. It could have been caused by ouput buffering being turned off in migration.
__________________
I don't suffer from laziness, I enjoy every minute! Edit your php.ini here http://members.powweb.com/member/cgi...nt/PHPplus.bml |
|
|
|
|
#5 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
The first warning casuses the second as a side-effect. if your site is compra-a-mim.com, then it is hosted here. I am confused, though, as the configure.php you show on the Zen forum doesn't match what you show here for error messages. Could it be that DIR_FS_CATALOG in the store's includes/configure.php has the wrong path?
__________________
Steve |
|
|
|
|
#6 |
|
Registered
Join Date: Mar 2006
Location: Portugal
Posts: 7
Reputation: 0
|
sorry.. there seems to be some sort of confusion here.
Yes.. my site is compra-a-mim.com but the error is not that one! In fact the webstore work perfectly, and it gives no error whatsoever except when a file is downloaded. I mean.. whenever a costumer tries to download a virtual product that he has bought. The file's download connection is terminated before it's completion. Here goes a detailed issue report : (well.. i hope it helps.. )Te exact steps how we are uploading/downloading the contents to/from Zencart servers. - Uploading : this procedure is done by a FTP client. The file is uploaded to htdocs/cam/download directory. (compra-a-mim.com's directory that is mapped to this domain) - Downloading : This procedure is done by a regular costumer, that buys a virtual product from our shop. We've made a virtual costumer for your testing with the following details : - email : joanorsky@hotmail.com - password : xyy3z After payment, and successful login a download link is presented at the costumers home page on our shop (that is located on the following link) : http://www.compra-a-mim.com/index.ph...o&order_id= 7 The costumer then clicks on the download buton and the download begins. * The URL of the page where the upload/download options are available to test. In order to download any file, the visitor must login to it's account. this account has the data posted upwards. Download can be done (for example, and after successful login) on the following link : http://www.compra-a-mim.com/index.ph...o&order_id= 7 * The Username/Password if any to login to the URL. - email : joanorsky@hotmail.com - password : xyy3z *** You see I can upload the files by FTP (to htdocs/cam/download), but all downloads by zencart's system are corrupted as they are not completly downloaded.. i did checked them.. and they are shorter!!! The zen cart can use 2 types of download configurations. First configuration type : Using redirection with symbolic redirect on UNIX. (It does not works with powweb.. as it seems.. so we shut it down) Second configuration type : Not using redirection with symbolic redirect on UNIX... just as a regular download. Unfortunatly... the files downloaded this way... become shorter that they should, making themselfs useless. The files have the correct size on server... but the streamming down becomes corrupted.. and THIS is the problem we're facing. Basically... this is what i need!!! Many other users on the zencart support are pointing to powweb's server's configuration. Which one ? Well i donnow.. hope you guys can tell me... Thanks for helping... ![]() |
|
|
|
|
#7 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
How much shorter? And how long (in clock time) does the download take? There is a known issue that any script that takes more than 60 seconds to run is terminated.
__________________
Steve |
|
|
|
|
#8 |
|
Registered
Join Date: Mar 2006
Location: Portugal
Posts: 7
Reputation: 0
|
Well.. i was just making some arrangements on my php.ini (well... once on despair we check everything... right?) .. and i made the following changes :
;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 90 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) (this last one stayed the same) Still.. i had no favourable results... ![]() just tryed to download (twice) a file of 969KB and it stops on the 954KB. I've tested it on several ISPs, computers and downlink rates... but all failed.. |
|
|
|
|
#9 |
|
Join Date: Feb 2003
Location: Allentown, PA USA
Posts: 14,885
Reputation: 447
|
Did you contact support for your custom php.ini file? They told me that we cannot customize our files ourselves anymore. They must/will do it for us. Also, you can only have one php.ini file, so you probably want it inside htdocs.
|
|
|
|
|
#10 |
|
Registered
Join Date: Mar 2006
Location: Portugal
Posts: 7
Reputation: 0
|
Well.. i don't think so. The php.ini files can be changed CGI Management >> PHP Scripting on the OPS area of your account.
And yes... only one php.ini per account is being used. So.. i think the problem does not come from that one... i .. think.. |
|
|
|
|
#11 |
|
Registered
Join Date: Mar 2006
Location: Portugal
Posts: 7
Reputation: 0
|
Jez... i think i found a fix! No need to keep looking at this anymore.
Sure was a strange issue.. but as it seems it was a software bug not a server side bug. http://www.zen-cart.com/forum/showth...951#post245951 Thanks for all in helping out! |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|