WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Template
Input file limit to 20? (6 posts)

  1. kevin
    Member
    Posted 3 years ago #

    Hey all, am running the plugin version 1.9.2 on a 3.1.3 wp and in the admin i did set up 30 input file fields. It all works fine until the 21st field (and beyond) that does not save any file (small picture) that is selected.

    Has anyone seen this before?

  2. kevin
    Member
    Posted 3 years ago #

    Just noticed that it was all working fine locally (wamp). Still not uploading online...

  3. kevin
    Member
    Posted 3 years ago #

    Tested on another server with my local database backup and it's weird. The post that has 30 pictures (one in each input file field) is displaying well the 30 pictures and has then well saved in the admin, but when it comes to create a new post i'm still stuck with 20 pictures saved and nothing after this.

  4. scottconnerly
    Member
    Posted 3 years ago #

    Its a PHP ini configuration. max_file_upload.

  5. kevin
    Member
    Posted 3 years ago #

    Seems like it yeah, it's limited to 20 when i check the php configuration. I asked the support of my server and they said i had to insert ini_set (max_file_upload, xxx ) at the beginning of the script. Question is, where is this script in the wp files? and is there a way to include this in the functions.php file of the theme? Cos it'll be deleted at next wp update.

  6. kevin
    Member
    Posted 3 years ago #

    Found a solution. I divided my pictures into 3 templates and in the post admin i just have to load them with the drop-down menu. The value of "max_file_uploads" is still stuck at 20 but for now it's the best solution i found.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic