How to reset to installation state

Having trouble installing serendipity?
Post Reply
TomTom

How to reset to installation state

Post 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 :)
TomTom

The error message...

Post 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
Guest

Re: The error message...

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: The error message...

Post 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
# 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