[SOLVED] "Your database is out of date, please make sure to upgrade" rapidly showing, then logout

Hi,
I’m ugrading my local test phpList 3.3.3 to 3.3.5.

I copied the files and replaced config.php with the 3.3.3 version and tried to login as admin.
I entered my valid admin userid and password and clicked continue.
I noticed something red flashing and then the control was returned back to the login page.

I used my Eclipse PHP debugger to find out what’s happening.
The message below is displayed:
Error: Your database is out of date, please make sure to upgrade
Your version : 3.3.3
phpList version : 3.3.5
Upgrade

I don’t know why the system then forces logout.
Obiously, phpList can access my 3.3.3 db.
My php version is 5.6.3.

Any ideas?

Not sure, but I suspect the two things may not be related. Authentication handling didn’t change between these versions. I think it’s more likely that you’re being logged out for some other reason. Something to do with session handling or your webservers redirection configuration?

I had this in my config.php:
@ini_set(‘upload_tmp_dir’,dirname(dirname(FILE)).’/tmp’); if ( @ini_get(‘session.save_handler’) === ‘files’ ) @ini_set(‘session.save_path’,dirname(dirname(FILE)).’/tmp’);

I forgot to create the tmp directory. It’s within the “lists” directory. After creating it, everything is ok.

Can you show an error message, if this kind of thing happens?

Happy to hear that you solved it!

phpList certainly can. Feel like working on that?

@samtuke

phpList certainly can. Feel like working on that?

Sure, just let me know what to do.