Title: Download link errors
Last modified: August 21, 2016

---

# Download link errors

 *  Resolved [chasethelight](https://wordpress.org/support/users/chasethelight/)
 * (@chasethelight)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/download-link-errors/)
 * I keep getting these two errors after going through the purchase process and 
   then clicking on my download link. The original image size is 5616×3744. Been
   looking around for a solution here and on GitHub. Any ideas?
 * Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image
   dimensions in downloads.php on line 84
 * Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   22464 bytes) in downloads.php on line 85
 * Thanks!
    C~
 * [http://wordpress.org/extend/plugins/sell-media/](http://wordpress.org/extend/plugins/sell-media/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Zane Matthew](https://wordpress.org/support/users/zanematthew/)
 * (@zanematthew)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685386)
 * Hi C,
 * Can you double check your version? because line [84](https://github.com/graphpaperpress/sell-media/blob/master/inc/downloads.php#L84)
   is blank. You might want to try increasing the memory limit in your php.ini or
   host settings.
 *  Thread Starter [chasethelight](https://wordpress.org/support/users/chasethelight/)
 * (@chasethelight)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685392)
 * Yeah, I’ve re-installed with all the latest a few times New errors. Rechecked
   but had already upped the php.ini a long time ago. New errors below with new 
   version….
 * Warning: filesize() [function.filesize]: stat failed for cook_islands.094.jpg
   in downloads.php on line 137
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 138
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 139
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 140
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 141
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 142
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 143
 * Warning: Cannot modify header information – headers already sent by (output started
   at downloads.php:137) in downloads.php on line 144
 * Warning: file_get_contents(cook_islands.094.jpg) [function.file-get-contents]:
   failed to open stream: No such file or directory in downloads.php on line 146
 *  [Zane Matthew](https://wordpress.org/support/users/zanematthew/)
 * (@zanematthew)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685393)
 * Chase,
 * Thats odd, it seems the plugin can’t create the download for some reason. What
   is the file size, height and width of the image?
 *  Thread Starter [chasethelight](https://wordpress.org/support/users/chasethelight/)
 * (@chasethelight)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685397)
 * Got this working finally! I can’t be sure as to the exact thing that made it 
   work but downloading the latest version and just starting from scratch cleared
   it all up. Thanks.
 * Just waiting on the ability to assign sizes per item rather than globally, then
   I’m good to go!
 *  Thread Starter [chasethelight](https://wordpress.org/support/users/chasethelight/)
 * (@chasethelight)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685398)
 * Marking as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Download link errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sell-media_6b666e.svg)
 * [Sell Media](https://wordpress.org/plugins/sell-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sell-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sell-media/)
 * [Active Topics](https://wordpress.org/support/plugin/sell-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sell-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sell-media/reviews/)

## Tags

 * [download](https://wordpress.org/support/topic-tag/download/)

 * 5 replies
 * 2 participants
 * Last reply from: [chasethelight](https://wordpress.org/support/users/chasethelight/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/download-link-errors/#post-3685398)
 * Status: resolved