Link to blog isn't working

Having trouble installing serendipity?
User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Link to blog isn't working

Post by Timbalu » Wed May 25, 2011 9:57 am

Does this mean you cannot find http: yourBlog /path /serendipity_admin.php?
Or can't you login any more? And the system does not accept your password? Any errors?

Look into http://board.s9y.org/viewtopic.php?f=3& ... #p10424763
or
Add a temporary file "fixlogin.php" with:

Code: Select all

<?php
    $username = "usernameold";
    $password = "newpwset";
    include 'serendipity_config.inc.php';
    echo serendipity_db_query("UPDATE {$serendipity['dbPrefix']}authors SET password = '" . serendipity_hash($password) . "', hashtype=1 WHERE username = '" . serendipity_db_escape_string($username) . "'");
    echo "Password changed.";
?>
and call it via http://yourblog/fixlogin.php. Do not forget to change $username and $password to your own setting.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

Post Reply