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.

 

  • 48 Users Found This Useful

Was this answer helpful?

Related Articles

PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file

PROBLEM When you try to update WordPress or install plugins, the downloader / installer page pops...

JetPack says my website is offline

Jetpack Monitor says my website is offline, responding intermittently, or is extremely...

Not Receiving Form Email Through WordPress - SMTP

If you are not able to sent email or receive email from your WordPress contact form, you can...

Static HTML Files Not Being Displayed with WordPress

This can occur when WordPress's .htaccess rewrites take place over the static html file. Place...

Plugins on WordPress

There are many great ways to setup and install plugins on WordPress. You may find a library of...