Skip to main content Help Control Panel

 

English «   Bug tracker «  

Blank Screen uploading large images (code included) [Solved]

WorkflowSupport request
StatusImmediate solution has been provided
  • Submission on Oct. 19 2007 by NickR
Progress100%
I was uploading an image that was larger than the normal 800x600 that I usually upload and I noticed a blank screen. Having encountered this problem before I knew it was the default php memory limit. So I simply updated my htaccess file with the following:

# Increase memory limit if you encounter a blank screen uploading images
#
php_value memory_limit 16M


This might be worth adding to the htaccess as standard to be uncommented as required.

Cheers, Nick

Comments


Bernard Paquesfrom nearby-an-airport
Associate, 8408 posts

on Oct. 20 2007


Thanks for the tip. Also, this way to set PHP parameters through the .htaccess file is not accepted by all ISPs. Where are you hosted by the way?
NickR

on Oct. 20 2007


I share space on a friends virtual server.
-----
Nick

Bernard Paquesfrom nearby-an-airport
Associate, 8408 posts

inspired from NickR on Oct. 20 2007


NickR: lucky man...
NickR

inspired from Bernard on Oct. 20 2007


" NickR: lucky man... "


It at www.bytemark.co.uk - very reasonably priced for what you get.
-----
Nick