I use Drupal 6.8 and album photos. Whenever I upload pictures >2M file size I get a blank screen (which I think is a suppressed error message).
I have increased all upload limits (using PHP values in the .htaccess and in Drupals settings) and could successfully upload big files using the normal file attachment. It does not make any difference if I use the flash upload (screen not blank but upload still not happened).

My server uses PHP 4.4.0 (old but should do).

Any ideas?

Sven_H

I really like the module and its concept but this is really a show-stopper.....

Comments

NeilPorter’s picture

I think this is almost certainly a PHP memory limit issue. In php.ini you need to increase memory_limit = xxM (where xx is something bigger than it is currently).

Sven_H’s picture

Thanks for the hint. The current setting is 32M and the service provider tells me this should be more than sufficient.

Any other idea or steps for better diagnosis? Does the GD Picture Toolkit have any impact? Are there settings I could try?

Any help is appreciated.

Sven_H

berdir’s picture

This depends heavily on the amount of modules you are using...

With enough enabled modules, 32MB might be too less. Actually, I have installs where 64MB is almost to less and if you want to run the full Drupal 7 test suite, 128MB isn't even enough anymore :)

There where already some similiar issues, see #319400: Не могу сохранить добавленые фотографии

You could ask your provider to set a higher memory limit, atleast temporary and test then if it does work.

NeilPorter’s picture

I agree with Berdir. For example, I have mine set to 64M.

Sven_H’s picture

Status: Active » Closed (fixed)

Thanks for all your responses. Very helpful. We set the limit to 64M and it works fine now!

BTW: In addition to the standard modules (which are not all active) I only use two more modules, one of which is album photos. Not sure if there are modules which would justify a note in their description that memory limits may need a review when using them.

Sven_H

dami’s picture

@Sven_H:

Just FYI, there are issues to allow modules to specify memory requirements in .info file. However it's for 7.x.

http://drupal.org/node/309457