Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proxy_fcgi:error] Cannot redeclare is_base_url_secure() when setting basic authentication credentials in user-config.inc.php #30

Open
alwayslearningalwaysexploring opened this issue Mar 23, 2024 · 1 comment
Assignees

Comments

@alwayslearningalwaysexploring

When I create a user-config.inc.php file with the user and password to overwrite the default settings, I get the following error in my error.log:

[Sat Mar 23 14:55:39.318663 2024] [proxy_fcgi:error] [pid 1178021:tid 140168765875904] [client 37.134.211.147:0] AH01071: Got error 'PHP message: PHP Fatal error: Cannot redeclare is_base_url_secure() (previously declared in /media/data0076/sites/355979/web/hotglue2/config.inc.php:73) in /media/data0076/sites/355979/web/hotglue2/user-config.inc.php on line 82'

My config.inc.php file includes the user-config.inc.php file and is set to basic authentication. I have also tried uncommenting this include and seeing if the default values work but I get prompted over and over again with the same login modal (both in Firefox and in Chrome). The only way I can "fix this" is if I disable authentication all together, which is not my ideal.

Any insight? Thanks in advance!

@k0a1a
Copy link
Owner

k0a1a commented Apr 30, 2024

hi,

why is is_base_url_secure() function defined in your user-config.inc.php ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants