You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redirect has not been working for a while on my sites, and I'm only just getting around to trying to fix things.
The problem seems to be the addition of $pStatusCode in header() ... have dropped that so header only uses the Url and things are are least redirecting. I suspect this is something to do with PHP changes as I'm currently using PHP7.2 and still keep hitting things which need to be reworked from the PHP5 base but I can't see any notes about this being changed in PHP ... Asking there for some input ...
The text was updated successfully, but these errors were encountered:
Hi Lester, One of the most common issues with header() not working is a trailing space in a file somewhere. Do you have all NOTICE messages logging, and have ou checked the logs?
There were a couple of files with extra spaces in the Smarty library, but the only fix that works for me is to remove the error code and just apply the url ... Things like not finding a gallery number now return the top level list rather than a blank page. I've had no comment on my post to the PHP list ... convinced it's something php7 related rather than the code base.
Redirect has not been working for a while on my sites, and I'm only just getting around to trying to fix things.
The problem seems to be the addition of $pStatusCode in header() ... have dropped that so header only uses the Url and things are are least redirecting. I suspect this is something to do with PHP changes as I'm currently using PHP7.2 and still keep hitting things which need to be reworked from the PHP5 base but I can't see any notes about this being changed in PHP ... Asking there for some input ...
The text was updated successfully, but these errors were encountered: