0
Not a bug

Cannot login in new version (Windows 10)

dannychow 2 years ago updated 19 hours ago 6

I 'm using a Windows 10 as server. I installed PHP7.2.2 (64 bits) and using the newest Filerun (FileRun_2018_02_13_PHP71). I could see the welcome page and input all the database information. It also could show the superuser account information to me. But when I tried to login using the super account, it bounded back to the login page. Please see the error log of the PHP below. Any idea how to solve it?

  

[27-Feb-2018 17:45:14] PHP Warning:  session_regenerate_id(): Cannot regenerate session id - session is not active in D:\FileRun_2018_02_13_PHP71\system\classes\vendor\FileRun\Auth.php on line 72
[27-Feb-2018 17:45:14] PHP Warning:  Cannot modify header information - headers already sent by (output started at D:\FileRun_2018_02_13_PHP71\system\classes\vendor\FileRun\Auth.php:72) in D:\FileRun_2018_02_13_PHP71\system\modules\fileman\sections\default\php\login.php on line 119

Answer

Answer

After I configured a valid path for "session.save_path", I can login right now. Thanks.

Under review

Might have been a temporary issue. Try logging in with a different browser and let me know if the problem persists.

Also, make sure PHP is configured with a valid path for "session.save_path".

Answer

After I configured a valid path for "session.save_path", I can login right now. Thanks.

I would like to test the app but I'm stuck in a login loop.


session.save_path is set and session files are being created in tmp dir. 

looking at the database df_logs has many successfull login rows...

you can test it at

http://juridico.smzc.pt/

php info 

http://juridico.smzc.pt/info.php

what could be missing?

Vitor

Are you having troubles with Nextcloud on Windows? If so, please specify the error message.

No error message at all.

It's a cpanel installation with php7.2 without ssl

installed version:

FileRun_2019_05_21_PHP_71-73.zip

php.ini

allow_url_fopen = On
allow_url_include = Off
display_errors = On
enable_dl = Off
file_uploads = On
max_execution_time = 180
max_input_time = 90
max_input_vars = 8000
memory_limit = 128M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = "tmp"
upload_max_filesize = 20M
zlib.output_compression = Off

expose_php = Off
error_reporting = E_ALL & ~E_NOTICE
display_startup_errors = Off
log_errors = On
error_log = "logs/error.log"
ignore_repeated_errors = Off