You are here: PHP error tracking on new server « PHP « IT news, forums, messages
PHP error tracking on new server

Posted by Terry Romine on 10/04/90 11:23

My hosting service recently switched to a newer server and in
transporting the websites (many) over, they set up php different
(vers 4.3.10). I know it's not "nice" to show errors on a published
website, but I don't have a testing server, and I need to debug
scripts once in a while. The problem is that when an error occurs,
the page just comes up blank, and I have to practically pick it apart
one line at a time to track down the problem.

I tried
ini_set('display_errors',TRUE);
error_reporting(E_ERROR | E_WARNING | E_PARSE);
but that doesn't seem to matter either.

From phpinfo() it says display_errors is set off and error_reporting
is 7.

Any ideas on what flag may need to be set and how to do it on a file-
by-file basis so I am only tweaking it when testing?

Terry

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация