-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect loop on fresh lane install #976
Comments
How is |
It doesn't *do* anything besides die and log an error. There's not realy a recovery option
I’m not totally opposed to tearing some of my own hair out getting nginx to support
Both seem to be supported under both Apache and nginx. Any chance we could do that? |
We could, but The scope of the problem is bigger on the backend where |
I can confirm that changing |
Ah, the joy of “standards”! |
^ That seems somewhat more robust |
Thank you! I suppose there’s no chance of a backport to 2.7... |
That doesn't cover everything; it'd have to be a larger backport |
Fixed in 2.9.0 |
Just did a fresh install: Ubuntu 16.04.4 LTS / nginx 1.10.3 / mysql 5.7.21 / PHP 7.0.25, and CORE-POS 2.7.
http://lane2/lane/install
seemed to go perfectly.http://lane2/lane/
triggers a redirect loop between/lane/login.php
and/lane/gui-modules/login2.php
:/lane/login.php
redirects to/lane/gui-modules/login2.php
becauseCoreLocal::get('LoggedIn') == 0
./lane/gui-modules/login2.php
redirects back to/lane/login.php
because it callsAutoLoader::dispatch()
(whose parameter$redirect
defaults totrue
), andCoreLocal::get('CashierNo')
= 6000 and$class
= '' which triggers the redirect.I’ve never logged in as CashierNo 6000, but I do see that value in
globalvalues
, so something seems to have set it this way.I’m fine with tweaking the database to break us out of this loop, but unless I’m missing something this seems like a bug.
Version of CORE?
2.7
Issue with Office, Lane, or both?
lane
Is this [mostly] a bug report, feature request, or question?
bug report
The text was updated successfully, but these errors were encountered: