KG60
Members-
Posts
26 -
Joined
-
Last visited
Profile Information
-
Gender
Male
-
Location
England
-
Interests
Family History, Local History, Walking.
KG60's Achievements
Jr. Member (3/6)
2
Reputation
-
Login Fails: Admin dashboard (No Errors) on HTTPS Site
KG60 replied to W2me92's topic in General Support
If that doesn't work, try $config ->sessionFingerprint = false; -
Thanks for that. After trying a few different options, that's worked, although I've had to set it at = 12; Much appreciated. * After finding that it created another issue with suddenly not being able to login due to the site being supposedly forged, and an unknown error once that was also resolved, I fixed it by changing the initial change to the below: $config->sessionFingerprint = false;
-
Thanks for replying. Yes, the url is correct. The actual site works fine, it’s just accessing the admin side that’s the problem. I can make changes using the laptop version, and then upload them to the test server, but that just creates an extra layer. I’d sooner edit direct only on the test server if possible.
-
SOLVED! 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: ProcessWire 3.0.244 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
-
@virtualgadjo@Gideon So ? Success....to a point. When trying to install a fresh Processwire instance, I got the message that it was "Unable to determine if Apache mod_rewrite (required by ProcessWire) is installed" After checking, it appears that CWP does not enable it by default. ? After doing a rebuild on Apache, this has now created other 'none-ProcessWire' issues. At least I now know that the problem is not ProcessWire related, but issues with the server configuration, and I can now start to work on those. CWP is a bit of a learning curve after Webmin, but it keeps the brain working. ? Thanks for your help.
-
Hi virtualgadjo The php version is 7.4 and is the same on both the laptop and the server. I'll follow your suggestion and do a complete fresh install on a new subdomain. If that works, then it's a case of comparing config and htaccess files to look for differences. If not, then there may be an issue with the configuration of my test server. (I'm using CWP instead of Webmin, so that's been a bit of a learning curve as well). Thanks for taking the time to make suggestions. Much appreciated.
-
Hi Gideon The config debug line is already in the config file, and it doesn't return any errors. I think I'll follow virtualgadjo's suggestion and add another subdomain, then do a completely fresh blank ProcessWire install. If that works, then I can start doing a comparison between config & htaccess files. If it doesn't, then I can start looking into how I have Apache configured on my test server. Thanks for your suggestions. They're much appreciated.
-
The MySQL user is configured correctly, otherwise the site wouldn't show correctly. The site allows me into admin on my laptop, and it's the exact same config file. It's not really a big file, so there's not a lot to get wrong in it in all fairness. It's not a show stopper, so I'll keep digging. I just hoped somebody may have come up against the same problem at some point. I'll post my solution when/if I do find the source of the problem though. Thanks
-
Thanks for your suggestions. I worked this way for years previously, but just had the domain name pointing to a splash page, informing anybody that it was the customers testing server, then redirecting to our proper site. Any client sites we had as subdomains, as you mentioned. I can't see the database being linked to the domain name making a difference though. I have a couple of test sites as subdomains, one Processwire and one just static HTML. They both work fine but the Processwire site also won't allow me to log into the Admin area. I never had this problem with the old server, which was Centos 7 using Webmin. I might try removing the main site though and replacing it with a splash page, just to test your theory. I've not done any web stuff for quite a few years, and decided to try getting back into it to keep me busy during retirement. I'm a bit rusty with it though, as the last version of Processwire I used was v2.3. I don't give in easily though, so I'll keep plugging away. ?
-
I've used the debugging tools and the only errors appear to be linked to the AdminOnSteroids plugin. I've now uninstalled it, but it's not resolved anything. The config.php is exactly the same on both machines. The site is working fine, it's just that I am unable to access the Admin area on the server, even though it works fine on the laptop. I'll keep checking things out.
-
I've looked in there. No errors that relate to this. All old errors. Good suggestion though. ?
-
Hi virtualgadjo, Thanks for the suggestion. I have checked the config.php file, and the line you mention shows as 'localhost'. I have changed it to my domain name, and also the IP addresss, but it doesn't make a difference. My domain name currently points to the test server, until I am ready to make my sites live. I can edit the site on my laptop, and upload the sql to the test server, but it would be nice to be able to edit on the server directly when it is close to being ready for going live.
-
I have a couple of websites on my laptop, which I can view and edit without any issues. If I then upload the website onto my local testing server, and import the sql file, the site shows perfectly, but I am unable to log in to the admin background area. I type in my user name and password, select Login, and the screen stays the same but the username and password are cleared again. Admin login details work perfectly on my laptop. The login details are correct, as they are exactly the same as on my laptop. Laptop Details: MacBook Air, running MacOS Sonama 14.2.1 & Ampps (Apache 2.4.58, PHP 7.4.33, MYSQL 8.0.31). Processwire 3.0.165 with htaccess file @IndexVersion 300 Server Details: Linux server running Rocky Linux 8.9 & CWP (Apache 2.4.57, PHP 7.4.33, MySQL 10.4.32-MariaDB + nginx & varnish) Processwire 3.0.165 with htaccess file @indexVersion 300 I tried disabling nginx & varnish but this didn't resolve the issue. The difference in MySQL versions should be irrelevant, as the site works fine using both. Can anybody possibly shed any light as to what might be the issue?
-
Thanks for the explanation. That makes things clearer. I'm still getting used to how ProcessWire functions but I'm getting there, albeit slowly. I've now managed to add the options I wanted by using the Justify plugin following the instructions on another forum post. It's great to be able to tap into the experience of the ProcessWire community.
-
I am using Processwire v2.7.2, and CKEditor is in both the Site/Modules and Wire/Modules folders. Which copy of CKEditor will it be using? I want to try to add the ability to centre text but it is a bit confusing on which copies of the files I should be editing. Also in the Wire/Modules/InputfieldCKEditor folder there is a sub folder called ckeditor-4.5.3. If ProcessWire is using the version stored in the Wire folder is it reading the files from the root of the InputfieldCKEditor folder or from the sub folder? I've noticed on this site the text alignment buttons are in place along with the font type and size. This is what I would like to add in rather than just extra options under the Styles dropdown. Is this easy to do? I hope this makes sense. Thanks in advance for any help