How do I get PHP to show more specific errors?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Swede78
Forum Contributor
Posts: 198
Joined: Wed Mar 12, 2003 12:52 pm
Location: IL

How do I get PHP to show more specific errors?

Post by Swede78 »

When my php pages do not work, all that happens is nothing. It just says "Done" in the status bar. I don't get any error message.

I have error_reporting = E_ALL in my php.ini file.

How do I get more specific errors. When I'm doing something wrong, I have to go line by line looking for mistakes. I'd love to be able to know what line it's having a problem with.

I'm using PHP 4.3 on WinXP Pro. as my testing machine.

Any help would be appreciated.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Is display_errors on in the php.ini file?

Mac
Swede78
Forum Contributor
Posts: 198
Joined: Wed Mar 12, 2003 12:52 pm
Location: IL

Post by Swede78 »

That did the trick! Thanks.

Wow, I got a lot of little errors on pages that I thought were working fine.
Post Reply