Login quit working

Having trouble installing serendipity?
Post Reply
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Login quit working

Post by Lorel »

Hi, I recently upgraded to a newer version of Serendipity (5.3.4) and once I logged out then I couldn't get back in. I printed out the page with all the login info within serendipity and also printed out the config_local.inc.php file with login info and none of those variations work. Can you tell me how to get the password? I read other posts with similar problems but I'm not a programmer so they weren't much help. I did try using another browser.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Login quit working

Post by Timbalu »

You did an upgrade from ??? to 1.5.5? Php Version? MySql version?

If its only the the "can't login" problem, try with
http://board.s9y.org/viewtopic.php?f=1& ... #p10425456
and follow links.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Re: Login quit working

Post by Lorel »

I don't rememberwhat it was but it was several years old and is now "Powered by Serendipity 1.5.5 and PHP 5.3.4".

I went to this page you recommended.
http://board.s9y.org/viewtopic.php?f=1& ... #p10425053
Copy pasted the code into a doc and changed the User and Password (to what it used to be) and named it fixlogin.php and saved to the serendipity folder. Then tried to log in on two different browsers and it didn't work. I also emptied the cache on the browsers.

I don't understand what I'm supposed to do with the code on this page:
http://board.s9y.org/viewtopic.php?f=3& ... #p10424763
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Login quit working

Post by Timbalu »

Yes, and did you execute http:// yourblog.tld/fixlogin.php in your browser?

The second script is a just an information and test script for user/passwords needed to hook up to use hash.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Re: Login quit working

Post by Lorel »

I'm not sure what you mean by Execute http:// yourblog.tld/fixlogin.php in your browser?

Can you explain or provide a link?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Login quit working

Post by Timbalu »

Load the correct file path to fixlogin.php into your browser.
If it gets executed, you will get the information: Password changed.
Then you can try to log in with the new settings.
Don't forget to erase the fixlogin file after all has proceded successfully.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Re: Login quit working

Post by Lorel »

I linked to the fixlogin.php file like this:
http://www.THE DOMAINN.net/BLOG NAME GOES HERE/fixlogin.php

and it brought up this message (I changed PW and user when posting this message):

UPDATE serendipity_authors SET password = '1629dd161f', hashtype=1 WHERE username = 'username'
/ Unknown column 'hashtype' in 'field list'Password changed.

I then entered the user name and Password and it didn't work.

Can you tell from the message above what is wrong?

BTW, I haven't been getting messages when I receive a reply and then I forget about this thread as I have multiple other irons in the fire. My email is set up on my account and I don't see anything wrong with the settings.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Login quit working

Post by Timbalu »

It looks like your Serendipity update did not proceed well, since you havent got the hashtype field.
Maybe Garvin does know a better answer, but I would set back serendipty version in your serendipity_config_local.inc.php to your previous version and run the update procedure again.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Re: Login quit working

Post by Lorel »

I reinstalled Serendipity. It was version 1.4.1 so it didn't take last time . It is now 1.5.5 -- I checked the serendipity_config_local.inc.php file to make sure. The fixlogin.php file has the right password and user but I still can't login. I linked to the fixlogin.php page and it gives the correct username and other data like I mentioned above.

any more suggestions?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Login quit working

Post by Timbalu »

Sorry for the delay... summer sun & lazyness

Did you get any errors with fixlogin, like the one you had before?
Did you try this one too to check for given and expected user/pass?
http://board.s9y.org/viewtopic.php?f=3& ... #p10424763

Were there any database sql updates running when upgrading to 1.5.5?
How did you do the reinstall? Like:
  • - check if the sql/ subdirectory contains all the .sql files that come with s9y 1.5.5,
    - edit your serendipity_config_local.inc.php and set versionInstalled to "1.4.1" again,
    - go to the admin area and confirm the upgrader ("Yes, perform updates")
Normally this is a oneclick experience, without any bad relicts. If you still cannot login, try the fixlogin script again.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Lorel
Regular
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Re: Login quit working

Post by Lorel »

Here is the message I get with fixlogin.php (I changed the username and password).

UPDATE serendipity_authors SET password = '########', hashtype=1 WHERE username = '######'
/ Unknown column 'hashtype' in 'field list'Password changed.

I'm not a programmer so I don't understand what else you wrote.

Is there any change someone on the staff of serendipity could fix this installation?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Login quit working

Post by garvinhicking »

Hi!

That means you didn't properly upgrade s9y. Do what timbalu said:

Code: Select all

- check if the sql/ subdirectory contains all the .sql files that come with s9y 1.5.5,
- edit your serendipity_config_local.inc.php and set versionInstalled to "1.4.1" again,
- go to the admin area and confirm the upgrader ("Yes, perform updates")
I can try to fix the installation for you, if you'd like that, send me a PM with your FTP or SSH login nformation so that I can access the files.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply