Author |
Message |
15/11/2004 21:20:54
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
This is gonna be hard to explain, but here I go:
My site is located at http://www.mysite.com/mypage/
Advanced Poll has been installed to http://www.mysite.vom/mypage/poll and is working properly.
Here is the problem: When I click on the Vote or View Results buttons from http://www.mysite.com/mypage/index.php, the poll works fine. But when I click on the Vote or View Results buttons from http://www.mysite.com/mypage/ it says "http://www.mysite.com/mypage/mypage could not be found"!!!
The Vote and View Results links are not being generated properly. Is there a way to fix this?
|
|
16/11/2004 00:40:14
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Check the base url setting in the include/config.inc.php file.
If it doesn't help, post again.
|
|
16/11/2004 01:31:14
|
Anonymous
|
Thanks for the reply, amber222.
I do not have those lines in my include/config.inc.php file. Should I add them?
Here is a copy of my current include/config.inc.php file:
<?php
/**
*
* MySQL -> class_mysql.php
* PostgreSQL -> class_pgsql.php
*
*/
$POLLDB["dbName"] = "****";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "*****";
$POLLDB["pass"] = "*****";
$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";
?>
|
|
16/11/2004 03:15:38
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
No don't add anything there isn't already a space for. Hold off and see if Auron shows up or visit his site.
|
|
16/11/2004 03:23:20
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Change it in the Admin Panel under General Settings.
|
|
16/11/2004 18:33:33
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Do what Amber said straight after you login otherwise you'll get
redirected back the the login screen.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
16/11/2004 19:49:36
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
Thanks for the help.
Both of of those settings are correct in the admin panel. Is there anything else I can do?
|
|
16/11/2004 21:03:00
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
Well, does it now work?
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
18/11/2004 16:44:22
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
It still does not work when the poll is used from http://www.mysite.com/mypage/
But it does work when the poll is used from http://www.mysite.com/mypage/index.php
Here is an example of the "View Results" links that are generated:
Not working: http://www.mysite.com/mypage/mypage?action=results&poll_ident=4 (That extra mypage part was not added by me! It was added by the poll!!!)
Working:
http://www.mysite.com/mypage/index.php?action=results&poll_ident=4
|
|
18/11/2004 17:06:12
|
Anonymous
|
OK, I have setup I live example for you to see.
These are working links:
The poll will work from here: http://advancedpollerror.no-ip.info/mysite/index.php
But it will NOT work from here:
http://advancedpollerror.no-ip.info/mysite/
(FYI: Advanced Poll has been installed to http://advancedpollerror.no-ip.info/mysite/poll and the general URL settings are correct.)
|
|
24/11/2004 18:30:32
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
Does anyone have any other suggestions???
Or is this just a bug???
|
|
24/11/2004 18:38:09
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
The link does work that you say isn't working.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
26/11/2004 18:42:45
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
Of course the link works! Try to vote or view the results. That is what doesn't work.
|
|
26/11/2004 23:55:40
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
It's looking for a file named mysite, which doesn't exist.
Did you create two different files here? Why don't you post the poll code you are using. You can always xxx-out your username.
|
|
27/11/2004 22:34:14
|
PFDogs
Beginner
Joined: 15/11/2004 20:55:31
Messages: 7
Offline
|
There is only one file and it's named index.php
Here is the code for index.php
|
|
|