Page 1 of 1

How to reset to installation state

Posted: Sat Sep 10, 2005 2:56 pm
by TomTom
hi,

some changes in the configuration (like setting the blog title to text with special characters like Ö) lead to a db-connect error in line 149 of include/db/mysql.inc.php so that i can't access the settings anymore.
even a change in the database back to the old title can't undo that.

how can that be?

so i was looking for a folder that could be overwritten to set back the blog to it's installation state. i overwrote one after the other but when i had all through the error message still was there.

then i deleted ALL the files in the Blog folder and loaded up ALL again. Then it worked and I could do the basics settings again and access the blog.

so my question is, which files have to be replaced to reset the configuration to it's first state so that i don't have to replace all the files again and again?

thx :)

The error message...

Posted: Sun Sep 11, 2005 4:25 am
by TomTom
That's the exact error message i've received for serveral changes to the configs without any chance to access the configs nor the blog itself.

Warning: mysql_connect(): Access denied for user: 'web4@localhost' (Using password: YES) in /srv/www/htdocs/web4/html/kernoelamazonen/KernoelNews/include/db/mysql.inc.php on line 149
DATABASE_ERROR

Re: The error message...

Posted: Sun Sep 11, 2005 4:59 am
by Guest
As it seems there r some hidden files i just can't see and overwrite.

What is a good FTP-Editor which shows this copy of .htaccess?

Re: The error message...

Posted: Mon Sep 12, 2005 4:36 pm
by garvinhicking
The only files that are created are:

.htaccess
serendipity_config_local.inc.php

However the DB connect error you get above can only happen if:

1. The username/password is wrong
2. The server is not accessible/down
3. You have no privileges to the MySQL server (some servers only allow localhost connections!)

So all those three errors are unrelated to s9y, and they shouldn'T be able to happen because changing a blog title. It can only happen that you accidently changed the password as well. Some mozilla extensions are known to fuck up form fields, like the "Autosave form" extension.

A good FTP editor is SmartFTP.com

Regards,
Garvin