I installed Serendipity a couple of days ago and it was fine. After some uploads today I find I can no longer log in. Instead of connecting to .../serendipity/index.php I find I am at .../serendipity/serendipity_admin.php and I am restarting the installation process again.
What should I do? Reinstall everthing and lose my entries??
Suddenly find myself back at installation page
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
Suddenly find myself back at installation page
Anthony Campbell
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Suddenly find myself back at installation page
Hi!
This can actually only happen if hte "serendipity_config_local.inc.php" file is missing or not readable for the webserver.
This file tells s9y that it is installed and holds the credentials to connect to the database. Is it in place?
If not, you could easily create it manually. The file looks like this:
HTH,
Garvin
This can actually only happen if hte "serendipity_config_local.inc.php" file is missing or not readable for the webserver.
This file tells s9y that it is installed and holds the credentials to connect to the database. Is it in place?
If not, you could easily create it manually. The file looks like this:
Code: Select all
<?php
/*
Serendipity configuration file
Written on Thu, 07 Apr 2005 16:03:58 +0200
*/
$serendipity['versionInstalled'] = '0.8-beta6';
$serendipity['dbName'] = 'serendipity';
$serendipity['dbPrefix'] = 'serendipity_MERGE_';
$serendipity['dbHost'] = 'localhost';
$serendipity['dbUser'] = 'root';
$serendipity['dbPass'] = 'password';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
// End of Serendipity configuration file
// You can place your own special variables after here:
?>
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/
# 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/
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
I made this file but something is still wrong. I get error
messages:
Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: YES) in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 251
Warning: mysql_select_db(): Access denied for user: 'www-data@localhost' (Using password: NO) in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 252
Warning: mysql_select_db(): A link to the server could not be established in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 252
DATABASE_ERROR
messages:
Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: YES) in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 251
Warning: mysql_select_db(): Access denied for user: 'www-data@localhost' (Using password: NO) in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 252
Warning: mysql_select_db(): A link to the server could not be established in /users/a/acampbell/website/serendipity/include/db/mysql.inc.php on line 252
DATABASE_ERROR
Anthony Campbell
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
This means that you've entered the wrong password information in that file! You need to replace the ones I told you with your actual credentials to the database.
Best regards,
Garvin
This means that you've entered the wrong password information in that file! You need to replace the ones I told you with your actual credentials to the database.
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/
# 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/
-
- Regular
- Posts: 138
- Joined: Fri Jun 09, 2006 8:59 pm
- Location: London, UK
- Contact:
Yes, completely silly of me. But still I couldn't get things working right- probably other files had got corrupted. So I just reinstalled Serendipity from scratch, which didn't take long, and I'm back in business because the database was OK.
Thanks for your help here -much appreciated.
Thanks for your help here -much appreciated.
Anthony Campbell