The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Installation Login quit working

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

Postby Lorel » Thu Jun 23, 2011 6:16 pm

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.

User avatar
Timbalu
Regular
 
Posts: 2570
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Thu Jun 23, 2011 6:56 pm

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

If its only the the "can't login" problem, try with
viewtopic.php?f=1&t=17796&p=10425485#p10425456
and follow links.
Regards,
Ian

Lorel
Regular
 
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Postby Lorel » Fri Jun 24, 2011 4:47 pm

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.
viewtopic.php?f=1&t=17712&p=10425053#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:
viewtopic.php?f=3&t=17697&p=10424763#p10424763

User avatar
Timbalu
Regular
 
Posts: 2570
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Fri Jun 24, 2011 4:55 pm

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

Lorel
Regular
 
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Postby Lorel » Mon Jun 27, 2011 3:28 pm

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

Can you explain or provide a link?

User avatar
Timbalu
Regular
 
Posts: 2570
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Mon Jun 27, 2011 7:19 pm

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

Lorel
Regular
 
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Postby Lorel » Thu Jul 07, 2011 5:56 pm

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.

User avatar
Timbalu
Regular
 
Posts: 2570
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Thu Jul 07, 2011 6:33 pm

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

Lorel
Regular
 
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Postby Lorel » Mon Aug 01, 2011 7:06 pm

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?

User avatar
Timbalu
Regular
 
Posts: 2570
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Mon Aug 08, 2011 9:43 am

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?
viewtopic.php?f=3&t=17697&p=10424763#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

Lorel
Regular
 
Posts: 17
Joined: Thu Apr 21, 2011 8:08 pm

Postby Lorel » Mon Aug 22, 2011 7:42 pm

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?

User avatar
garvinhicking
Core Developer
 
Posts: 28954
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Mon Aug 22, 2011 7:48 pm

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/



Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest