Author |
Message |
19/06/2011 18:42:47
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
Hello,
I have had your Advanced Poll on my website for years, and suddenly it just stopped working and get the following error on the poll on the homepage of www.robindel.com:
Poll ID 0 does not exist.
Can you offer any help?
Thanks!
stacie
|
|
19/06/2011 18:46:26
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
What code are you using on the page?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
19/06/2011 18:51:16
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
oops - sorry... that would be helpful!
I have this above my <html> tag:
<?php
// Important! You have to include it before your html code
include_once "poll/poll_cookie.php";
?>
and then I have this where I want the poll to appear (note that EVERYTHING was working fine and seems to have suddenly stopped working!)
<?php
include_once "poll/booth.php";
$php_poll->set_template_set("popup");
echo $php_poll->poll_process("random");
?>
|
|
19/06/2011 18:55:45
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
OK so you are picking a poll at random. Do you have any existing polls and is it always returning the error message or just occasionally?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/06/2011 00:11:43
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
I get this error always on the website and yes, I have quite a few polls in my account (13 to be exact). They are numbered with poll ID's: 4,8,9,10,11,12,13,14,15,16,17,18, and 19. I'm not sure how they got assigned these ID numbers. I think automatically? Does this error mean the program is looking for a poll with ID 0?
|
|
20/06/2011 08:59:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The poll id number is automatically generated when you create a new poll. Are you using the latest version of the advanced poll? Just asking to make sure I'm looking at the correct version of the script.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/06/2011 17:50:25
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
Thanks so much for all of your help with this
I'm probably not using the latest version since I have not updated this in years. Is there an easy way I can update this without losing all of my customizations and various polls I have created???
|
|
20/06/2011 18:29:30
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
To be honest I wouldn't have a clue as I don't use the poll. I'm just going to download and see how the random number is generated.
I'm guessing this code is responsible
It asks the database to return all poll IDs and then makes them in to a list. If the list doesn't get created for some reason then it just returns 0 instead. Can you confirm you have existing polls?
This message was edited 1 time. Last update was at 20/06/2011 18:32:14
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/06/2011 19:09:00
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
Thanks so much for looking into these details for me. If it would make sense, I can email you my login info for my poll admin area and you can see the polls. Attached is a screenshot if this helps?
|
Filename |
polls.jpg |
Download
|
Description |
|
Filesize |
214 Kbytes
|
Downloaded: |
2 time(s) |
|
|
23/07/2011 01:10:48
|
leftwave
Beginner
Joined: 10/06/2005 22:38:01
Messages: 6
Location: San Diego, California
Offline
|
any luck with figuring this out??
|
|
23/07/2011 12:40:37
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Never received an email nor notification of an update to this thread. Try webmaster@carbonize.co.uk
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|