Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-06-27 18:09:12

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Downloading a 3.5 MB pdf results in a corrupted file

Downloading a 3.5 MB pdf file results in a corrupted file where some parts have been cut and replaced by a last line that reads like this

<br />
<b>Fatal error</b>:  Allowed memory size of 10485760 bytes exhausted (tried to allocate 3676161 bytes) in <b>[HOME]/textpattern/publish.php</b> on line <b>152</b><br />

Is this a server or textpattern issue? When does the corruption occur? During upload (which I did via ftp to the files directory and then linking in the files tab) or the moment you try downloading

Thanks a lot in advance!

Offline

#2 2008-06-28 02:49:46

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: Downloading a 3.5 MB pdf results in a corrupted file

What does phpinfo say?


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

#3 2008-06-28 06:08:46

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Re: Downloading a 3.5 MB pdf results in a corrupted file

Have put the phpinfo() output here.

Anything suspicious?

Got the culprit, it’s jmd_sitemap: corruption when enabled. Smooth file download when disabled. Will file a bug report there.

Last edited by gerhard01 (2008-06-28 10:14:45)

Offline

Board footer

Powered by FluxBB