File Uploader gives 500 error due to modsecurity
Wordpress and Joomla's flash uploader does not
work with the web server filter we have in place as apache has a bug
that causes the issue in the first place. You'll see the following in
errors in the error_log when trying to upload:
Multipart: final boundary missing
To resolve this, place the following in the .htaccess file for the script:
SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
Related Articles
File Manager Cpanel / Fixing 403 correcting permissions.
Learn how to troubleshoot WordPress 403 Forbidden error messages. We show you how to check for a corrupt .htaccess file. Diagnose faulty WordPress Plugins and checking for correct WordPress file permissions. Problem When you attempt to view your ...
PHP session.save_path error
You receive the following error in PHP: "The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder ...
Renewing SSL - Internal error received
If you receive an internal error when trying to renew a SSL via hsphere --> web options --> SSL section and this certificate was purchased in or before 2010, then please follow the following steps. If the certificate was purchased after 2010, please ...
Wordpress error establishing a database connection
First create testconn.php Fill it with the actual db connection string from either wp-config.php or from the client himself. ======= <?php $link = mysql_connect('localhost', 'root', 'password'); if (!$link) { die('Could not connect: ' . ...
How to get your own PHP error log via .htaccess
I would like to get my own PHP error log, how can I do this? =========================================== If you don't have a .htaccess file, create it it using the file manager or a regular text editor on your computer and upload that file using ftp. ...