Ir al contenido

Oferta limitadaHasta 80% off en hosting + dominio GRATISQuiero mi descuento

Este artículo se tradujo automáticamente del inglés. Leer la versión original
Frustrated man at his desk facing a 500 error on his website
Web Hosting

Website Showing a 500 Error or a Blank Page? Step-by-Step Fixes

A 500 error or white screen can look scary, but it is usually easy to fix. Follow these steps to find the cause from cPanel and bring your site back.

En este artículo
  1. 1. Think about what changed
  2. 2. Read the error log
  3. 3. Check the .htaccess file
  4. 4. Check the PHP version
  5. 5. Disable plugins (WordPress)
  6. 6. Check your resource usage
  7. 7. Check file permissions
  8. Other errors you may see
  9. Turn on error details safely (WordPress)
  10. Habits that prevent most 500 errors
  11. What to send support for the fastest help
  12. How long does it take to fix a 500 error?
  13. Frequently asked questions
  14. Conclusion

A 500 error (Internal Server Error) or a completely blank page means the server could not finish building your page. It looks alarming, but in most cases the cause is a recent change: an update, a new plugin, a setting or a file. Follow these steps in order.

1. Think about what changed

Did you update WordPress, a plugin or a theme, edit a file, or change a setting just before the problem started? The last change is the most likely cause, and undoing it often fixes the site immediately.

2. Read the error log

Log in to cPanel from your client area. Open Errors or check the error_log file in the folder of your site with the File Manager. The latest lines usually name the exact file and line that failed.

3. Check the .htaccess file

A wrong rule in .htaccess causes many 500 errors. In File Manager, enable Show Hidden Files, rename .htaccess to .htaccess-old and reload your site. If it works, the file was the problem. In WordPress, go to Settings > Permalinks and save to create a clean file.

4. Check the PHP version

Old code may not run on a new PHP version, and new plugins may need a recent one. In cPanel, open MultiPHP Manager (or Select PHP Version), choose the version your application supports and save.

5. Disable plugins (WordPress)

If you cannot open the dashboard, rename the folder wp-content/plugins to plugins-off in File Manager. If the site comes back, rename it back and re-enable the plugins one by one to find the faulty one.

6. Check your resource usage

A sudden traffic spike or a heavy script can exceed the resources of your plan. The statistics in cPanel show disk, memory and processes. If you regularly hit the limits, optimize your site or upgrade your plan.

7. Check file permissions

Folders usually need permission 755 and files 644. Wrong permissions, often after an upload, can trigger errors. You can correct them in File Manager.

Other errors you may see

Not every error is a 500. The number tells you where to look:

  • 403 Forbidden: the server refuses access, often because of file permissions or a rule in .htaccess.
  • 404 Not Found: the page does not exist at that address. Check the link or your permalink settings.
  • 503 Service Unavailable: the site is temporarily unable to respond, often because of maintenance mode or resource limits.
  • Database connection error: the website cannot reach its database. Check the database name, user and password in your configuration file.

Turn on error details safely (WordPress)

If the error log stays empty, WordPress can show more details. In the wp-config.php file, set WP_DEBUG to true and WP_DEBUG_LOG to true. Errors are then written to wp-content/debug.log. Turn these settings off again once the problem is solved, so visitors never see technical messages.

Habits that prevent most 500 errors

  • Take a backup before updating WordPress, plugins or themes.
  • Update one thing at a time and check your site after each update.
  • Remove plugins and themes you no longer use.
  • Test big changes on a copy of your site first, for example on a subdomain.

What to send support for the fastest help

When you open a ticket, include the address of the page that fails, the time the problem started, the last change you made and the latest lines of your error log. With this information, our team can usually identify the cause on the first reply instead of asking follow-up questions. Never send passwords in a ticket: we can access what we need securely from our side.

How long does it take to fix a 500 error?

Most 500 errors are solved in a few minutes once you know the cause. Reading the error log usually points straight to the problem, and undoing the last change brings the site back right away. If the cause is less obvious, work through the steps above one at a time and test your site after each one, so you know exactly which change fixed it.

Frequently asked questions

Is my website hacked?

Usually not. Most 500 errors come from updates or configuration. If you see files you do not recognize or strange redirects, contact our support right away.

Can I restore a working version?

If you took a backup before the change, restore it. Taking a backup before every big update is the best habit you can have.

Conclusion

Undo the last change, read the error log, then check .htaccess, PHP and plugins. These steps solve the vast majority of 500 errors and blank pages. If you are stuck, open a support ticket with the error log lines and we will help.

Temas500 internal server errorblank pagephp versionerror log
Compartir artículoPublicarFacebookLinkedInWhatsApp
Foxeep Editorial Team

El equipo de Foxeep escribe guías prácticas para ayudarte a crear y hacer crecer tu web.