Author |
Message |
09/05/2005 18:21:17
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
I'm sorry, but I did the misstake to upgrade AG från 2.3.1. to 2.3.2. by copying the new files onto the old ones. Apperently a file or two too much, because now my guestbook gives an error:
http://www.farbrortorsten.com/gastbok/
I cannot not even reach it from my AG-admin page, the same error occurs. What do I do? I'm getting filled with frustrations and hopelessness here!
|
|
09/05/2005 18:51:01
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You need to edit your config.inc.php file which is in the admin folder. You need to fill in your MySQL details so that it knows which database to connect to and the user details for it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/05/2005 20:51:00
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
I think I know the name on the database, but not the user and host, and I'm not sure what rows in config.inc.php I should change...?
I've tried some things but it does not work. In my control panels database part I have a found a "connection string" containing the namn (including the prefix) of the database and some stuff I dont understand. I really dont understand servers and PHP... What things am I looking for?
|
|
09/05/2005 20:55:35
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Your database name goes in
$GB_DB["dbName"] = "";
This you can probably leave as is
$GB_DB["host"] = "localhost";
his is your username for the database
$GB_DB["user"] = "root";
This is your password for your database
$GB_DB["pass"] = "";
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/05/2005 21:19:32
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
Ok, thanks, so I was at the right place.
Have tried a lot of combinations now, but nothing works.
But it all seems so simple. User namn and db namn am I sure I know and they look to be the same, and the access host seems to be called localhost. Nothing can be wrong, but still it is...
|
|
09/05/2005 21:22:13
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
If you have cPanel check in there for your MySQL details or speak to your host. If you have another script that uses MySQL you will find the details in it's folder somewhere.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/05/2005 21:46:47
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
I've have checked enough in cPanel now, but obviously it didn't help. I'll contact my webhost, but this doesn't look good.
Well, thanks for your time Carbonize!
www.farbrortorsten.com/english/
|
|
09/05/2005 21:47:58
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
If you trust me you can email me your cPanel details and I will get your MySQL details for you.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/05/2005 22:00:19
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
Let's first see what reply my websitehost gives me. Then I'll think it over. My website can live without a guestbook, even though it's fun and gives me some input (mostly nice comments, but some people tells me to go to hell!).
|
|
09/05/2005 22:20:31
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
I don't need a guestbook for people to tell me to go to hell, I get that pretty much everywhere I go.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
10/05/2005 11:25:57
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
Hehe...
Success at last! The password was not the one to the easy admin page for the AG, but the one to the user for my whole site. Since the database is "inside my site" it seems logical... now.
|
/Uncle Thorstein |
|
02/03/2006 12:15:51
|
farbrortorsten
Beginner
Joined: 09/05/2005 18:13:18
Messages: 8
Location: Sweden
Offline
|
But now I have learned that it's not so safe to use the admin user and password to both the sites admin/cpanel login and a database, like the one AG use. It's better to create a separate user and give that the previligies/permissions to the database and input the users username and password in the config.inc-file.
|
/Uncle Thorstein |
|
|