PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > General Issues / Questions
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 8-14-06, 12:25 AM   #1
Digitalrage
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)
Digitalrage is offline  
Old 8-14-06, 04:32 AM   #2
HalfaBee
 
HalfaBee's Avatar
 
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
HalfaBee is offline  
Old 8-14-06, 05:26 AM   #3
relax
 
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:
I set up downloadable products (Embroidery designs) in ZenCart.
Everything looks OK.
The green boxes show the downlodable files in Attributes controller.
When the customer downloads the file, it is a text INDEX file with the following error message:

<br />
<b>Warning</b>: symlink(): No such file or directory in <b>/home/vod/public_html/Embroidery_Designs/includes/modules/pages/download/header_php.php</b> on line <b>115</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/vod/public_html/Embroidery_Designs/includes/modules/pages/download/header_php.php:115) in <b>/home/vod/public_html/Embroidery_Designs/includes/functions/functions_general.php</b> on line <b>52</b><br />
relax is offline  
Old 8-14-06, 09:41 AM   #4
HalfaBee
 
HalfaBee's Avatar
 
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
HalfaBee is offline  
Old 8-14-06, 10:00 AM   #5
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 8-14-06, 03:34 PM   #6
Digitalrage
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...
Digitalrage is offline  
Old 8-14-06, 03:46 PM   #7
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 8-14-06, 04:38 PM   #8
Digitalrage
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..
Digitalrage is offline  
Old 8-14-06, 04:45 PM   #9
YvetteKuhns
 
YvetteKuhns's Avatar
 
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.
__________________
Yvette Kuhns
Power Pages Web Design
Customized Internet Advertising Solutions
YvetteKuhns is offline  
Old 8-14-06, 05:04 PM   #10
Digitalrage
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..
Digitalrage is offline  
Old 8-14-06, 07:19 PM   #11
Digitalrage
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!
Digitalrage is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:36 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.