Security error occurred. Please press back, refresh the page, and try again.

vinafix

Active member
Upload a File 50MB ( Attachments 50MB ) error
Security error occurred. Please press back, refresh the page, and try again.
Screen Shot 2015-04-05 at 7.51.22 PM.webp
Set php.ini:
post_max_size = 200M
upload_max_filesize = 200M

Set Admincp:
Maximum Attachment File Size (KB) 61440
Screen Shot 2015-04-05 at 7.57.12 PM.webp
Not Setup Addon.
?

Thanks you.
 
If using nginx, there is a parameter in the vhost that needs to be set (not sure about Apache) that will control the size of the uploads. I believe it is the client_max_body_size.
 
I use apache
and it does not have client_max_body_size in php.ini
Thanks you.
That setting is not a php.ini setting. It is specific to the HTTP server used (in this case nginx).
The equivalent for Apache is LimitRequestBody and is in the Apache configuration (typically) for the vhost,unless it is being set globally.
 
The equivalent for Apache is LimitRequestBody and is in the Apache configuration (typically) for the vhost,unless it is being set globally.
Hello Tracy,

I am bumping into the exact same issue. The trigger on my end is a 182 MB file. Small files around ~10 MB work fine for me.

I added:
Code:
LimitRequestBody 0

To my .htaccess file but this doesn't seem to have had any effect. Is it possible to adjust this setting in WHM to your knowledge?

Not sure if related but I'm also on LiteSpeed.

security-error-ogg-video-upload.webp

Any help would greatly be appreciated. :)
 
I'm an idiot, please disregard my previous message.

upload_max_filesize was set correctly but...

post_max_size was set too low in php.ini :whistle:
post_max_size.webp
 
Back
Top Bottom