|
MySQL Error with Intergration
|
|
11-Jan-2011, 10:36 PM
Post: #1
|
|||
|
|||
|
MySQL Error with Intergration
I've been playing around with Commentics today and really like it. Unfortunately, when I try to integrate it on my website I'm receiving the error message:
/var/www/vhosts/dosmuseum.com/httpdocs/include/db.php line 234: mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) The Commentics app works even though this error exists -- I can post and view comments. Obviously db.php is not part of Commentics - it's part of ResourceSpace (the app I use to run my website), so whatever Commentics is doing - something in it seems to be getting sent over to db.php incorrectly. [Maybe a MySQL command is named the same in both apps so it's being sent to both?] Any ideas on how to fix this? Is there some code I could add to the Commentics portion that will keep it separate from the other processes? ---- Edit: Solved? -- I moved the location of the code down a few lines so it was out of some brackets and the error is gone. |
|||
|
12-Sep-2011, 07:08 AM
Post: #2
|
|||
|
|||
|
RE: MySQL Error with Intergration
This is "MySQL link identifier",connection_ID Truble.
please add . "MySQL link identifier" http://jp.php.net/manual/en/function.mysql-connect.php Ex. your Mysql_DB_system , in httpdocs/include/db.php $mysql_id = mysql_connect($.......); httpdocs/include/db.php line 234: mysql_query() Ex. mysql_query(Select.....,$mysql_id); ----------------------------- Sorry...I am not good at English. ----------------------------- |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Error in Smarty compiler in cms | CommiC | 5 | 673 |
13-Aug-2012 10:16 PM Last Post: CommiC |
|
| Same comment on different pages throws error | odie2828 | 1 | 302 |
28-Jun-2012 07:17 PM Last Post: Steven |
|
| "Failed opening required" error - cgi-bin problems? | Cerebus | 5 | 1,019 |
24-Jun-2012 07:04 AM Last Post: Cerebus |
|
| Database error upon integration | angeljs | 7 | 601 |
21-May-2012 02:58 PM Last Post: angeljs |
|
| To Bypass Database Connection Error | iwede | 2 | 351 |
07-Jan-2012 06:29 PM Last Post: iwede |
|
| I am getting 2 error messages? | wimmer31 | 6 | 702 |
21-Jul-2011 07:03 PM Last Post: wimmer31 |
|
| i'm getting this error | myrondiasgoa | 1 | 367 |
15-Jul-2011 02:11 PM Last Post: Steven |
|
| Error integrating commentics in my page | Enrik | 6 | 1,997 |
26-Apr-2011 06:06 PM Last Post: Steven |
|
| Page not found error | vikaskukreja83 | 10 | 1,562 |
11-Apr-2011 02:07 PM Last Post: vikaskukreja83 |
|
| error when testing example.php | chrislas | 15 | 3,094 |
22-Sep-2010 01:27 PM Last Post: Steven |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




