Install issue with upgrade OR new install #5634
-
|
To preface this, I am working on 'test' site using xampp locally before I put it live. I first tried to Upgrade a site I am working on to 2.3.5, but It would not open. I got the message; "Site Configuration Issue Detected. Please contact your webmaster." Couldn't figure it out, so I Did a FULL install, moved everything over, and once I got to setting My Site URL, I got the message again! I am using Localhost, and other NON https addresses, and it fails. I am having a hard time getting a fake cert to work on my windows setup. What is a quick work-around so I can get back to work. TIA! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
Hey @BillyBoy0823, the message you're hitting is the v2.3.5 host-mismatch killswitch. The HTTPS angle is a red herring; you can park the fake-cert side quest. You're the second person it's caught this week. @Digioso hit it on a different host pattern in #5627, where the broader UX problem (this What's actually happeningThe kill lives at XAMPP traps that get you here on a perfectly innocent dev box:
@Deltik, the second one is a real bug rather than a config trap on the user's side. A port-strip on The clean local-dev fixThe killswitch is a no-op when For a XAMPP test box, leaving Since you've already bricked the wizard by setting a full URL, you'll need to revert via DB (the admin form's HTML5 Open SELECT e107_value FROM e107_core WHERE e107_name = 'SitePrefs';Find
For the modern format: UPDATE e107_core
SET e107_value = REPLACE(
e107_value,
"'siteurl' => '<whatever's there now>'",
"'siteurl' => '/'"
)
WHERE e107_name = 'SitePrefs';For the legacy UPDATE e107_core
SET e107_value = REPLACE(
e107_value,
's:<oldlen>:"<whatever>";',
's:1:"/";'
)
WHERE e107_name = 'SitePrefs';Save, reload, and the site should come back up at whatever hostname you visit. Don't re-edit Site URL via admin while you're still on the test box, or you'll just brick yourself again. Heads-up on the upstream sideThe current |
Beta Was this translation helpful? Give feedback.
-
|
I made a big mess. I wrote a site in 2005 with e107 and a lot of hacks, and it is STILL running. It's too old to do anything with now, so I updated and basically re-worked old plugins to work with 2xx. I was 95% there and surprised at how I was able to get my ole plugins working again considering the e107 code looks so foreign to me now (I am a straight-line hacker at best). I was so close, and then saw the NEW update, so I installed it. I didn't see when lock-out happened when I did the upgrade, so I installed the full version. I copied over all my work, reset all my values throughout, then I set the site url to localhost, and it was back with the "Site Configuration Issue Detected. Please contact your webmaster." message. So, at that point I knew about where to look. I did use phpmyAdmin to go into the core prefs to try and change the site url. I tried localhost, 127.0.0.1, domain names with http:, ones with https:, as well as leaving it blank. Nothing worked. I tried looking at the e107 code, to see if I could figure a bypass, but I'm just not that smart. That's when I figured it might be related to needing SSL, which took me down a long, dark path lol. I could get Cert's installed on my computer, but I still couldn't get a site to work with https: on my system with localhost or 127.0.0.1. I also saw, each browser had different issues with ssl, and solutions. I tried many. I ended up messing up xampp and having to backtrack and reverse all the hacks I did to that. Plus reset changes I did to my browsers which may have made them insecure. THIS is when I finally decided to bug you guys. Two days of cluelessness for me. I tried the db REPLACE you sent in post 2, but I could not get it to work. I also tried to go in with phpMyAdmin again and just change it myself. I did, but I am still locked out. :/ Any other suggestions? I am probably going to just install full again and avoid saving those admin prefs that contain the url so I can move on. Thanks for getting back so fast though! I love e107, I tried many CMS's back in the day and it was the easiest for me to understand and adapt to my needs. So thanks for the work you all put into it! |
Beta Was this translation helpful? Give feedback.
-
|
You ARE AWESOME!!! I do delete cache a lot, on site and I have a lil script I run, but removing THAT FIle did the trick!! Awesome. Saves me from another install. Thank You SO MUCH!! |
Beta Was this translation helpful? Give feedback.




@BillyBoy0823, oh hell, I owe you an apology. Two days of you fighting this and I missed the most likely reason my fix didn't land: e107 has a pref cache sitting in front of the DB row. Direct DB edits don't take effect until that cache is cleared, with a 24-hour TTL by default.
e107_handlers/pref_class.php:467-501is the loader. On every request it checkse107::getCache()->retrieve_sys('Config_core', ...)first. If that returns anything non-empty, it uses the cache and never touches thee107_coretable. So every value you wrote via phpMyAdmin (localhost, 127.0.0.1, http, https, blank) made it into the DB and was then immediately ignored on the next page load, because the cache still hel…