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
I've a similar problem of #2107 and #1964 on Slim 3.11.. $basePath is always null, so every time I use path_for() on my twig template file, Slim redirect site to https:///login instead https://MY_WEBSITE/login.....
To solve this, I've momentainly merged #2519 to understand if is really always null, after that, I fix it with this middleware:
But the main problem is that, the same code, on different platform, return two different result...
Same php version, same apache version, same extension enabled, same php.ini and same httpd.conf...
On my localhost wamp Slim works without middleware fix ($basePath is set correctly), but on my ubuntu test vps, the middleware fix is mandatory ($basePath is always null)...
Because it is a 2 years old bug, any idea how to fix it??
The text was updated successfully, but these errors were encountered:
I've a similar problem of #2107 and #1964 on Slim 3.11..
$basePath
is always null, so every time I usepath_for()
on my twig template file, Slim redirect site tohttps:///login
insteadhttps://MY_WEBSITE/login
.....To solve this, I've momentainly merged #2519 to understand if is really always null, after that, I fix it with this middleware:
But the main problem is that, the same code, on different platform, return two different result...
Same php version, same apache version, same extension enabled, same php.ini and same httpd.conf...
On my localhost wamp Slim works without middleware fix (
$basePath
is set correctly), but on my ubuntu test vps, the middleware fix is mandatory ($basePath
is always null)...Because it is a 2 years old bug, any idea how to fix it??
The text was updated successfully, but these errors were encountered: