Hi guys,
I have older version of Piwigo 2.1.0 and I can't get to my admin panel because it pushes page to upgrade.php
How do I disable this request?
I tried to disable it in include/common.inc.php
if (!$conf['check_upgrade_feed'])
{
if (!isset($conf['piwigo_db_version']) or $conf['piwigo_db_version'] != get_branch_from_version(PHPWG_VERSION))
{
redirect(get_root_url().'upgrade.php');
}
}
but it shows many errors after it.
The second issue is that I tried to reset the password via phpmyadmin and setting it manually
1) set pass 2) select md5 3) hit save - result > "Invalid password!" message.
I read other topics, but didn't find solution.
Thank you in advance for your help.
Last edited by developer (2016-10-24 11:15:58)
Offline
Hello
developer wrote:
I can't get to my admin panel because it pushes page to upgrade.php
it means that you actually did an update so the database has to be upgrade to the version corresponding to the one of files
Offline
hm... if so, then script wouldn't push me to update.php over and over again.
Is there a way to turn it off?
Offline
flop25 wrote:
Hello
it means that you actually did an update so the database has to be upgrade to the version corresponding to the one of files
I definitely (100%) didn't do any update to the files.
Offline
well I don't know you did or did not
And since we are only fixing security flaws in the branches 2.5 2.6 2.7 and 2.8, I will only help you to update in one of these branches
Offline
any way to turn off this script that pushing the update.php?
Offline
you already did it and experienced the consequences of having version(db)!=version(files)
Offline
replied via gmail/email.
Offline
sorry I'm back
To see if that's doable could you first tell us what are the plugins and themes you are using ; you can still see them in /plugins/ but you probably didn't enabled all.
What was the problem which kept you in that so old version if you can remember? an incompatible extension? That's what I'm the most afraid of (because I may can't do much about)
Offline