Re: PHP version reporting incorrectly... Reply #15 – July 06, 2018, 04:53:59 pm Why are you running upgrade.php? It should be install.php if you're installing a new forum. I am only going on GitHub and looking at the code btw, I didn't write this software just trying to assist.
Re: PHP version reporting incorrectly... Reply #16 – July 06, 2018, 05:16:06 pm As far as I can see the installer runs and then goes straight on to upgrade.php - it does seem odd that the latest version requires an immediate upgrade and I suspect this is root of the problem, and nothing to do with db privileges or even php versions! I'm playing with setting up a clean install on a D8 droplet at digital ocean. If that hits the same issues we're in trouble. But if I get a clean install there then I'll use that to try and figure out what's different about our container environment! Very many thanks for your help - you've got me on the right track I hope...
Re: PHP version reporting incorrectly... Reply #17 – July 06, 2018, 05:27:33 pm Ok, I was curious and tries a fresh install, I can confirm I get the same error as you do. I'll get back to you with the fix!
Re: PHP version reporting incorrectly... Reply #18 – July 06, 2018, 05:36:37 pm It's the ALTER command itself which is failing.
Re: PHP version reporting incorrectly... Reply #19 – July 06, 2018, 05:52:46 pm Can you replace your upgrade.php with the attached please?
Re: PHP version reporting incorrectly... Reply #20 – July 06, 2018, 06:26:58 pm You go to the upgrade because you did not delete the install directory when the installer told you so.So, just get rid of the directory and live happy!
Re: PHP version reporting incorrectly... Reply #21 – July 06, 2018, 06:28:07 pm Quote from: thesohogeek – July 06, 2018, 02:21:31 pmI was using Github master, but I'm now downloading this version 1.1.4 and will let you know what happens... Then you were probably downloading development that has minimum version 7.something, do note the "default branch" at github is development and not master.
Re: PHP version reporting incorrectly... Reply #22 – July 06, 2018, 06:33:38 pm Quote from: emanuele – July 06, 2018, 06:26:58 pmYou go to the upgrade because you did not delete the install directory when the installer told you so.So, just get rid of the directory and live happy! I removed that first time and it complained upgrade.php wasn’t there due to your policy dB changes The bug I raised on GitHub is still valid I believe.
Re: PHP version reporting incorrectly... Reply #23 – July 07, 2018, 05:20:21 am The bug open at github if I understand it correctly is about upgrade.php, but if you delete the install directory you delete every thing including upgrade.php.Unless I misunderstood the report.
Re: PHP version reporting incorrectly... Reply #24 – July 07, 2018, 06:23:35 am Quote from: emanuele – July 07, 2018, 05:20:21 amThe bug open at github if I understand it correctly is about upgrade.php, but if you delete the install directory you delete every thing including upgrade.php.Unless I misunderstood the report.If I do that I get what is in the attached image, everytime I try to access the forum. I change the url to http://192.168.0.65/elkarte2/index.php and it redirects to http://192.168.0.65/elkarte2/install/upgrade.phpOk so it removes the contents of the install directory but not the directory itself, this is what causes the issue. Although I think the db query call should be changed also. So I would say there are two bugs.
Re: PHP version reporting incorrectly... Reply #25 – July 07, 2018, 07:17:09 am The test is on the directory, so it is not a bug per se, but the intended behaviour. We can discuss is there is a more appropriate.The query is indeed a bug.
Re: PHP version reporting incorrectly... Reply #26 – July 07, 2018, 07:44:18 am Quote from: emanuele – July 07, 2018, 07:17:09 amThe test is on the directory, so it is not a bug per se, but the intended behaviour. The issue with this is that on my install ticking the button to remove the install files ( in the final step ) does not remove the install directory, this means it tries to load upgrade.php, which is no longer there as I removed it. If I manually remove the install directory all is well. I don't think this is user friendly.