Page 1 of 1

config_local problem

Posted: Wed Jul 26, 2006 12:26 am
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?

Re: config_local problem

Posted: Wed Jul 26, 2006 1:04 pm
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

Posted: Sun Aug 13, 2006 7:56 pm
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

Posted: Mon Aug 14, 2006 6:51 pm
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

Posted: Mon Aug 14, 2006 9:48 pm
by Tsurotu
d'oh.

thanks.

all sorted...


:oops: