Re: Re: HTTP Error 500 - IsapiModule
| From: | Bastien Koert | Date: | Fri, 19 Dec 2008 19:33:33 +0000 |
| Subject: | Re: Re: HTTP Error 500 - IsapiModule | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-284858@lists.php.net to get a copy of this message | ||
On Fri, Dec 19, 2008 at 11:48 AM, Jim Lucas <lists@cmsws.com> wrote:
> Gary Maddock-Greene wrote:
> > Yes .. thanks Stuart. If I comment out that line I now get a different
> > problem!!
> >
> > Unable to connect to database.
> >
> > One step closer!!!
> >
> >
>
> Well, now take and place a simple or die(mysql_error()); after your
> mysql_connect() call
>
> $rh = mysql_connect() or die(mysql_error());
>
> Mind you that the above is not recommended in production code.
>
> But, it works for trying to figure out this type of problem.
>
> --
> Jim Lucas
>
> "Some men are born to greatness, some achieve greatness,
> and some have greatness thrust upon them."
>
> Twelfth Night, Act II, Scene V
> by William Shakespeare
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Assuming you are using some flavor of IE, ensure the Always Show Friendly
Errors Messages is unchecked the browser's Tools > internet options >
advanced tab
--
Bastien
Cat, the other other white meat