Announcement

#1 2014-10-16 20:33:11

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Upload problem

Hello.

I'm a new Piwigo user.  I just installed 2.7.1, specifically for classmates to upload pictures of our fiftieth high school reunion.  I've had a number of issues with the installation, most of which have been resolved, some by myself and some with the help of this forum.

I now find that I (and other users) can upload SMALL pictures, even multiple small pictures at one time, but if the combined file size is greater than about 120 kb, the upload fails with an "Error 500 - Inernal Server Error".

I've tried increasing upload_max_filesize to 10M and memory_limit to 256M in php.ini, but that didn't help.

I will appreciate any assistance I can get.


Piwigo version: 2.7.1
PHP version: 5.3.10-1ubuntu3.11
MySQL version: 5.5.37-0ubuntu0.12.04.1
Piwigo URL: http://nfa64.org/piwigo

Offline

 

#2 2014-10-16 21:18:02

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem

Hello
500 internal server Error is -as written- an issue from the server itself: check carefully the logs or any error_reporting files


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 2014-10-16 22:02:46

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

Flop25 - thanks.  I had previously checked all the log files, but I just re-checked them and found nothing.

Any other thoughts?

Offline

 

#4 2014-10-16 22:04:18

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem

in my opinion, since that's linked to the size of pictures, that could be the processing of pictures, especially the generation of other sizes
which graphic library is used? first admin page


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

 

#5 2014-10-16 22:41:45

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

ImageMagick 6.6.9-7

Offline

 

#6 2014-10-16 22:49:16

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

I just tried changing the configuration - I un-checked all the sizes except square, thumbnail and medium.  That didn't help.

Resizing works on another site I have up using YAPPA-NG, so I don't think there's anything wrong with ImageMagick.

Offline

 

#7 2014-10-16 23:10:17

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem

jsut to be sure, set $conf['graphics_library'] = 'gd'; as local config


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

 

#8 2014-10-16 23:45:17

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

Where do I set that? - I'm kinda new to this.

Offline

 

#9 2014-10-17 07:41:32

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem

Check out our Doc


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

 

#10 2014-10-17 08:07:07

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

Re: Upload problem

1) Activate plugin LocalFiles Editor
2) on page [Administration > Plugins > LocalFiles Editor > config], insert before "?>" :

Code:

$conf['graphics_library'] = 'gd';

Offline

 

#11 2014-10-17 12:54:47

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

That had no effect.  Any other thoughts? 

I appreciate your effort.

Offline

 

#12 2014-10-17 12:58:50

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem

if the server is not more explicit in logs... no unfortunatly


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

 

#13 2014-10-17 14:17:11

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

I just found a log in a different location!

It has some info that should be useful:

         mod_fcgid: HTTP request length (so far) exceeds MaxRequestLen (131072), referrer:...


I suspect that gives us a direction.

Offline

 

#14 2014-10-17 14:27:30

flop25
Piwigo Team
2006-07-06
7037

Re: Upload problem


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

 

#15 2014-10-17 14:36:51

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Upload problem

BINGO!

I can't thank you enough!

Offline

 

Board footer

Powered by FluxBB

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