Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adlago Posted September 16, 2019 Posted September 16, 2019 A few months ago, I uploaded a 640M video to my site - no problem whatsoever. Today I am trying to upload 127M video - after the upload process is completed, an error (-200) occurs. All possible settings are unlimited. No errors entries in system logs. Max file size uploads and max posting size, in init php on server are 1250M. Free Disk Space - Enough, more then 100G I use PHP 7.3.9 Any idea? PS. To attach a video to a topic in Page with database is my request, but in forum topic is the same.
SJ77 Posted September 16, 2019 Posted September 16, 2019 Hi Change your PHP max file size to 5MB upload_max_filesize = 5MB
CodingJungle Posted September 17, 2019 Posted September 17, 2019 yeah if the upload limit is too big, it can confuse the chunk uploader, so tune it down to lower file size and try again 🙂
Marcher Technologies Posted September 17, 2019 Posted September 17, 2019 It's counter-intuitive, but the above is correct.
Adlago Posted September 17, 2019 Author Posted September 17, 2019 I tried a 42M video - it attaches without issue. I tried all sizes in PHP - 2,5,16,50,100,150,250M - the result is the same (-200) for 127M video. Now I find out that the embed video does not work either, and the video that is attached cannot be embedged in another topic. Automatically embed links? - Yes. Is this a bug on 4.4.6?
Dean_ Posted September 17, 2019 Posted September 17, 2019 6 hours ago, Adlago said: Now I find out that the embed video does not work either, and the video that is attached cannot be embedged in another topic. Automatically embed links? - Yes. Is this a bug on 4.4.6? A few of us keep getting this issue. I recently had it while trying to upload a photo.. Yet had no previous problems. It can also happen on Twitter embeds too. Mine seems to be intermitent though.
CodingJungle Posted September 17, 2019 Posted September 17, 2019 7 hours ago, Adlago said: I tried a 42M video - it attaches without issue. I tried all sizes in PHP - 2,5,16,50,100,150,250M - the result is the same (-200) for 127M video. Now I find out that the embed video does not work either, and the video that is attached cannot be embedged in another topic. Automatically embed links? - Yes. Is this a bug on 4.4.6? the -200 is like the most generic of generic error messages there can be. plupload returns this anytime the server returns a status other than 200. so it could be returning a 403, a 303, a 500, etc. there have only ever been two situations where i've run into this specifically. the first one is where max upload and max post size have been insanely high in php.ini and the other time is when the uploader form helper, for whatever reason, isn't being called/loaded on the page that its being uploaded too. example: in babble, i was bringing in the editor via ajax, so when it went to upload the uploader form helper wasn't there to capture the upload.
Marcher Technologies Posted September 17, 2019 Posted September 17, 2019 Open the network tab of your browser debug tools via inspect element, and then try the upload, you will be able to see what the server responded with and get more information than the generic -200.
Adlago Posted September 17, 2019 Author Posted September 17, 2019 23 minutes ago, Marcher Technologies said: Open the network tab of your browser debug tools via inspect element, and then try the upload, you will be able to see what the server responded with and get more information than the generic -200. This is error VM163:15 POST https://nophelet.com/consult/section/12-%D0%BB%D1%82%D1%83/?do=add 500 send @ VM163:15 exec @ VM163:13 shimExec @ VM163:13 exec @ VM163:13 r @ VM163:14 u @ VM163:14 send @ VM163:14 a @ VM163:29 s @ VM163:29 E @ VM163:29 dispatchEvent @ VM163:29 trigger @ VM163:13 a @ VM163:29 start @ VM163:29 _startUpload @ root_framework.js.6f…1857a0adf9b4.js:649 filesAdded @ root_framework.js.6f…1857a0adf9b4.js:659 dispatchEvent @ VM163:29 trigger @ VM163:13 (anonymous) @ VM163:29 (anonymous) @ VM163:13 setTimeout (async) (anonymous) @ VM163:29 (anonymous) @ VM163:13 (anonymous) @ VM163:29 (anonymous) @ VM163:29 (anonymous) @ VM163:29 n @ VM163:13 (anonymous) @ VM163:13 (anonymous) @ VM163:29 (anonymous) @ VM163:29 (anonymous) @ VM163:29 n @ VM163:13 (anonymous) @ VM163:13 (anonymous) @ VM163:29 (anonymous) @ VM163:29 (anonymous) @ VM163:29 n @ VM163:13 l @ VM163:13 n @ VM163:29 (anonymous) @ VM163:29 n @ VM163:13 l @ VM163:13 addFile @ VM163:29 u.onchange @ VM163:29 (anonymous) @ VM163:13 (anonymous) @ VM163:13 n @ VM163:13 l @ VM163:13 dispatchEvent @ VM163:13 trigger @ VM163:13 x @ VM163:14 I checked my htaccess file - everything looks good there. And strangely enough, video files 42M are attached without problems. The other strange thing is that the already attached little video with an address from my folder cannot be embedded in other topic.
CodingJungle Posted September 17, 2019 Posted September 17, 2019 its hitting a 500, have you checked your apache error log (not the ips system/error log)?
Adlago Posted September 17, 2019 Author Posted September 17, 2019 2 hours ago, CodingJungle said: its hitting a 500, have you checked your apache error log (not the ips system/error log)? This [17-Sep-2019 15:47:58 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 132829288 bytes) in /home/anxqmyqm/public_html/system/File/File.php on line 396 But in server memory_limit: 256M. PS. Issue fixed. Memory_limit in file .user.ini in root there was an incorrect value.
Lucas James Posted September 18, 2019 Posted September 18, 2019 9 hours ago, Adlago said: Issue fixed. Memory_limit in file .user.ini in root there was an incorrect value. Tip: Always edit the PHP values from the PHP INI Editor interface of WHM or cPanel rather than editing the ini files separately, so that the values remain in sync for user.ini and php.ini files throughout.
Adlago Posted September 18, 2019 Author Posted September 18, 2019 5 hours ago, Lucas James said: Tip: Always edit the PHP values from the PHP INI Editor interface of WHM or cPanel rather than editing the ini files separately, so that the values remain in sync for user.ini and php.ini files throughout. Thanks, I know it and I do it. And that was one of the things I checked - the server setting was 256M memory limit. This fixation made her a support to my host. They claim that values from the .user.ini file are executed as a priority and there was only 128M memory limit in this file that they edited. Probably the file .user.ini has a priority action, as well as a .htaccess
Lucas James Posted September 18, 2019 Posted September 18, 2019 5 hours ago, Adlago said: Probably the file .user.ini has a priority action, as well as a .htaccess https://www.pair.com/support/kb/php-ini-vs-user-ini/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.