Skip to content

Bug: Incorrect parsing of Include/Config.php Secret Keys #8209

@dionbl-wp

Description

@dionbl-wp

Complains that Secret Keys are missing, when they are not.

Include/Config.php includes a secret key:

$sSERVERNAME = 'localhost';
$dbPort = '3306';
$sUSER = 'smbs_usr_crm';
$sPASSWORD = 'redacted-redacted-redacted';
$sDATABASE = 'smbs_churchcrm';
$TwoFASecretKey = 'redacted-redacted-redacted';


<img width="1896" height="1052" alt="Image" src="https://github.com/user-attachments/assets/9a19f130-0032-456f-9232-7b0c49f4de7b" />
<img width="1896" height="1052" alt="Image" src="https://github.com/user-attachments/assets/e564e164-256f-4b5a-93bc-de00a9c0c5f1" />
<img width="1896" height="1052" alt="Image" src="https://github.com/user-attachments/assets/a121916c-bd61-4a15-ae5f-34613f7ff42e" />
<img width="1896" height="1052" alt="Image" src="https://github.com/user-attachments/assets/07d25310-7331-4f99-8974-1244d092fa84" />

[logs.tgz](https://github.com/user-attachments/files/25813301/logs.tgz)

  • What happened: Upgraded to 7.0.1
  • Steps to reproduce:
  • goto /admin/
  • click "Admin Dashboard"
  • What you expected: there should be no message about "Missing secret keys"
  • instead it says: System Configuration: [Missing Secret Keys]

Environment details:

  • ChurchCRM version 7.0.1
  • PHP 8.5.3
  • Apache/2.4.66 (Ubuntu)
  • Linux 6.8.0-101-generic Feature vagrant #101-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 9 10:15:05 UTC 2026 x86_64
  • Database Server | 10.11.14-MariaDB-0ubuntu0.24.04.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions