You are here: Re: errors not reported « PHP « IT news, forums, messages
Re: errors not reported

Posted by Sdav on 02/10/05 15:02

u may try to use ini_set.
prepend it to the file and see what happens:
ini_set('display_errors', 1);
ini_set('error_reporting',E_ALL);
may not solve the problem but is a good start to see where u are.
ini_set got a good documentation about error displaying on the website,
what it does is overwrite .ini values on realtime.
and it is on
http://ar2.php.net/manual/en/ref.errorfunc.php#ini.display-errors
Sdav


"D_c" <d3ntaku@gmail.com> wrote in message
news:c3d2e587050209211936350d74@mail.gmail.com...
Hiya -

My parse errors have disappeared from my development environment. Now
whenever php cannot run a page, it just stops with a blank page in the
browser and no clues.
Running the same code on another server will give a "fatal error class
not found" etc type output to the browser.

Can someone help me with what other places error reporting (esp parse
errors) is configured?
What i did:

check phpinfo()
find which php.ini is being used
edited that to set all error settings I could find to on.
call error_reporting(E_ALL) in my scripts.

but all to no avail! Gak!

Are there any other apache settings or other system variables to check?

/dc
_______________________________________________
David "DC" Collier
mobile business creator |????????????????
dc@pikkle.com
skype: d3ntaku
http://www.pikkle.com
+81 (0)90-7414-6107

 

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

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