Topic: only 25 pictures are loaded

Hello,

Sorry for my bad english.

I have svmanager updated with the latest version. I have Simpleviewer Pro.
I have installed Simpleviewer Pro with Svmanager.

In php.ini, I have:
upload_max_filesize = 10M
post_max_size = 40M
max_file_uploads = 50
max_execution_time = 60
max_input_time = 120

When I want to uploade pictures, there are only 25 pictures are loaded and I have to start a lot of time to put about 200 pictures.

Where does the problem?

Thank you

Re: only 25 pictures are loaded

Your settings look ok.

What is the average size of your images?

What happens if you try to upload 50 really small images? Is it still limited to 25?

Is there anything in the server transaction log for the time that you do the upload?

Some installations have several copies of php.ini. Are you absolutely sure that you are looking at the right one? You can create a small php file in a text editor to test. Name your file say info.php with the following contents:

<?php
phpinfo();
?>

Upload the file to the svmanager directory on your server and run it from a browser. Check the settings, particularly max_file_uploads.

jack

Jack Hardie
SimpleViewer Support Team.

Re: only 25 pictures are loaded

Hello,
Thank you for your reply.

The average image size is: 800x500px 45kb

I mean resized images in 100x67px 2kb and when I want to load 50 pictures there are only 25 pictures loaded.

In the Apache access logs there:

193.xxx.xx.xxx - [17/Oct/2013: 12:02:34 +0200] "POST / galleries / myupload.php path = viler home www galleries g2 pictures HTTP/1.0?" 200 211 "-" "MyUploader/1.16 "
193.xxx.xx.xxx - [17/Oct/2013: 12:02:35 +0200] "GET / galleries / svmupload.php uploaded = true HTTP/1.1?" 200 1366 "http://www.website.com/galeries ? / svmupload.php uploaded = true "" Mozilla/5.0 (Macintosh, Intel Mac OS X 10.7; rv: 24.0) Gecko/20100101 Firefox/24.0 "

In php.ini I have the correct settings:
upload_max_filesize = 10M
post_max_size = 40M
max_file_uploads = 50
max_execution_time = 60
max_input_time = 120

My computer is a mac maybe this has an effect ?

Last edited by lfdn (2013-10-17 10:08:59)

Re: only 25 pictures are loaded

Everything looks ok. My computer is also a Mac.

Maybe there is some other restriction in your server?

You can work around it by uploading the new images by ftp to svmanager/yourgallery/images/ and using the Rebuild option in the svManager galleries screen.

jack

Jack Hardie
SimpleViewer Support Team.

Re: only 25 pictures are loaded

Hi !

I found the solution.
The problem was Suhosin (suhosin.upload.max_uploads).

The configuration file is in suhosin / etc/php5/apache2/conf.d/suhosin.ini

Best regards

Re: only 25 pictures are loaded

I'm glad you have been able to resolve your problem.
Thank you for posting back to let us know.

Steven Speirs
SimpleViewer Support Team.