Blank Screen uploading large images (code included) [Solved]
Immediate solution has been providedSolution Manager: NickR
Issue description
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:
This might be worth adding to the htaccess as standard to be uncommented as required.
Cheers, Nick
# 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 from nearby-an-airport Associate, 6796 posts | 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![]() from West Yorkshire, UK 337 posts | I share space on a friends virtual server. ----- Nick |
| Bernard from nearby-an-airport Associate, 6796 posts |
NickR: lucky man... |
NickR![]() from West Yorkshire, UK 337 posts |
" NickR: lucky man... It at www.bytemark.co.uk - very reasonably priced for what you get. ----- Nick |
Rate this page
Posted by NickR on Oct. 19 2007, commented by NickR on Oct. 20 2007, (popular)
