laeresh
Member
Posts: 69
Joined: Sep 2009
Reputation: 1
MyBux: 26
|
User guestbook problem
For some reason it does not insert the message into the DB.
I get this error on the page where it says "Comment added" and because it refreshes quickly it's hard for me to take a screen.
Here is the error though.
Code:
The following warnings occurred:
Warning [2] mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) - Line: 27 - File: gb.php PHP 5.3.2 (Linux)
File Line Function
[PHP] errorHandler->error
/gb.php 27 mysql_real_escape_string
Warning [2] mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established - Line: 27 - File: gb.php PHP 5.3.2 (Linux)
File Line Function
[PHP] errorHandler->error
/gb.php 27 mysql_real_escape_string
The weird thing is, is that it indicates for an error when connecting to the sql with the wrong username and pass, but i don't see the problem here because it uses the config connection right ?
Hope anyone can help me out, best regards, Robin.
Your port towards an anime mad filled community, why not join us today ? It's free and easy !
|
|
| 04-27-2010 11:32 PM |
|
Nickman
Manager
Posts: 2,304
Joined: May 2008
Reputation: 45
MyBux: 31540
|
RE: User guestbook problem
You probably don't use MySQL as your database type right?
|
|
| 04-29-2010 12:35 AM |
|
laeresh
Member
Posts: 69
Joined: Sep 2009
Reputation: 1
MyBux: 26
|
RE: User guestbook problem
I use MySQLi since i heard it's faster.
( Haven't had any problems before, database seems the same, only performance issues vary ).
I did read somewhere MySQLi had some different functions, but i never thought it could pose a problem.
Perhaps a little naggy but if you are going to fix this, could you please give a little comment about what you did, then i could solve this and similar issues in the future by myself, and i'd also learn from it that way ^^.
Your port towards an anime mad filled community, why not join us today ? It's free and easy !
|
|
| 04-29-2010 01:43 AM |
|
Disturbed
Junior Member
Posts: 14
Joined: Feb 2010
Reputation: 0
MyBux: 0
|
|
| 04-30-2010 12:49 AM |
|
laeresh
Member
Posts: 69
Joined: Sep 2009
Reputation: 1
MyBux: 26
|
RE: User guestbook problem
Can you provide it please ?
For i do not know what the mybb escape syntax is.
Your port towards an anime mad filled community, why not join us today ? It's free and easy !
|
|
| 04-30-2010 02:03 AM |
|
coder
Junior Member
Posts: 24
Joined: Apr 2010
Reputation: 0
MyBux: 0
|
RE: User guestbook problem
Im just about to install this , is there problems with it ?
|
|
| 04-30-2010 11:34 PM |
|
laeresh
Member
Posts: 69
Joined: Sep 2009
Reputation: 1
MyBux: 26
|
RE: User guestbook problem
If you use anything other than MySQL, yes.
Your port towards an anime mad filled community, why not join us today ? It's free and easy !
|
|
| 05-01-2010 01:17 AM |
|
laeresh
Member
Posts: 69
Joined: Sep 2009
Reputation: 1
MyBux: 26
|
RE: User guestbook problem
Anyone ?
Your port towards an anime mad filled community, why not join us today ? It's free and easy !
|
|
| 05-02-2010 07:17 PM |
|