If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Can someone please help  XML
Forum Index » Support Forum
Author Message
odpifounder
Newbie

Joined: 26/03/2005 07:27:55
Messages: 1
Offline

I have a website that I purchased through LinkSky. I downloaded the Advanced Poll from fantastico that comes with my website.

But I am lost as I do not know how to get this poll onto my website. No I do not know PhP sorry. But can someone please help me explain to me in layman terms how to do it. Also I do not understand what I am supposed to change according to the Read Me file.

Also I keep getting this error message when I go the url http://myURL.com/polls



Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /home/vaghost/public_html/polls/include/class_mysql.php on line 32
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 1045 Access denied for user: 'root@localhost' (Using password: NO)
Date : Sat, March 26, 2005 00:49:06
IP : 205.188.116.69
Browser : Mozilla/4.0 (compatible; MSIE 6.0; AOL 9.0; Windows NT 5.1; .NET CLR 1.1.4322)
Referer : http://virginiaparanormal.com/polls/
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 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Server Name : www.virginiaparanormal.com
Script Name : /polls/demo_1.php



What the heck am I doing wrong? Thanks a bunch in advane to anyone that can explain to me how to get the polls working on my website.
[Email]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Practically everyone installing from Fantastico has issues. Suggest downloading the program from this site and installing it yourself.

Auron has written instructions which can be found on this site using the search feature. A search will also provide answers to many other questions. The readme file may also offer a little help.

There are two versions of the poll program - one using a database and another using flatfile. It appears you are using the database version, in which case, the program needs to have access to your database.

The error message says "Using password: NO". The password for your database has not been supplied. In the file include/config.inc.php, you need to record your database info (database name, username and user password):


Once it is set up correctly, you can go to the Administration Panel and log in. In the help section it will give you the code to place on your page.
neicul
Beginner

Joined: 29/03/2005 00:06:14
Messages: 12
Offline

Does the dbName have to be something spacific or something of my choice. Also, what is the local host. I put in www.starlogic.com because that is where I access my site admin, but it does not work. Does anyone have any idea what I could be doing wrong?
[WWW]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

You must first create a database. This is usually done from CPanel, MySql - but in some cases the host must create the database.

Some hosts require you to use an identifying prefix which is usually your user login. So, if you create a database called "polls", and your username is "Jones", your database name would be "Jones_polls". At the time the database is created, an authorized user is also assigned, with a password. The username may also need to use the prefix. In naming the database, you need to take into consideration what it will be used for. If you are only allowed one database which will be used for everything, it wouldn't make sense to name it "polls".

You need to find out from your host what the proper procedure is for setting up your database and how many databases you are allowed.

As stated, In the file include/config.inc.php, you need to record your database info (database name, username and user password). I have never found it necessary to change localhost. I am non-technical, but it sounds like it is referring to the server the page is on. I think you should leave localhost as it was.
neicul
Beginner

Joined: 29/03/2005 00:06:14
Messages: 12
Offline

WOW, that was so simple. Thanks for the help. You don't know how happy I am to have learned something new.
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum