Warran Posted February 20 Share Posted February 20 Hi I am having an issue uploading files via 'Files' fields in my templates. Progress goes to 100% but then goes no further i.e. to the point where you would add the description for the file just uploaded. Attached is a screenshot showing where it gets stuck. Works ok with very small file sizes but not with larger files such as the 8MB one in the screenshot. The ini file settings are: memory_limit 128M post_max_size 32M upload_max_filesize 32M max_input_time 360 Hosting provider is adamant it's a CMS issue. Any help would be appreciated. Thanks Link to comment Share on other sites More sharing options...
elabx Posted February 20 Share Posted February 20 Check if there is an error on the console, this has happened to me when there is a javascript error parsing the console, sometimes happening when a PHP warning or errors gets attached to the response of the ajax file upload. 1 Link to comment Share on other sites More sharing options...
Warran Posted March 6 Author Share Posted March 6 Thanks, I'll check that and report back. Link to comment Share on other sites More sharing options...
Warran Posted April 1 Author Share Posted April 1 I've checked and no errors are being generated in console. Link to comment Share on other sites More sharing options...
JamesFletcher Posted April 3 Share Posted April 3 (edited) You're on the right track! Adjusting PHP settings should help. Reveal hidden contents Large file uploads stalling at 100% may be due to server timeouts or CMS limits. Check max_execution_time, web server settings, and browser console for errors after upload completes. After weeks of stress and writer’s block, I finally admitted I couldn’t finish my thesis alone. I had solid research but no idea how to present it cohesively. I thought maybe professional thesis help could make the difference. That’s when I turned to https://academized.com/thesis-help from Academized. They reviewed my draft, reorganized weak sections, and helped me build a stronger conclusion. It felt like working with a mentor—and it absolutely boosted the quality of my final paper. Edited April 18 by JamesFletcher Link to comment Share on other sites More sharing options...
Warran Posted April 3 Author Share Posted April 3 Update: I've uncovered the following error: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/cpanel/php/sessions/ea-php82, handler: write) in <b>Unknown</b>on line <b>0</b> Any thoughts? Link to comment Share on other sites More sharing options...
Warran Posted April 10 Author Share Posted April 10 Hi Still can't get to the bottom of this problem so any further insight would be very much appreciated. I can see the uploaded file arriving in the assets/files folder but the upload isn't registering in the database for the page and field. This is the error in the log: TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, string given in /data04/domain/public_html/wire/core/FieldtypeMulti.php:254. However, I'm wondering if this a red herring as the server delivers a non-integer error code which is triggering the error on FieldtypeMulti.php:254. So, could this be a problem with how MySQL is configured on the server? There is a 2006 mysql error code which I think relates to a lost connection. Thanks Link to comment Share on other sites More sharing options...
elabx Posted April 10 Share Posted April 10 On 4/3/2025 at 2:15 PM, Warran said: I've uncovered the following error: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/cpanel/php/sessions/ea-php82, handler: write) in <b>Unknown</b>on line <b>0</b> Expand For this error, can you try changing your session handler?? In case you are using the default, try SessionHandlerDB? Link to comment Share on other sites More sharing options...
Warran Posted April 11 Author Share Posted April 11 We are using SessionHandlerDB and getting this error. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now