Author Topic: Problem accessing website admin area  (Read 277 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problem accessing website admin area
« on: January 21, 2025, 11:46:47 AM »
I am having a problem accessing the admin area on my websites created with Processwire on my CWP server (testing server). Everything works fine on my laptop version logging in using localhost/foldername, but when I try using my url to access the server version, the screen just ignores the username & password.
When checking the logs I see the following error:

2025-01-21 11:12:35   admin   https://domainname.co.uk/admin/login/   Successful login for 'admin'
2025-01-21 11:12:35   ?   ?   User 'admin' - Error: Session fingerprint changed (IP address or useragent) (IP: 192.168.178.28)

As this works fine on my laptop with localhost, I would assume that it is something to do with CWP redirecting from my public ip address to my local ip address. I don't have this problem with any Joomla sites I have installed, it appears to be limited to Processwire.

Does anybody know how I can get round this please? Any help would be greatly appreciated.

I am using the following:
CWP7 Pro
Rocky Linux 8.10 (Green Obsidian)
Apache 2.4.62
PHP 8.3
MariaDB 10.4.34
Nginx - latest version
Varnish - latest version

Offline
*
Re: Problem accessing website admin area
« Reply #1 on: January 21, 2025, 11:30:21 PM »
Now resolved. I needed to add $config->sessionFingerprint = 12; into the config.php file.