Get Rid of ErrorDocument

Asked by:
jaklove / 21 Points
Time:
2013-06-05 12:54 am EST
Category:
Htaccess
Hits:
1,086
I just want to know how to turn on all errors. I can get rid of the .htaccess stuff that WordPress put in my root folder. When I do that I get this page:

----------------------------------------------------------------------------------------------
Internal Server Error

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

Please contact the server administrator, webmaster@lovelynandjohnny.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

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

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
----------------------------------------------------------------------------------------------

I don't want this, I just want to display the error. Also, I get this page whenever I try to create my own .htaccess rules. I put this in the .htaccess file

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /home/lovely25/public_html/j/database/php.errors
php_value error_reporting 30719

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
12,339 Points
2013-06-05 4:32 pm EST
Hello jaklove,

Thank you for your question. Something you are coding in the .htaccess is causing the 500 error, here is a link to our 500 error troubleshooting guide. Essentially, the server returns a 500 error when there is no other error to display, you can however create a custom error page.

Wordpress has a debugging mode, which will allow it to enable and display errors.

I recommend leaving the .htaccess as is, since Wordpress requires it to function.

You cannot add the PHP rules to the .htaccess, since this will not work on a suPHP server, which is what we run.

You can turn these PHP error reports on in your PHP.ini file, then make it recursive.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}