Advanced Poll 2.03
-
Has anyone successfully embedded a poll from Advanced Poll 2.03 in their sidebar? When I attempt to embed a poll in my sidebar, the MySQL connection breaks for some reason. When I create a PHP page by itself it does not. Anyone have any ideas where to start?
This is the code I’m trying to embed in my sidebar:
<?php
// Important! You have to include it before your html code
include_once “/home/willtoex/public_html/polls/poll_cookie.php”;
?><html>
<body>
<?php
include_once “/home/willtoex/public_html/polls/booth.php”;
echo $php_poll->poll_process(4);
?>
</body>
</html>The error message is:
Warning: mysql_connect(): Access denied for user: ‘willtoex@localhost’ (Using password: NO) in
MySQL Error : Connection Error
Error Number: 0
Date : Mon, May 23, 2005 13:16:09
IP : 65.82.xxx.xxx
Browser : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Referer : https://willtoexist.com/wp-admin/theme-editor.php?file=wp-content/themes/modified-elegance/style.css&theme=Modified+Elegance&a=te
PHP Version : 4.3.10
OS : Linux
Server : Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
Server Name : https://www.willtoexist.com
Script Name : /index.phpAny tips would be appreciated.
- The topic ‘Advanced Poll 2.03’ is closed to new replies.