execution just stops when it gets to DB::connect [message #175940] |
Wed, 09 November 2011 18:57 |
garey
Messages: 1 Registered: November 2011
Karma: 0
|
Junior Member |
|
|
Hello -
I am trying to move a PHP application from PHP 4 to PHP 5.3.2.
The application was using an old PEAR DB.php, so I replaced it with a
new DB.php downloaded with a new PEAR.
Now, when the application tries to get a connection to the
database, the program just stops. Nothing is being logged. The DSN
looks correct, and the connect call is just
$db =& DB::connect($DSN)
has anyone seen this when upgrading?
Any help would be appreciated;
Garey Mills
|
|
|
Re: execution just stops when it gets to DB::connect [message #175949 is a reply to message #175940] |
Thu, 10 November 2011 05:35 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 11/9/2011 1:57 PM, garey wrote:
> Hello -
>
> I am trying to move a PHP application from PHP 4 to PHP 5.3.2.
> The application was using an old PEAR DB.php, so I replaced it with a
> new DB.php downloaded with a new PEAR.
>
> Now, when the application tries to get a connection to the
> database, the program just stops. Nothing is being logged. The DSN
> looks correct, and the connect call is just
>
> $db =& DB::connect($DSN)
>
> has anyone seen this when upgrading?
>
> Any help would be appreciated;
>
> Garey Mills
>
Enable error reporting and display all errors. In your php.ini file for
your development system you need:
error_reporting=E_ALL
display_errors=on
Note - do NOT leave these on in your production system!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|