Announcement

#1 2014-05-15 10:15:51

knjigor
Member
2014-03-04
5

Cant upload files bigger than 100kb

Hi,

Since yesterday I have a problem, I can't upload any picture bigger than 100kb (no matter what resolution it is). Php.ini is set to:

max_execution_time    120
max_file_uploads    80
max_input_nesting_level    64
max_input_time    60
memory_limit    256M
post_max_size    100M

When I upload with falsh, I get http 500 error, with browser it is same. Logwatch has reported httpd errors:
    500 Internal Server Error
       /./admin/include/uploadify/uploadify.php: 127 Time(s)
       /: 20 Time(s)
       /admin.php: 12 Time(s)
       /admin.php?page=photos_add&upload_mode=html&processed=1: 10 Time(s)
       /ws.php?method=pwg.extensions.checkUpdates&format=json: 4 Time(s)
       /index.php?/category/131: 3 Time(s)
       /admin/include/uploadify/uploadify.php: 1 Time(s)

I have tried to do a fresh install in subfolder, but got the same error.

Can someon help me please


Piwigo version: 2.6.2
PHP version: 5.3.10-1ubuntu3.11
MySQL version: 5.5.37-0ubuntu0.12.04.1
Piwigo URL: http://galerija.ff.uns.ac.rs

Last edited by knjigor (2014-05-15 10:22:44)

Offline

 

#2 2014-05-15 10:54:05

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Cant upload files bigger than 100kb

Hello,
what is upload_max_filesize ?

Offline

 

#3 2014-05-15 10:59:28

knjigor
Member
2014-03-04
5

Re: Cant upload files bigger than 100kb

upload_max_filesize    100M

Offline

 

#4 2014-05-15 11:18:03

flop25
Piwigo Team
2006-07-06
7037

Re: Cant upload files bigger than 100kb

seems like you also tried with the simple html form and it failed, am I right?


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-05-15 11:20:15

knjigor
Member
2014-03-04
5

Re: Cant upload files bigger than 100kb

Yes, simple html and flash fail if file size is biger than 100kb

Offline

 

#6 2014-05-30 11:00:59

billy88
Member
2014-05-12
11

Re: Cant upload files bigger than 100kb

Maybe apache server is a problem here?

Maybe there is LimitRequestBody directive set somewhere by your admin?

see: http://httpd.apache.org/docs/2.2/mod/co … equestbody

Offline

 

#7 2014-05-30 13:16:24

knjigor
Member
2014-03-04
5

Re: Cant upload files bigger than 100kb

Unfortunatly no, I'm administrator of server, and there is nothing simmilar to that. I have created a fresh new domain and instaled piwigo (latest) and same thing heppend. Strange thing is that we have a drupal with digital librari installed on other domain and there are pdf files up to 50mb and png files up to 3mb and there is no problem with them, allso wordpress instalation and some other scripts and onli piwigo has a problem :(

Offline

 

#8 2014-05-30 14:44:14

knjigor
Member
2014-03-04
5

Re: Cant upload files bigger than 100kb

Ok, finaly I have found solution for problem, before problem occured, i was changing php modes, and I left it on fast-cgi, today I have changed back to mod-php and gived www-data rights and everithyng is working fine (alldo it is still confusiong to me).

Thanx all for help

Admin can close topic

Offline

 

Board footer

Powered by FluxBB

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