Jump to content

Upload video size 127M - error (-200): fixed


Adlago

Recommended Posts

Posted

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.

1874715086_Screenshotat2019-09-16213402.thumb.png.f968933760edab668445251b4399fb31.png

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.

 

Posted

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?

Posted
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.

Posted
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.

Posted
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.

Posted
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.

Posted
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.

Posted
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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...