Title: wp-comments-post.php &#8211; 500 Internal Server Error
Last modified: November 13, 2018

---

# wp-comments-post.php – 500 Internal Server Error

 *  Resolved [albio](https://wordpress.org/support/users/gitainvista/)
 * (@gitainvista)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/)
 * [https://drive.google.com/open?id=1XyusH3t6gZYHKN1N3ata16OKGPIgShiO](https://drive.google.com/open?id=1XyusH3t6gZYHKN1N3ata16OKGPIgShiO)
   
   [https://drive.google.com/open?id=1L9CDxfiPxwPCrL2TArr_JvtryTfSH2QO](https://drive.google.com/open?id=1L9CDxfiPxwPCrL2TArr_JvtryTfSH2QO)
 * First link literally shows “you cannot go through” in Italian or maybe in English
   locale: “sorry you are not allowed to access this page”.
    The second link shows
   I had a fresh trial installation of a wordpress blog on an Italian web platform
   providing free hosting, altervista.org: just a single simple product was created
   with reviews enabled by default but writing comments produces the 500 internal
   server error. Thanks
    -  This topic was modified 7 years, 6 months ago by [albio](https://wordpress.org/support/users/gitainvista/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-comments-post-php-500-internal-server-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10873578)
 * Those “strings” are just your server’s default error page, they aren’t presented
   by WordPress, WooCommerce, or Jetpack and cannot be translated as such.
 * Internal server errors (error 500) are often caused by plugin or theme function
   conflicts, so if you have access to your Dashboard, try deactivating all plugins.
   If you don’t have access to your Dashboard, try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Seventeen theme
   to rule-out a theme-specific issue. If you don’t have access to your Dashboard,
   access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), navigate to /wp-content/themes/
   and rename the directory of your currently active theme. This will force the 
   default theme to activate and hopefully rule-out a theme-specific issue.
 * If that does not resolve the issue, it’s possible that a .htaccess rule could
   be the source of the problem. To check for this, access your server via SFTP 
   or FTP, or a file manager in your hosting account’s control panel, and rename
   the .htaccess file. If you can’t find a .htaccess file, make sure that you have
   set your SFTP or FTP client to view invisible files.
 * If you weren’t able to resolve the issue by either resetting your plugins and
   theme or renaming your .htaccess file, we may be able to help, but we’ll need
   a more detailed error message. Internal server errors are usually described in
   more detail in the server error log. If you have access to your server error 
   log, generate the error again, note the date and time, then immediately check
   your server error log for any errors that occurred during that specific time 
   period. If you don’t have access to your server error log, ask your hosting provider
   to look for you.
 *  Thread Starter [albio](https://wordpress.org/support/users/gitainvista/)
 * (@gitainvista)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10874615)
 * James,
    remove any unauthorised links I post below if not in agreement with the
   forum policies:
 * I already tried these
    [https://wordpress.stackexchange.com/questions/246064/plugin-php-file-gives-error-500](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](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/](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](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.
    -  This reply was modified 7 years, 6 months ago by [albio](https://wordpress.org/support/users/gitainvista/).
    -  This reply was modified 7 years, 6 months ago by [albio](https://wordpress.org/support/users/gitainvista/).
    -  This reply was modified 7 years, 6 months ago by [albio](https://wordpress.org/support/users/gitainvista/).
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10876505)
 * Alright, since this is definitely not WooCommcerce-related, would you please 
   re-post at [https://wordpress.org/support/forum/how-to-and-troubleshooting/#new-topic-0](https://wordpress.org/support/forum/how-to-and-troubleshooting/#new-topic-0)
   once you have completed the other steps?
 *  Thread Starter [albio](https://wordpress.org/support/users/gitainvista/)
 * (@gitainvista)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10876653)
 * James, do whatever you like with my post above. I wrote it here because it rose
   from woocommerce’s product comments not being delivered but if you would like
   to move it, do as you think best. Regards.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10876689)
 * We cannot move items to and from the plugin forums, they’re technically a separate
   system. You’ll need to re-post as this is not specifically a WooCommerce issue.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘wp-comments-post.php – 500 Internal Server Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [500 server error](https://wordpress.org/support/topic-tag/500-server-error/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/wp-comments-post-php-500-internal-server-error/#post-10876689)
 * Status: resolved