PDA

View Full Version : Debug PHP


Daryl
10-03-2009, 06:42 AM
Does anyone know of a way of debugging PHP?

I am using Dreamweaver to create my sites but can not find any way of getting Dreamweaver to help me in the debugging process.

I have found a few very expensive programmes that will debug PHP, but they are just too expensive.

I am trying to learn what the various php error messages mean, but sometimes even when I do have an idea of what I am looking for, I still can't find what is causing the error.

I am on a shared server so need to find something that resides on my PC or is a simple script which makes the PHP Errors a little more user friendly.

Dave Buchholz
10-04-2009, 02:09 AM
Daryl,

I don't have a magic solution for you I am afraid other than to offer the consolation that wading thru www.php.net looking for solutions will make you a better developer in the long run.

Daryl
10-04-2009, 02:56 PM
Thanks Dave

I am slowly making my way through the php manual and it is helping, but unfortunately very slowly.

It took me over 24 hours to debug my last problem (which made me start this thread)

I am surprised that DW can't find missing ; or unmatched pairs of brackets (I know there is a thing for braces within DW, but its not great.

Anyway, thanks for your input and back to the hard way or asking you kind people that know more than me to help out.