mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 21:15:56 +03:00
[GH-ISSUE #1003] login page reload without error #535
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#535
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rolie31 on GitHub (May 5, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1003
Originally assigned to: @IrAlfred, @Baraka24 on GitHub.
🐛 Bugreport
Hello, I want to try cypht but I have issue.
After fresh install of Cypht 1.4, and user created, when I try to login, the page reload after few second.
Version & Environment
Rev: 1.4
OS: debian bullseye
Nginx
Php 7.4
Steps to reproduce
When I try to user a wrong password, I have an error with wrong password. With the good one, I just redirect to the login form without error.
I try to enable log on nginx. I see access in log but I don't have any error
On php setting, I have enabled log :
My nginx site conf :
I have no nginx error log, no php log in syslog or error on the webpage.
Can someone tell me where to look ?
@rolie31 commented on GitHub (May 14, 2024):
No one know where to look ? I'm really stuck ...
@josaphatim commented on GitHub (May 14, 2024):
I got this issue a few months ago. I will try to reproduce and fix if possible tomorrow
@josaphatim commented on GitHub (May 15, 2024):
@rolie31 if user_config_type in hm3.ini is set to file, then make sure also to set user_settings_dir, attachment_dir and app_data_dir otherwise you want to able to login successfully. Also make sure those 3 folders are readable and writable. Thanks.
@rolie31 commented on GitHub (May 15, 2024):
Thanks @josaphatim for your reply
User_config_type is set to DB
Here is my hm3.ini file
My login password are not xxxxxxx and connection to DB is OK
I also checked the folder read write and it's ok
Here are my tables

For now only hm_user contains one row, the user.
@josaphatim commented on GitHub (May 16, 2024):
Really hard to reproduce for now. I also tried in a fresh installation of 1.4. I tried everything and still logging in. Have you created table hm_user_settings ? Can you check the php error log file to know the exact error ?
@rolie31 commented on GitHub (May 19, 2024):
The table is created yes. I have post a capture of the 3 tables in the previous post
Here is the error log ! I really dont know why but finally i have some log !
@marclaporte commented on GitHub (May 19, 2024):
@rolie31 From the screenshot, you appear to be in France. FYI, we have a community event very soon in Paris, and Cypht is one of the topics: https://tiki.org/TikiFestParis2024
@josaphatim commented on GitHub (May 19, 2024):
@rolie31 I see that your issue has something to do with disable_origin_check. You were logged in but logged out when you Cypht check the origin. Can you try to set it to true in hm3.ini and then generate config again ? Below is the comment about it in the code.
@rolie31 commented on GitHub (May 21, 2024):
Thanks @josaphatim
That was this parameter :)
@rolie31 commented on GitHub (May 21, 2024):
I can now login
@rolie31 commented on GitHub (May 21, 2024):
Thanks