FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » execution just stops when it gets to DB::connect
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: execution just stops when it gets to DB::connect [message #175949 is a reply to message #175940] Thu, 10 November 2011 05:35 Go to previous message
Jerry Stuckle is currently offline  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
==================
[Message index]
 
Read Message
Read Message
Previous Topic: how to allow only certain users to download uploaded file
Next Topic: about a piece of code from drupal 3.0.x
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 07 18:41:19 GMT 2024

Total time taken to generate the page: 0.04703 seconds