I am attempting to migrate an internet site from 1 linux (php4) PC to a different 1 linux PC (php5).

The web site consists of Apache+PHP+Smarty+MYSQL.

Now I am getting this error "DB_DataObject Error: Connect unsuccessful, switch on debugging to five understand why "

I've fundamental understanding on PHP, can anybody assist me to the way i can debug the issue? Thanks.

A couple of seconds of Searching gives this :



So you could attempt to include


...at the outset of the bogus PHP script, to be able to obtain a more precise PHP error.