Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
|
Hi!
I have installed A. Poll 2.02 and it works. I have included it on my (non frame) site on the right. When I include the folowing code in the content area to display the comments - i get error messages. He displays the commets but on the place where the poll generally is i get error messages.
CODE from "demo_2.php":
<?php
/* path */
$poll_path = "/kunden/pixelgenie.de/webseiten/pd2/data/vote";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new pollcomment();
/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
echo $php_poll->view_poll_result(1);
/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(1);
echo $php_poll->get_comment_pages(1);
?>
Error Message:
Warning: Access denied for user: 'db19123@localhost' (Using password: YES) in /kunden/pixelgenie.de/webseiten/pd2/data/poll6/config.inc.php on line 94
Warning: MySQL Connection Failed: Access denied for user: 'db19123@localhost' (Using password: YES) in /kunden/pixelgenie.de/webseiten/pd2/data/poll6/config.inc.php on line 94
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /kunden/pixelgenie.de/webseiten/pd2/data/poll6/config.inc.php on line 95
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /kunden/pixelgenie.de/webseiten/pd2/data/poll6/poll.php on line 11
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /kunden/pixelgenie.de/webseiten/pd2/data/poll6/poll.php on line 12
Maybe you can help me?
|
|
|
|
|
|
Based on the open source JForum
|