What is the URL (the address that is listed at the top of your browser, such as this page’s URL being https://ww.wp.xz.cn/support/topic/installing-theme-hits-404-page/) of the page that has a 404? If you don’t want to share the domain of the site, you can remove that. I’m interested mainly in what the rest of the URL looks like.
Ooh great question, Chris.
I should have included that..d’oh!
Here you go:
http://my-domain.com/wp-admin/update.php?action=upload-theme
I was hoping that would not be your answer. That’s the URL that should be seen when installing or updating a theme, so there isn’t an issue of something sending off the request somewhere strange.
What remains is that something blocking the request. There are many things that this could be:
1) Your host’s network or server firewall (they sometimes see things like the word “upload”, get scared, and block the request).
2) A plugin, such as a security or caching plugin.
3) Web server or PHP configuration that blocks file uploads above a certain size.
4) Something else that I can’t think of.
The really odd thing is that most security blocks result in a 403 Forbidden error and that blocking requests that are too large should result in a 413 Payload Too Large error. Can you confirm that it was a 404 error and not some other kind of error?
It’s also possible that whatever is blocking access to that page intentionally is sending the wrong error code.
I know that this information isn’t very helpful, but unfortunately, I don’t have much to work with. Have you tried contacting your host about this issue? They might know the cause and have a solution. I recommend giving them the URL at issue and any other relevant details.
-
This reply was modified 9 years, 1 month ago by
Chris Jean.
Weird. My previous reply disappeared. Sorry if this is going to cause a double post.
I was hoping that would not be your answer. That’s the URL that should be seen when installing or updating a theme, so there isn’t an issue of something sending off the request somewhere strange.
What remains is that something blocking the request. There are many things that this could be:
1) Your host’s network or server firewall (they sometimes see things like the word “upload”, get scared, and block the request).
2) A plugin, such as a security or caching plugin.
3) Web server or PHP configuration that blocks file uploads above a certain size.
4) Something else that I can’t think of.
The really odd thing is that most security blocks result in a 403 Forbidden error and that blocking requests that are too large should result in a 413 Payload Too Large error. Can you confirm that it was a 404 error and not some other kind of error?
It’s also possible that whatever is blocking access to that page intentionally is sending the wrong error code.
I know that this information isn’t very helpful, but unfortunately, I don’t have much to work with. Have you tried contacting your host about this issue? They might know the cause and have a solution. I recommend giving them the URL at issue and any other relevant details.
Chris-
Thanks for your response. I *truly* appreciate your help even though there isn’t (yet!) a clear answer. It is comforting to know that in these complicated times there are still so many good people going out the business of helping each other through their difficulties–even the small ones like these. I’ll give my host tech support team a call later today and see if I can identify a solution. I’ll come back here and post what I find to help others that may encounter similar challenges. THANK YOU CHRIS!
-Paul
Best of luck Paul. Sometimes it can be difficult to get to the root of the issue since there are so many potential sources of the issue. If possible, could you provide the following:
Can you confirm that you are getting a 404 Not Found error rather than something similar such as a 403 error?
Can you provide a list of active plugins?
Hi .
–
1. There is a giant 404 on the page that it lands on, but I don’t quite know enough to know whether this can happen when it is really a 403 or other error?
2. Here are a list of active plugins:
Advanced Excerpt
Akismet Anti-Spam
Blogger Importer
Contact Form 7
DevBuddy Twitter Feed Plugin
Duplicate Widget
Easy Smooth Scroll Links
Easy Theme and Plugin Upgrades
Facebook Widget
Go Daddy Quick Setup
Gravity Forms
Gravity Forms MailChimp Add-On
Gravity Forms No CAPTCHA reCAPTCHA
Lazyest Stylesheet
ListPosts Shortcode
PHP Shortcode
Quote of the Day and Random Quote
Single Latest Posts Lite
Taxonomy Converter
Tiled Galleries Carousel Without Jetpack
Twitter Widget
UpdraftPlus – Backup/Restore
Welcome to WordPress
WooCommerce
WooCommerce Amazon Pay Gateway
WooCommerce Helper
WooCommerce Menu Cart
WP Gallery Custom Links
I am also getting 404 while uploading and installing the theme, please help ASAP.
1. URL where i am getting error 404
mydomain/wp-admin/update.php?action=upload-theme
2. I am running my wp on hostgator server.
3. The theme size is only 58 Mb and i have set the php size limit to 256
Please help guys
Try to change your permalink settings to “Plain”, in Settings > Permalinks, before installing the theme. That did the trick for me. π