Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

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

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
2  
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. –  bybe Apr 4 '13 at 0:08
add comment

1 Answer

Try giving this

error_reporting(4037);

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

echo '<pre>';
print_r(ini_get_all()):
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
add comment

Your Answer

 
discard

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.