• Resolved semoliner

    (@semoliner)


    Hi, so far I have had only one successful upload, which was a tiny text file. Subsequently, any images (and even the original successful file) now result in the error “Upload failed! The duration of the upload exceeded the time limit of the server. Please contact the administrator.”

    I opened a ticket with our web host, they responded “I have checked the website error log related to this and could not find any errors. I suspect that the issue seems related to your wp-file-upload plugin. I was able to upload a file over 10MB via the wp-media upload option. So I suggest you to check if there are any limitations on the plugin wp-file-upload related to the file upload.”

    In case it assists, this is the shortcode currently in use:

    [wordpress_file_upload uploadpath=”khsnap” fitmode=”responsive” resetmode=”never” maxsize=”” createpath=”true” adminmessages=”true” blockcompatibility=”auto” placements=”selectbutton/filename/userdata/userdata/uploadbutton/progressbar/message” uploadtitle=”” selectbutton=”Select Photo” uploadbutton=”Submit” successmessage=”File %filename% uploaded successfully – thank you!” errormessage=”File %filename% not uploaded – please try again after a few seconds” waitmessage=”File %filename% is being uploaded…” requiredlabel=”- required” notify=”true” notifyrecipients=”[email protected]” notifysubject=”KHSnap File Upload Notification” notifymessage=”This is an automatic delivery message to notify you that a new file has been uploaded.%n%%useremail%%n%%filename%%n%%userdataXXX%%n%” materialui=”true” successmessagecolors=”#1e73be,#EEFFEE,#006666″ widths=”message:9000″ userdata=”true” userdatalabel=”Your name|t:text|s:right|r:1|a:0|p:right|d:/Your email|t:email|s:right|r:1|a:0|v:1|p:right|d:|g:0″ userdatalabel2=”Photographer’s name (if not yourself)|t:text|s:right|r:0|a:0|p:right|d:/Address or location of photo|t:text|s:right|r:1|a:0|p:right|d:/Description|t:text|s:right|r:1|a:0|p:right|d:/Date taken|t:date|s:right|r:1|a:0|p:right|d:|f:/Anything else you may wish to add?|t:multitext|s:right|r:0|p:right”]

    Thanks for any assistance.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nickboss

    (@nickboss)

    Good morning,

    Are you using the free version of the plugin? If yes, what is the values of the following PHP directives?

    • upload_max_filesize
    • post_max_size
    • max_execution_time
    • max_input_time

    Best Regards

    Nickolas

    Thread Starter semoliner

    (@semoliner)

    Hi Nickolas,
    Thanks – yes it’s the free version.
    upload_max_filesize 1G
    post_max_size 128M
    max_execution_time 3000
    max_input_time -1

    • This reply was modified 1 year ago by semoliner.
    Plugin Author nickboss

    (@nickboss)

    Ok so the limits are ok. Are you using any cache plugin or do you know if there are any security modules installed on your web server? like ModSecurity? Some times they block the plugin.

    Nickolas

    Thread Starter semoliner

    (@semoliner)

    Thanks – this turned out to be caused by our anti-spam plugin. As we need that plugin, I suppose I need to contact their dev team to see what they suggest – or can you suggest a workaround?

    Plugin Author nickboss

    (@nickboss)

    Which plugin is it? One workaround is to add this page to the exclusion list of the anti-spam plugin. I suppose it has this feature.

    Nickolas

    Thread Starter semoliner

    (@semoliner)

    Thanks Nickolas, the anti-spam dev has assisted me to resolve the issue – all good now! Thank you for your assistance.

    • This reply was modified 1 year ago by semoliner.
    Plugin Author nickboss

    (@nickboss)

    Very good.

    Best Regards

    Nickolas

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘duration of the upload exceeded the time limit of the server’ is closed to new replies.