I got the same problem after I updated my Advance guestbook to Advanced Guestbook 2.3.1,
I only get "You can't access this file directly..." when I try to open the Guestbook.
And I`ve tryde for example to write www.yuja.org/guestbook/admin.php
I get this:
Warning: mysql_connect(): Access denied for user: 'yujaor00_agbook@localhost' (Using password: YES) in /home/yujaor00/public_html/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------
MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'yujaor00_agbook@localhost' (Using password: YES)
Date : Fri, September 24, 2004 08:37:27
IP : 195.159.184.147
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Referer :
PHP Version : 4.3.8
OS : Linux
Server : Apache/1.3.31 (Unix) mod_throttle/3.1.2 mod_jk2/2.0.0 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.8 FrontPage/5.0.2.2634a mod_ssl/2.8.19 OpenSSL/0.9.7a
Server Name : www.yuja.org
24/09/2004 09:19:57
Subject:
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
The error is saying you have the wrong info for the database in the admin/config.inc.php file. Either wrong username, password or both.
24/09/2004 09:32:30
Subject:
Anonymous
Yes I could see that too now. The reason are that I have manage to overwrite the database with a new one . I soo stupid. But I learn
But thanks for the help
24/09/2004 18:46:36
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
Anonymous wrote:I soo stupid. But I learn
No stupid is when you don't learn from your mistakes. It takes intelligence to admit you were wrong.
Carbonize I am not the maker of the Advanced Guestbook