[GH-ISSUE #322] Login dont work #236

Closed
opened 2026-03-02 15:57:06 +03:00 by kerem · 9 comments
Owner

Originally created by @fernandodeveloper on GitHub (Mar 17, 2020).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/322

After type the users credentiails, and tap in button login. The refresh the page and return the login.

With no erros, no one message.

Originally created by @fernandodeveloper on GitHub (Mar 17, 2020). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/322 After type the users credentiails, and tap in button login. The refresh the page and return the login. With no erros, no one message.
kerem 2026-03-02 15:57:06 +03:00
Author
Owner

@fernandodeveloper commented on GitHub (Mar 17, 2020):

I I type in the username and password (on the login screen) and click to login.

However, he returns to the login page. (Does not show any errors, nor does it open the file listing)

I have already tested with the user with valid and invalid data

<!-- gh-comment-id:600074667 --> @fernandodeveloper commented on GitHub (Mar 17, 2020): I I type in the username and password (on the login screen) and click to login. However, he returns to the login page. (Does not show any errors, nor does it open the file listing) I have already tested with the user with valid and invalid data
Author
Owner

@prasathmani commented on GitHub (Mar 17, 2020):

php version should be PHP 5.5.0 or higher version

<!-- gh-comment-id:600085553 --> @prasathmani commented on GitHub (Mar 17, 2020): php version should be `PHP 5.5.0` or higher version
Author
Owner

@fernandodeveloper commented on GitHub (Mar 17, 2020):

I'm using

PHP Version 7.2.22

<!-- gh-comment-id:600230736 --> @fernandodeveloper commented on GitHub (Mar 17, 2020): I'm using PHP Version 7.2.22 --
Author
Owner

@prasathmani commented on GitHub (Mar 19, 2020):

even I'm not sure, why do you getting this issue, try in different server

<!-- gh-comment-id:601252515 --> @prasathmani commented on GitHub (Mar 19, 2020): even I'm not sure, why do you getting this issue, try in different server
Author
Owner

@AnthorNet commented on GitHub (Mar 31, 2020):

Issue is also happening on the git demo ^^ Tested using Chrome

<!-- gh-comment-id:606579239 --> @AnthorNet commented on GitHub (Mar 31, 2020): Issue is also happening on the git demo ^^ Tested using Chrome
Author
Owner

@Louuu commented on GitHub (Apr 1, 2020):

Have you tried making your web server user the owner of the php sessions directory?
For example chown nginx /var/lib/php/session/ ?

<!-- gh-comment-id:607120075 --> @Louuu commented on GitHub (Apr 1, 2020): Have you tried making your web server user the owner of the php sessions directory? For example `chown nginx /var/lib/php/session/` ?
Author
Owner

@fernandodeveloper commented on GitHub (Apr 1, 2020):

Have you tried making your web server user the owner of the php sessions directory?
For example chown nginx /var/lib/php/session/ ?

I'm using hosting provider. I can touch in this folder.

<!-- gh-comment-id:607214586 --> @fernandodeveloper commented on GitHub (Apr 1, 2020): > Have you tried making your web server user the owner of the php sessions directory? > For example `chown nginx /var/lib/php/session/` ? I'm using hosting provider. I can touch in this folder.
Author
Owner

@alfem commented on GitHub (Apr 15, 2020):

I am using php7 as well and I can not pass the login screen. I fill in the form, and then I am redirected to a blank page. Demo page works ok.

I am no sure about the value I must put into the 'root_url' variable. Examples do not show a real 'url'.

I planned to use this for a school (covid-19 times), but no way.

<!-- gh-comment-id:614205498 --> @alfem commented on GitHub (Apr 15, 2020): I am using php7 as well and I can not pass the login screen. I fill in the form, and then I am redirected to a blank page. Demo page works ok. I am no sure about the value I must put into the 'root_url' variable. Examples do not show a real 'url'. I planned to use this for a school (covid-19 times), but no way.
Author
Owner

@alfem commented on GitHub (Apr 15, 2020):

Solved!

nginx+php installation tutorials recommend to change cgi.fix_pathinfo=0 in php.ini

If I do it, $_SERVER['PHP_SELF']) is empty and abs path for site is wrong.

Changing that parameter to 1 and reloading php service make everything work fine.

<!-- gh-comment-id:614220784 --> @alfem commented on GitHub (Apr 15, 2020): Solved! nginx+php installation tutorials recommend to change cgi.fix_pathinfo=0 in php.ini If I do it, $_SERVER['PHP_SELF']) is empty and abs path for site is wrong. Changing that parameter to 1 and reloading php service make everything work fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#236
No description provided.