Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorjrthor2
    • CommentTimeOct 3rd 2008
     
    Can I increase the limit on file sizes to upload? I have a zip file that might be 10 megs, but the limit is 2 megs. How can I increase the limit to upload?

    Thanks
    •  
      CommentAuthorkimparsell
    • CommentTimeOct 3rd 2008
     
    If you are getting an error when you try to upload a zip file or image that is over 2MB, then that limit is being imposed by your webhost in their server configuration (upload_max_filesize). You would need to talk to them about increasing it.
    • CommentAuthorjrthor2
    • CommentTimeOct 3rd 2008
     
    I'm not getting an error, I just get the upload screen back, with no message at the top, but there are no photos in my album from my zip file. I have modified the php.ini file, for upload_max_filesize, but no matter what I put in there, it doesn't help. I have also put the below in my plog-globals.php file, but it doesn't seem to help:

    @ini_set("max_execution_time", "300");
    @ini_set("memory_limit", "64M");
    •  
      CommentAuthorkimparsell
    • CommentTimeOct 3rd 2008
     
    I want you to open plog-globals.php and add the following line right after @ini_set("memory_limit", "64M"); (around line 6):
    error_reporting(E_ALL);
    Save and upload it to your server, overwriting the existing file.

    Now try to upload a file larger than 2MB again, and you should see errors listed at the top of the page. Please copy and paste those errors here so we can see what the actual issues are.
    •  
      CommentAuthorsidtheduck
    • CommentTimeOct 3rd 2008
     
    There may be a few other issues. The variables you need to check in your php.ini are:
    max_execution_time //length of time that the script can run, 300 as posted above should be sufficient
    memory_limit //amount of temporary memory available
    upload_max_filesize //maximum size of uploaded files
    post_max_size //maximum size of a form submission - should be larger than upload_max_filesize to allow for passed variables and / or form input


    All of these settings could affect the uploads. If you have access to your php.ini I would set all of these variables there instead of plog-globals. upload_max_filesize and post_max_size cannot be altered per script but at a minimum of per directory (so either via local php.ini [if allowed], local .htaccess [if allowed], or via the system php.ini). max_execution_time and memory_limit can sometimes be altered per script if the webhost allows it (otherwise they need to be set per directory or the system php.ini). Sometimes you do not get error output because the server does not have sufficient time or sufficient memory to post the error output (if either of them fully maxes out prior to triggering the error report), so usually one or more of the above variable settings is the culprit.

    Also, when uploading a .zip file, the images are temporarily saved to the uploads/ directory to allow you to process captions or descriptions before importing to the specified album. If you are looking to see if any of the .zip file was extracted, you should look in the uploads/ folder and not the individual images/collection/album/ folder via FTP.

    I hope I just made sense. :D :P
    • CommentAuthorjrthor2
    • CommentTimeOct 3rd 2008
     
    I got it working. I had my php.ini file in my photo gallery root directory, not in the admin directory. I moved it to the admin directory,a nd now it is working.

    Thanks!