Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to show the errors on the server by adding this :

ini_set('display_errors', 1); 
ini_set('log_errors', 1); 
ini_set('error_log', '/home/*****/error_log.txt'); 

on top of the main page.

i also tryed to output the errors using ChromePhp and FireBug but it's not working.

I don't have enough permission to change the server configuration.

share|improve this question
Since you used shared hosting why not ask their support? it varies from web host to web host and logging may already be available though a control panel, or outside the htdocs folder. – Simon Hayter Apr 4 '13 at 0:08

Try giving this


if this won't work then go to your write down below code

echo '<pre>';
echo '</pre>';

and check permission of "error_reporting" if its "6" or "7" then only you can set error reporting run time otherwise not.

furthermore you can ask your hosting provider what to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.