Re: Re: White screen - nothing in logs
| From: | Jigar Dhulla | Date: | Mon, 07 May 2018 05:06:20 +0000 |
| Subject: | Re: Re: White screen - nothing in logs | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326468@lists.php.net to get a copy of this message | ||
On Mon, May 7, 2018 at 4:40 AM Christoph M. Becker <cmbecker69@gmx.de>
wrote:
> On 06.05.2018 at 22:01, Lester Caine wrote:
>
> > As I said on the other reply, the Apache rewrite is pulling the number
> > cleanly and passing it, while on the nginx rewrite it was including the
> > '/'. But the problem is ACTUALLY with the php end which SHOULD simply
> > filter the number anyway!
>
> Obviously, that depends on what you do exactly to get/validate/sanitize
> the query parameter, and how you handle potential failures.
>
> > http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45
> > works, but
> >
> > http://npc.smallbrook.co.uk/fisheye/view.php?gallery_id=45/ gives a
> > white screen.
>
> I get “404 Not found” for the latter, which doesn't appear to be a
> problem per se.
>
> --
> Christoph M. Becker
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> I generally use below snippet on the first list of php file when I get
white screen, it displays the last error on script shutdown.
function died(){
print_r(error_get_last());
}
register_shutdown_function('died');
--
<https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>
Jigar Dhulla
about.me/jigar
<https://about.me/jigar?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb>