Home »
Imported messages »
comp.lang.php »
execution just stops when it gets to DB::connect
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:
|
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
==================
|
|
|
Goto Forum:
Current Time: Thu Nov 07 18:41:19 GMT 2024
Total time taken to generate the page: 0.04703 seconds