Click to See Complete Forum and Search --> : display errors_off (php.ini)


xavikevicious
December 21st, 2004, 04:07 AM
hi everybody,

i want see my php scripts errors on my html screen but the php.ini sentence display errors is equal to off (i dont see them). i am not the server's administrator and i can't change this value to on. Can i see my scripts errors following another way??

thanks in advance

xavik

AndyTower
December 21st, 2004, 04:54 AM
I think you can't see your error, but you can localise place of your error.
I think you can use function die() or exit().

That do you thinking about this?

Andy

xavikevicious
December 21st, 2004, 05:10 AM
hi, i can place my errors but i want to know which errors .Do you understand me?

xavik

blueday54555
December 21st, 2004, 09:20 AM
http://www.php9.com/index.php?p=3

Why you are nor developing local on your pc and upload then the
ready files on to the server ?

visualAd
December 21st, 2004, 09:36 AM
You can turn HTML errors back on by calling the ini_set() (http://uk2.php.net/manual/en/function.ini-set.php) function in your script:

ini_set('display_errors', '1');

xavikevicious
December 21st, 2004, 10:53 AM
buff thanks Visual ad. Finally you are my teacher of the year.

thanks for all.

xavik

in response to blueday: i can't to work locally because i have to execute a Server's program (that i can't download it) with php and i have to tested my scripts on server directly. thanks too