After upgrade to 2.02 and PHP 5.6 No login possible
Posted: Thu Oct 15, 2015 7:45 pm
Hi friends
Since 2009 I am using Serendipity (V 1.4.1) and PHP4. Now I upgraded my website to 2.02 and the PHP Version using (at webhoster 1&1 in Germany) is 5.6 now. Yesterday I updated as described in the helpfiles and the forum here. Everything went easy, but when I wanted to log in it did not work. So I made a fixlogin.php file like this:
It executes without errors. But it does not help in any case.
What is going wrong? All versions seem to be OK, the database seems to be updated. Most of the site is well visible. I may have forgot to update some of the plugins before I have started. Some are there some not.
Any help would be appreciated.
Greetings Christoph
BTW: I read everything here up and down, but I did not find a solution ...
Since 2009 I am using Serendipity (V 1.4.1) and PHP4. Now I upgraded my website to 2.02 and the PHP Version using (at webhoster 1&1 in Germany) is 5.6 now. Yesterday I updated as described in the helpfiles and the forum here. Everything went easy, but when I wanted to log in it did not work. So I made a fixlogin.php file like this:
Code: Select all
<?php
$username = 'aaaaaaa';
$password = "XXXX66yyyy";
include 'serendipity_config.inc.php';
echo serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET password = '" . serendipity_hash($password) . "' WHERE username = '" . $username . "'");
echo "Password changed.";
?>
What is going wrong? All versions seem to be OK, the database seems to be updated. Most of the site is well visible. I may have forgot to update some of the plugins before I have started. Some are there some not.
Any help would be appreciated.
Greetings Christoph
BTW: I read everything here up and down, but I did not find a solution ...