Hi, I just installed version 1.1.5 and I'm unable to login, error occurs: "Your session timed out while posting. Please go back and try again."
PHP Version 7.1
Is there a list of required PHP extensions? Thanks.
Do try clearing site cache and cookies.
Assuming you mean my browser, I cleared it and still have the warning. I even deleted the session values in the db table "_sessions" and reloaded the login page, that didn't help either. BTW, this is a fresh install on a new domain.
Also,the registration feature fails to advance passed the registration agreement.
I'd upgrade to the latest 1.0.10 branch and check if that works on 7.2, I honestly don't remember if there are any deal breaking issues with 7.2 with that release.
The reason I suggest 1.0.10 is that moving to the 1.1.x branch, while recommended, will take some time to migrate your theme to that version, old themes are generally not drop in compatible. So if 1.0.10 works on 7.2 that will buy you the time needed for you to get your site converted to 1.1.x
Yes most of the addons you are using have been updated for 1.1, so that is good, the main work will be with the theme
The errors that I could see on that screen shot were all depreciated warnings, they will certainty fill up your log but should not prevent the code from running (and we can suppress them to help)
1.0 does work with php 7.2 though minor fix may be required to remove all create_function errors. I am not sure if there are errors other than that.
Good to know :D ... we can provide some easy patches for those (and they should already exist in the 1.1 line anyway, so copy paste!)
So the advice is to revert to 1.0?
1.1 is where you "want" to be ... my recommendation was solely to not force you to get your theme converted in the next 30 days or whatever timeline your ISP gave you. I was just trying to buy you some time ;)
@Spuds I think
@Atlas just installed 1.1 fresh. :)
I changed my PHP to 7.2 and tried again to install Elkarte 1.1, same errors.
@Atlas now I'm a little confused.
Can you please help me understand where you are now?
If I understand correctly, Elk 1.1.x and php 7.2 does not work.
What about ElkArte 1.1.5 and php 7.1, does it work or not?
Yes, sorry, Fresh install of ElkArte 1.1.5 with 7.1 and 7.2, neither attempt worked. I was checking the other threads here... is there an issue with the https setting? Because I've configured my server to only allow https, that might be an issue.
Also, this site is new, aside from forcing https, I haven't done much configuring, there are many PHP extensions not installed. Is there a list of the required extensions?
Wow, I have that feature activated as well. Could that be the common issue that mucks up our forums?
I just successfully installed v1.1.5, "manually". My previous attempted installs were through my CPanel.
eh, i spoke too soon. I successfully installed v1.1.5 offline, but still having the same error installing the live (online) copy. I guess my next step will be to compare PHP modules between my online/offline servers.
well, i enabled all PHP 7.2 extensions, and still have the error. Aside from the extensions, the differences between my online and offline servers are:
online: PHP 7.2.12, uses https - gets session error.
offline: PHP 7.2.10RC1, uses http, no session error.
..btw, "browser history" can't be the issue. I've tested it with multiple browsers, multiple devices, same issue in all.
To be clear, I'm getting the error when i attempt to login as admin after installation. Also when I change browsers and attempt to register a new account I'm unable to get passed the agreement page.
Okay, I split the topic because I was getting way too confused as to who was having which problem.
Next time you have a similar issue, please create your own topic and reference the other one, otherwise mixing two issues from two different forums that are using two different versions is way too confusing.
Please via phpmyadmin (or any other tool you prefer), check if you have something in the table elkarte_log_errors.
Also i tried deleting rows in the "elkarte_sessions" table before attempting admin login again, that didn't help either.
More info. I exported the SQL for my offline (successful) copy, edited the paths for the online copy and overwrote the online SQL with the edited version. That didn't help either.
Could you please try with javascript disabled? It shouldn't be, but let's try that one as well.
That didn't help either. Sending another link to you via PM. Thanks for your help.
You are using a redirect to hide the index.php and this is the thing messing with sessions.
No wonder...
Confirmed issue. We can mark this one resolved.
thanks again