Re: Re: White screen - nothing in logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 7, 2018 at 4:40 AM Christoph M. Becker <cmbecker69@xxxxxx>
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>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux