[GH-ISSUE #746] Login issue on WinServer 2019 & IIS #509

Closed
opened 2026-03-02 15:59:21 +03:00 by kerem · 3 comments
Owner

Originally created by @fellinga on GitHub (Mar 10, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/746

I just downloaded the tinyfilemanger.php from a WinServer 2019 with IIS. I did not modify the file and I am not able to login (2.4.3 and 2.4.7).

I can see that wrong credentials change the browser url to "...../tinyfilemanger.php" and that correct credentials change the browser URL to "...../tinyfilemanger.php?p=". But my browser never gets past the login screen. The filemanager works fine if "$use_auth" is set to false.

Do I need to configure something else?

Originally created by @fellinga on GitHub (Mar 10, 2022). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/746 I just downloaded the tinyfilemanger.php from a WinServer 2019 with IIS. I did not modify the file and I am not able to login (2.4.3 and 2.4.7). I can see that wrong credentials change the browser url to "...../tinyfilemanger.php" and that correct credentials change the browser URL to "...../tinyfilemanger.php?p=". But my browser never gets past the login screen. The filemanager works fine if "$use_auth" is set to false. Do I need to configure something else?
kerem closed this issue 2026-03-02 15:59:21 +03:00
Author
Owner

@prasathmani commented on GitHub (Mar 13, 2022):

PHP 5.5.0 or higher and check password_hash is available in your server

<!-- gh-comment-id:1066009850 --> @prasathmani commented on GitHub (Mar 13, 2022): PHP 5.5.0 or higher and check `password_hash` is available in your server
Author
Owner

@fellinga commented on GitHub (Mar 13, 2022):

I am using the latest php 8 version. I can also see that the redirect is triggered:

github.com/prasathmani/tinyfilemanager@4d7078829d/tinyfilemanager.php (L301)

Therefore I would expect the password hash function to work properly. Any other ideas?

<!-- gh-comment-id:1066034016 --> @fellinga commented on GitHub (Mar 13, 2022): I am using the latest php 8 version. I can also see that the redirect is triggered: https://github.com/prasathmani/tinyfilemanager/blob/4d7078829db2f0f4ac566824441c7146c106ae75/tinyfilemanager.php#L301 Therefore I would expect the password hash function to work properly. Any other ideas?
Author
Owner

@fellinga commented on GitHub (Jul 6, 2022):

Turned out it was an issue with PHP. I had to modify the php.ini to allow php to access to my temp folder.
open_basedir = "C:\inetpub\wwwroot;C:\Windows\Temp"

<!-- gh-comment-id:1175992958 --> @fellinga commented on GitHub (Jul 6, 2022): Turned out it was an issue with PHP. I had to modify the php.ini to allow php to access to my temp folder. `open_basedir = "C:\inetpub\wwwroot;C:\Windows\Temp"`
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#509
No description provided.