Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Not displaying erros

 
   Database Help (Home) -> PHP RSS
Next:  Junction tables  
Author Message
Tree*Rat

External


Since: Jul 19, 2008
Posts: 13



(Msg. 1) Posted: Wed Oct 01, 2008 3:26 pm
Post subject: Not displaying erros
Archived from groups: comp>lang>php (more info?)

Ok I have posted this before and did not get the answer I was looking for
so i will explain it again.

Whenever there is a syntax error, or parse error etc in php it does not
display the error. ie

Warning: main(./includes/file.php):failed to open stream ....... blah blah
blah

I dont get these errors at all ( even though they are there! ) all i get is
either nothing or a server 500 error. What the problem? .ini issue?

please help

ta

 >> Stay informed about: Not displaying erros 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 3696



(Msg. 2) Posted: Wed Oct 01, 2008 3:26 pm
Post subject: Re: Not displaying erros [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tree*Rat wrote:
> Ok I have posted this before and did not get the answer I was looking for
> so i will explain it again.
>
> Whenever there is a syntax error, or parse error etc in php it does not
> display the error. ie
>
> Warning: main(./includes/file.php):failed to open stream ....... blah blah
> blah
>
> I dont get these errors at all ( even though they are there! ) all i get is
> either nothing or a server 500 error. What the problem? .ini issue?
>
> please help
>
> ta
>

Ensure the php.ini file in your development system has:

display_errors=on
error_reporting=E_ALL

(and ensure you are editing the correct php.ini file).


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex RemoveThis @attglobal.net
==================

 >> Stay informed about: Not displaying erros 
Back to top
Login to vote
FutureShock

External


Since: Sep 28, 2008
Posts: 64



(Msg. 3) Posted: Wed Oct 01, 2008 8:08 pm
Post subject: Re: Not displaying erros [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jerry Stuckle wrote:
> Tree*Rat wrote:
>> Ok I have posted this before and did not get the answer I was looking
>> for so i will explain it again.
>>
>> Whenever there is a syntax error, or parse error etc in php it does
>> not display the error. ie
>>
>> Warning: main(./includes/file.php):failed to open stream ....... blah
>> blah blah
>>
>> I dont get these errors at all ( even though they are there! ) all i
>> get is either nothing or a server 500 error. What the problem? .ini
>> issue?
>>
>> please help
>>
>> ta
>>
>
> Ensure the php.ini file in your development system has:
>
> display_errors=on
> error_reporting=E_ALL
>
> (and ensure you are editing the correct php.ini file).
>
>
DeJaVue Wink

scotty
 >> Stay informed about: Not displaying erros 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
displaying mysql results - I'm doing a database for Habitat for Humanity. When displaying each row there are several columns. including name, company, amount, materials, services, etc. this is an all encompassing database, so not all fields are used for each donor. some give..

displaying a file not in the webroot - I want to display an uploaded file (e.g. a pdf file) in a "_blank" target window. The file is stored outside of the webroot at "/home/myhome/uploads/" and was uploaded by a trusted user with the function, move_uploaded_file(). I've ...

displaying a page at a specified position - hello i have a form about half way down a web page, which posts criteria for the WHERE part of an sql which then returns the results at the bottom of the page. Trouble is when the page reloads it goes to the top of the page again so the results are not....

mail and displaying errors - I'm trying to debug someone else's third party code that I'm trying to install on my site. It works for him on his site, but not for me on "my" site. I've traced the problem to the mail() call. For whatever reason, it's failing. And, my que...

Foreach displaying data twice - I must be missing something rather obvious. I have the following snippet of code that echo's my result twice when it should be echoing just once (only one element in the array). What am I overlooking? ******************************** $OpenQ =..
   Database Help (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]