cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted

Error 502 whenever I try to upload a theme

I bought a new theme for my wordpress website and whenever I try to upload a theme it says error 502, I try reaching support 3 times and no one could help me upload it I face error when I try to connect to filezilla and when I try to upload it from the file manger it asks to me to upload regular folder but I can only upload a zip file and it also doesn't work, support tried told me it might be a hosting or server problem and it might go after a few days but it's almost 3 weeks now

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution

Re: Error 502 whenever I try to upload a theme

The 502 Bad Gateway error is often a network error between servers on the internet, meaning the problem wouldn't be with your computer or internet connection.

 

However, since it is possible that there's something wrong on your end, here are some fixes to try:

 

Try loading the URL again by pressing F5 on your keyboard, or by clicking the refresh/reload button.


While the 502 Bad Gateway error is usually indicating a networking error outside of your control, it could be extremely temporary. Trying the page again will often be successful.
Start a new browser session by closing all open browser windows and then opening a new one. Then try opening the webpage again.


It's possible that the 502 error you received was due to an issue on your computer that occurred sometime during this use of your browser. A simple restart of the browser program itself could solve the problem.


Clear your browser's cache. Outdated or corrupted files that are being stored by your browser could be causing 502 Bad Gateway issues.


Removing those cached files and trying the page again will solve the problem if this is the cause.


Delete your browser's cookies. For similar reasons as mentioned above with cached files, clearing stored cookies could fix a 502 error.

 

Note: If you'd rather not clear all of your cookies, you could first try removing only those cookies related to the site you're getting the 502 error on. It's best to remove them all but it won't hurt to try the clearly applicable one(s) first.


Start your browser in Safe Mode. Running a browser in Safe Mode means to run it with default settings and without add-ons or extensions, including toolbars.

 

If the 502 error no longer appears when running your browser in Safe Mode, you know that some browser extension or setting is the cause of the problem. Return your browser settings to default and/or selectively disable browser extensions to find the root cause and permanently fix the problem.

 

Note: A browser's Safe Mode is similar in idea to the Safe Mode in Windows but it is not the same thing. You do not need to start Windows in Safe Mode to run any browser in its particular "Safe Mode."


Try another browser. Popular browsers include Firefox, Chrome, Internet Explorer, and Safari, among others.

 

If an alternative browser doesn't produce a 502 Bad Gateway error, you now know that your original browser is the source of the problem. Assuming you've followed the above troubleshooting advice, now would be the time to reinstall your browser and see if that corrects the problem.

View solution in original post

4 REPLIES 4
Highlighted

Re: Error 502 whenever I try to upload a theme

I have the same problem in texnologia, but However, I suggest you don't do things you can't because you can make the problem worse

Highlighted

Re: Error 502 whenever I try to upload a theme

Have you tried to unzip the file? as far as i know the zip file contains the folders which have the wordpress theme file in zip format

Highlighted

Re: Error 502 whenever I try to upload a theme

one of the following 2 solutions should work for your website:
1) extract the theme zip file and see if there is another zip file or not, if there is then upload that file
2) upload the zip file from cpanel in wp-content > themes folder and then activate it from wp-admin

Highlighted
Solution

Re: Error 502 whenever I try to upload a theme

The 502 Bad Gateway error is often a network error between servers on the internet, meaning the problem wouldn't be with your computer or internet connection.

 

However, since it is possible that there's something wrong on your end, here are some fixes to try:

 

Try loading the URL again by pressing F5 on your keyboard, or by clicking the refresh/reload button.


While the 502 Bad Gateway error is usually indicating a networking error outside of your control, it could be extremely temporary. Trying the page again will often be successful.
Start a new browser session by closing all open browser windows and then opening a new one. Then try opening the webpage again.


It's possible that the 502 error you received was due to an issue on your computer that occurred sometime during this use of your browser. A simple restart of the browser program itself could solve the problem.


Clear your browser's cache. Outdated or corrupted files that are being stored by your browser could be causing 502 Bad Gateway issues.


Removing those cached files and trying the page again will solve the problem if this is the cause.


Delete your browser's cookies. For similar reasons as mentioned above with cached files, clearing stored cookies could fix a 502 error.

 

Note: If you'd rather not clear all of your cookies, you could first try removing only those cookies related to the site you're getting the 502 error on. It's best to remove them all but it won't hurt to try the clearly applicable one(s) first.


Start your browser in Safe Mode. Running a browser in Safe Mode means to run it with default settings and without add-ons or extensions, including toolbars.

 

If the 502 error no longer appears when running your browser in Safe Mode, you know that some browser extension or setting is the cause of the problem. Return your browser settings to default and/or selectively disable browser extensions to find the root cause and permanently fix the problem.

 

Note: A browser's Safe Mode is similar in idea to the Safe Mode in Windows but it is not the same thing. You do not need to start Windows in Safe Mode to run any browser in its particular "Safe Mode."


Try another browser. Popular browsers include Firefox, Chrome, Internet Explorer, and Safari, among others.

 

If an alternative browser doesn't produce a 502 Bad Gateway error, you now know that your original browser is the source of the problem. Assuming you've followed the above troubleshooting advice, now would be the time to reinstall your browser and see if that corrects the problem.

View solution in original post