Support » Fixing WordPress » 500 Internal Server Error

  • gitainvista

    (@gitainvista)


    THIS A REPOST FROM WOOCOMMERCE FORUM HERE WHERE ITS CONTENT IS CONSIDERED MORE RELEVANT
    https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10874615
    THE FOLLOWING ISSUE IS NO LONGER URGENT SINCE I INSTALLED A THIRD-PARTY PLUGIN

    I already tried these
    https://wordpress.stackexchange.com/questions/246064/plugin-php-file-gives-error-500
    https://www.elegantthemes.com/blog/tips-tricks/how-to-fix-the-500-internal-server-error-on-your-wordpress-website

    define (‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, true);
    in wp-config.php file

    the log file is not the easiest I have ever read but I couldn’t find anything suspicious (nothing that could eventually be explained by a 403 error for example – see below – though mine is 500).

    I also renamed .htaccess to .htaccess.bak to have it regenerated.
    I changed the theme with no success.

    I didn’t try to change the PHP memory limit but that shouldn’t be a problem since my site is quite small and the test page I linked in the original post (http://givaprova.altervista.org/product/prova/) is from a test site with basically nothing on it expect woocommerce and just a single simple product created with the same.

    I am not asking the hosting provider the log since it is too much of an hassle.
    Anyway, I’d like to point to another reference here
    https://wordpress.stackexchange.com/questions/247039/how-do-i-fix-the-sorry-you-are-not-allowed-to-access-this-page-error-i-get-on

    “There is an error with the internal core routing mechanism, and it receives a result it doesn’t understand, can’t process, or maps to an unrecognized schema”

    and

    “Check the network panel in your browser web inspector and check the error code for the request. If it is a 403 (it should be), then the issue is either the page doesn’t actually exist, or the user lacks permissions. If it is a 500 (it should not be), then it means that the server encountered an error and fell back to the standard exit procedure. If it is a 500, you have a bad plugin, theme, or database issue to handle. If it is a 403, it is most likely one of a bad update, incorrect configuration, or legitimate access denied”

    give an upvote to mopsyd because he is one trying to explain more deeply inside WordPress (I can’t upvote since I changed several accounts and I never gained required reputation)

    Checking File Permissions is possibly the last chance but it sounds really weird.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Can you boil all of that down, withtout all the references? What issue are you having? If there are errors visible, what are they?

    >> I am not asking the hosting provider the log since it is too much of an hassle. <<

    500 errors can really only be resolved by looking at the logs, both at the server level from the PHP process, and in your site’s own wp-content/debug.log

    gitainvista

    (@gitainvista)

    I have an exchange of ideas with the hosting provider too. Hopefully they will see what is going on since I experience the problem on a fresh trial wordpress site as well.

    Here you are: http://givaprova.altervista.org/product/prova/
    Just write a comment in “Commento” and fill in the CAPTCHA at the bottom. Then click “Pubblica il commento” or “Publish the comment”. I get “Tu non puoi passare” which literally means “You cannot go through” / “You are not allowed” and see the 500 internal server error in browser console.

    The following links shows the output after submission and the plugins installed on the fresh trial wordpress site provided as an example:
    https://drive.google.com/open?id=1Xy…ta16OKGPIgShiO
    https://drive.google.com/open?id=1L9…r_JvtryTfSH2QOù

    (I’ll be unavailable to follow up the forum today – see you tomorrow)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 Internal Server Error’ is closed to new replies.