SOLVED: Error 500 when editing the home page

When I try to edit the home page, it gives error 500. I have seen this error here but some of us don’t have access to all the hosting. We work for clients and it’s a pain to have to do several things to edit the home page. How can you fix this without having to change or edit the firewall.
This error is only happening to me with Plesk.
I leave screenshot.

If you can install and run this extension for chrome: Jam - Chrome Web Store
that may help figure out some problems in case you cannot access server logs.

If you CAN access server logs, then it will tell you all you need to know.

Another way is to basically disable ALL plugins and toggle them on one by one until you find the culprit.

If you still can’t find anything and cannot access server logs, perhaps a drastic measure would be to wipe the site and start anew. Painful, but probably the surest method.

Always test with STAGING sites first.

1 Like

I have deactivated all plugins and nothing. I have done different tests and nothing.
I have uploaded all the wordpress parameters as indicated in the following url, except for
define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); which is set to 40. I can’t upload more on my side.

Could it be the wp memory?

Los archivos del servidor me dice esto:

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Web Server at yarestaurante.es
<HTML>
<HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator to inform of the time the error occurred
and of anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<HR>
<ADDRESS>
Web Server at yarestaurante.es
</ADDRESS>
</BODY>
</HTML>

<!--
   - Unfortunately, Microsoft has added a clever new
   - "feature" to Internet Explorer. If the text of
   - an error's message is "too small", specifically
   - less than 512 bytes, Internet Explorer returns
   - its own error message. You can turn that off,
   - but it's pretty tricky to find switch called
   - "smart error messages". That means, of course,
   - that short error messages are censored by default.
   - IIS always returns error messages that are long
   - enough to make Internet Explorer happy. The
   - workaround is pretty simple: pad the error
   - message with a big comment like this to push it
   - over the five hundred and twelve bytes minimum.
   - Of course, that's exactly what you're reading
   - right now.
   -->

I also have this

The file could not be displayed. The file size cannot exceed 10485760 bytes.

Hi Jose,
Thanks so much for your report!

Would you please send us access data, FTP access data (for the logfiles), and a link to this thread to help@bricksbuilder.io? Please use the email address you used to purchase Bricks.

Best regards,
timmse

For anyone else searching for a solution:
https://yourserver.com:8443/admin/web-app-firewall/settings
Custom directives: SecResponseBodyLimit 546870912

1 Like

Solucionado. Se puede cerrar ticket

Edit: Solved. You can close ticket

Hey Jose,
Please answer in English :v:

How was the problem solved and what was causing it?

You are the champ, i thought it was weird because it ran into the 500 error page of Plesk itself, after setting that custom directive it instantly worked!

1 Like