Rank: Advanced Member
Groups: Member
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
When you use Image Uploader on your PHP site, in some cases you are unable to upload more than N files. You can get errors like this in server script handling uploaded data: “Uncaught exception 'Exception' with message 'Source file is not uploaded. In order to upload source file you should pass true value to ImageUploader.setUploadSourceFile method.' in production/_php/classes/ImageUploaderPHP/UploadedFiles.php:41” It occurs when you try to upload more than N (usually, 20) files in one upload session. The problem is caused by max_file_uploads settings in PHP which has value 20 by default. It means that HTTP POST requests can have not more than 20 files. To resolve this problem you should add max_file_uploads variable to your php.ini file and set some large value for it: Code:
...
max_file_uploads = 1000
...
Then restart your server and run your application again. To check the value of max_file_uploads variable in the PHP configuration you should add the following command: Code:
<?php
echo (phpinfo());
?>
See also: Edited by moderator Thursday, June 20, 2013 8:12:25 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.