mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #1663] 🐛 [Bug] confi_gen.php cannot consume a value containing spaces #692
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#692
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 @jeremiah on GitHub (Sep 8, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1663
Originally assigned to: @IrAlfred on GitHub.
🐛 Bug
While running
php config_gen.phpI get this error;Rev: [cypht-master]
OS: [Debian 13]
@jeremiah commented on GitHub (Sep 8, 2025):
Changing the .env file strings that contained spaces to not containing spaces seems to have worked;
DEFAULT_SETTING_ALL_EMAIL_SINCE=-1 weekchanged to
DEFAULT_SETTING_ALL_EMAIL_SINCE=-1@IrAlfred commented on GitHub (Sep 10, 2025):
Hello @jeremiah,
Thank you for taking time to report this issue and for your interest in Cypht.
You are absolutely correct in your diagnosis. The error occurs because the Symfony Dotenv parser, which reads the .env file, requires that any value containing spaces must be wrapped in quotes.
So the line
should be changed to
It's fine with single or double quote.
Thanks again for using Cypht!
@jeremiah commented on GitHub (Sep 10, 2025):
Thanks for the reply. I'll change the string to include single quotes, test, and report back results.
@jeremiah commented on GitHub (Sep 10, 2025):
After making the change, I ran the config_gen.php successfully.