Author |
Message |
06/10/2003 08:08:27
|
Robert
Beginner
Joined: 06/10/2003 07:25:36
Messages: 5
Location: Tennesee
Offline
|
Hi!
I have installed and run the code now for about a week. I have things working on my home page and a special polls page with all polls listed. For some reason when I click on the comments link, it opens the windows but the browser shows and error (like the page cant be found).
Im sure its something simple. Any Idea's?
Thanks!
|
|
06/10/2003 08:42:42
|
Robert
Beginner
Joined: 06/10/2003 07:25:36
Messages: 5
Location: Tennesee
Offline
|
My configuration for the base url included polldata and should not have. Now all functions are working as they are supposed to.
|
|
07/12/2003 22:22:57
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
Could you be more specific in how you solved your problem? I am getting the page not found error when hitting the comment button too.
thanks
C
|
|
07/12/2003 22:33:55
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
I think you need to make sure your poll path is set correctly or fully.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
07/12/2003 22:49:21
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
Thank you
which file is the poll path in?? I have installed this via cPanel that came with my hosting package.. most of the installation was done with a click of a button.
C
|
|
07/12/2003 22:52:51
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
k, its in include/config.inc.php
The line you want is this one, #2/3...
Hope that helps,
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
07/12/2003 23:03:58
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
no wonder it don't work.. I don't have that line in include/config.inc.php
I have:
(I'm paranoid..I changed the real domain to "domain")
<?php
/**
*
* MySQL -> class_mysql.php
* PostgreSQL -> class_pgsql.php
*
*/
$POLLDB['dbName'] = 'domain_book1';
$POLLDB['host'] = 'localhost';
$POLLDB['user'] = 'domain_book1';
$POLLDB['pass'] = 'xxxxxxxxxx';
$POLLDB["class"] = "class_mysql.php";
/* tables */
$POLLTBL["poll_config"] = "poll_config";
$POLLTBL["poll_index"] = "poll_index";
$POLLTBL["poll_data"] = "poll_data";
$POLLTBL["poll_ip"] = "poll_ip";
$POLLTBL["poll_log"] = "poll_log";
$POLLTBL["poll_comment"] = "poll_comment";
$POLLTBL["poll_user"] = "poll_user";
$POLLTBL["poll_tpl"] = "poll_templates";
$POLLTBL["poll_tplset"] = "poll_templateset";
?>
and that is ALL that is in that file
|
|
07/12/2003 23:09:34
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
So your using the MySQL version then?
Then you'll need to use phpMyAdmin and find table poll_conifg and then
the field base_url and edit that to the correct path.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
07/12/2003 23:18:48
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
well crap..you just lost me..I don't see WHERE I edit it..
I assume hit "change" next to base_url??
and when I do that I have the pick of 7 fields to change..none of them look like anything I need and they all look like something to break if I touch them..
this mySQL thing is like Greek to me...if it's set up automatically..why did it put the wrong path???
thanks for your help
C
|
|
07/12/2003 23:28:21
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
If you've got cPanel then it has phpMyAdmin correct?
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
07/12/2003 23:34:03
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
I see the file you are talking about..but have no idea how to change it..I have a feeling that it's ok..why would cPanel set everything else up right..but not the comment button???
|
|
08/12/2003 00:06:17
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
its not the button its the path if it is not the FULL path to the poll directory
it won't work.
Eg...
www.yourdomain.com/data/poll
that path would be /data/poll
even if the page the poll was on was...
www.yourdomain.com/data/poll.php
you couldn't get away with
this path /poll
you'd have to put /data/poll
You see?
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
08/12/2003 00:27:33
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
I completely understand what you are saying..I just don't know WHERE To change this information...
under general settings it says:
URL to poll directory and then in the box (that was auto configured)..it says
/pollphp
is this what I change???? (guess not..just tried it and it still doesn't work)
and why does the rest of the script work if this is wrong? (not trying to be argumentive..I'm learning...I learn by bugging the hell out of people with lots of questions :o))
thanks
C
|
|
08/12/2003 00:29:37
|
cherieb213
Beginner
Joined: 07/12/2003 21:30:30
Messages: 9
Location: Lakeland, Florida
Offline
|
duh..am I dense or what?
it was not /pollphp but /poll
now the comments work! yipee
thanks..on to my next question (different thread)
thanks a million!!!
C
|
|
08/12/2003 00:33:34
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
np, good job!
got there in the end lol
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
|