Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Bug tracker «  

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

avatarRhodes, Nick -- on Oct. 19 2007, from West Yorkshire, UK
YACS team (UK)
Immediate solution has been provided

Solution 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:

# 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
avatar
from nearby-an-airport
Associate, 6796 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
avatar
from West Yorkshire, UK
337 posts

on Oct. 20 2007


I share space on a friends virtual server.
-----
Nick
Bernard
avatar
from nearby-an-airport
Associate, 6796 posts

inspired from NickR on Oct. 20 2007


NickR: lucky man...
NickR
avatar
from West Yorkshire, UK
337 posts

inspired from Bernard on Oct. 20 2007


" 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)