Re: Re: White screen - nothing in logs
| From: | Lester Caine | Date: | Sun, 06 May 2018 20:01:07 +0000 |
| Subject: | Re: Re: White screen - nothing in logs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-326466@lists.php.net to get a copy of this message | ||
On 06/05/18 18:02, Brian Smither wrote:
With: /gallery/6/ I get 404. But with: /gallery/6 I get a page. So, it seems the trailing slash may be the issue.Case of two errors making things interesting ... 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! 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. northwaypc.org.uk/fisheye/view.php?gallery_id=45/ does not give a white screen, instead redirecting to the gallery home page. Which is a mistake and I can see why that is not working as expected, but the PHP7 white screen is still the problem to be solved! If only because someone being nasty can use the hole to cause problems. It should simply fold back to a home page when any duff data is supplied :( -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk