As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #3985863
Problem with Attached file bigger than 200Ko
Closed

Comments

  • Arthur started the conversation
    1. Environment
    ItemDetails
    HostingHostinger (Open-/LiteSpeed stack)
    WordPress8.6.1
    AmeliaLatest build (Step-by-Step Booking, Events Calendar, Catalog, etc.)
    PHP limitsupload_max_filesize = 2048 M, post_max_size = 2048 M
    Server cacheLiteSpeed Cache disabled during tests
    ModSecurityTemporarily disabled via SecFilterEngine Off / SecFilterScanPOST Off


    2. Issue

    Any Amelia form that contains the Attachment custom field fails to reach the final “Thank-you” page when the uploaded file is larger than ≈ 200 KB.

    Effects:

    • Booking is created in the back-end and file is stored.

    • Front-end wizard freezes; no redirect or success screen.

    Occurs in all Amelia modules (Step-by-Step, Events Calendar, Catalog, etc.).

    3. How to reproduce
    1. Add an Attachment field to any Amelia event or service.

    2. On the front-end, upload a file < 200 KB → works.

    3. Upload a file > 200 KB → wizard hangs (booking still saved).

    4. What we see in DevTools
    CaseResponse from admin-ajax.php?action=wpamelia/api/booking
    Success (< 200 KB)HTTP 200 + valid JSON
    Failure (> 200 KB)HTTP 200 but body = corrupted binary / garbled characters.

    The next /success request is never made when failure.

    5. Troubleshooting already done
    • Raised PHP limits (see §1).

    • Disabled LiteSpeed Cache completely → no change.

    • Disabled ModSecurity via .htaccess → no change.

    • Same result across different browsers.

    6. Help needed
    1. Why does the JSON response become corrupted for files > ~200 KB?

    2. Is there any Amelia buffer/attachment handling that could leak binary data into the AJAX response?

    3. Recommended server settings (LiteSpeed / Hostinger) to let larger files pass?

    4. Road-map: will front-end file-size validation or a “Max file size” setting be added soon?

    Screenshots of both responses and current PHP info are ready to share.

    Thank you for your assistance!

  •  1,733
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    Can you explain in a little more detail and send us a short one-minute video?

    We have tested this and uploaded picture that is 1.3mb large

    1970815180.png

     

    And we were to upload without any issues 

    5287753196.png

    And to book events same goes for appointments

    4745455816.png

    Looking forward to your reply.

    Kind Regards,

    Marko Davidovic 

    Kind Regards, 

    Marko Davidovic [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables