config_local problem

Found a bug? Tell us!!
Post Reply
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

config_local problem

Post by Tsurotu »

I couldnt log in, it was looping 'You appear to have entered an invalid username or password' over and over. after trawling the forums I tried my config_local.

when trying to access my serendipity_config_local.inc.php

it is returning

File Type: executable, can't read `serendipity_config_local.inc.php' (Permission denied).

Which means I cant log in.

Recently I was under some heavy comment spamming which meant I had to suspend the account that the blog was under in WHM.

I can't get into this file and don't know what it should contain, other than the DB information.

Can you supply me with a template for creating a new one?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: config_local problem

Post by garvinhicking »

Hi!

The serendipity_config_local.inc.php file is ususually only readable for your webserver. check the FAQ on www.s9y.org to read about the "fixperm.php" way to edit that.

HOWEVER, this is not your problem! It is more likely that your username or password is wrong. Use phpMyADmin or a tool similar to check your serendipity_authors DB table. Ther eyou can reset your password!

Best regards,
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/
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

Post by Tsurotu »

no you're right, it wasn't my problem...

but editing my DB didnt help either, after creating user:

Code: Select all

admin	admin	admin	3	1	1    255	1
(using the DB columns) i still can't log in:
You appear to have entered an invalid username or password
still
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

if you insert the user staright into the database, you need to store the password as a MD5() hash!

Best regards,
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/
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

Post by Tsurotu »

d'oh.

thanks.

all sorted...


:oops:
Post Reply