Announcement

#1 2012-04-20 03:08:26

sleze
Member
2012-04-20
5

Erratic uploading of photos using ploader

I am trying to get Piwigo to work on http://belclarkphoto.com but I am experiencing inconsistent results when we upload photos.  There doesn't appear to be an easy way to figure out why one photo uploads and another does not.  Sometimes, it appears dimension size (5500 pixels is too large) is the problem and sometimes it is merely the size of the photo (8 MB is ok sometimes and 3.3 MB is too big other times).

The only hint we get is the rather vague error message:

Communication error with http://belclarkphoto.com/piwigo : Forbidden.

I should be able to upload 16 MB photos based on my php.ini file permissions set by my ISP.  Can anyone shed some light on what is going on?

Offline

 

#2 2012-04-20 10:53:17

flop25
Piwigo Team
2006-07-06
7036

Re: Erratic uploading of photos using ploader

Hello
it seems to be more related to your server and its limitations
are you on a shared hosting or on a dedicated one ? For the first, you have limitations on use, if you -or someone else- overload the server. If you have a dedicated server, you could check the logs to see what are the errors returned


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-04-20 12:34:50

rvelices
Piwigo Team
2005-12-29
1960

Re: Erratic uploading of photos using ploader

sleze wrote:

I should be able to upload 16 MB photos based on my php.ini file permissions set by my ISP.  Can anyone shed some light on what is going on?

what makes you say that. what are the settings (follow the link Show Info from admin home page) for upload_max_filesize, post_max_size and memory_limit, max_execution_time, max_input_time ?

Offline

 

#4 2012-04-20 14:56:42

sleze
Member
2012-04-20
5

Re: Erratic uploading of photos using ploader

@flop25 - It is shared.  I have had problems with that in the past but they were complete shutdown of capability and not this sometimes uploads work and other times not.

@rvelices -

Thanks for telling me about this screen.  It is very helpful.  Here are the settings you asked for:

upload_max_filesize    64M    64M
post_max_size                  64M    64M
memory_limit                  128M    128M
max_input_time                  60    60

Offline

 

#5 2012-04-20 18:48:26

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13490

Re: Erratic uploading of photos using ploader

I'm 93% sure the problem is the memory_limit

Offline

 

#6 2012-04-21 01:18:02

sleze
Member
2012-04-20
5

Re: Erratic uploading of photos using ploader

plg wrote:

I'm 93% sure the problem is the memory_limit

What should it be?

Offline

 

#7 2012-04-21 10:19:39

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13490

Re: Erratic uploading of photos using ploader

I would say that your memory_limit is too low. If your graphics library is GD (you can read it on Piwigo administration homepage) then you need more memory to resize big pictures.

Offline

 

#8 2012-04-22 22:30:50

sleze
Member
2012-04-20
5

Re: Erratic uploading of photos using ploader

plg wrote:

I would say that your memory_limit is too low. If your graphics library is GD (you can read it on Piwigo administration homepage) then you need more memory to resize big pictures.

Soo....256MB? 1GB?

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact