504 error - Are you sure you want to do this?

In wordpress if you receive either of the following errors when trying to upload a theme...

504 error

"Are you sure you want to do this?"


Add the following code to your public_html/.htaccess file...
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

If the public_html/.htaccess file does not exist, be sure that you have "View hidden files" enabled in your File Manager's settings. Then create the .htaccess file if it does not show. Then add the code.

 

  • 45 Users Found This Useful

Was this answer helpful?

Related Articles

Quickly Disable All WordPress Plugins via phpMyAdmin

Before beginning, be sure to have a backup of your database. Then, login to your database using...

Improve WordPress Speed and Optimize

With our service, there are many ways to speed up the performance of your WordPress website. We...

Create Static Files with your WordPress Install

Reduce the processor and memory load of your site but publishing it into html files:...

WordPress Error : Sorry, this file type is not permitted for security reasons.

.svg and .xap files can result in the error "Sorry, this file type is not permitted for security...

WordPress Response Body too Large and Too many arguments in Request Errors

If you are receiving a response body too large error with WordPress it is a result of WordPress...