php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#225981 - 10/07/02 04:46 AM Problems with Polls
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Hi,<br /><br />Just discovered a problem - I have not done any coding for a few weeks, so this seems to have sprung out of nowhere <img src="/forum/images/graemlins/confused.gif" alt="" /> <br /><br />A user can create polls fine - but as soon as anyone votes they get the message..<br /><br />' Forum not found. Please use your back button to return to the previous page. '<br /><br />I created a test vote under my login - and had the same result - voting is set to everyone - but a change to registered users only has no effect.<br /><br />The URL bar is showing...<br /><br />http://www.nonleague.net/forums/showflat...mit=Submit+vote<br /><br />I don't think the spaces are an issue, as I get the same thing with my username of admin<br /><br />I am running 6.02.<br /><br />If anyone has any thoughts, I would be gratefull.<br /><br />Ian<br /><br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#225982 - 10/07/02 11:30 AM Re: Problems with Polls [Re: Gorlum]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
I've seen the same problem on another site... what modifications do you have installed? <br />quick reply? <br />last reply by?<br />auto quote?<br /><br />maybe we can narrow down the culprit...
_________________________
- Allen wavey
- What Drives You?

Top
#225983 - 10/07/02 05:12 PM Re: Problems with Polls [Re: SurfMinister]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Yes <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />In otherwords all three - the strange thing is that I have not added anything new for a few weeks - and it has been working since then.<br /><br />Mind you my quick reply mod has always been broken. I never have been able to fix that - not sure if these issues are related.<br /><br />I guess a new clean install is called for - problem is - it is a big step for me at the moment - and one I am trying to avoid <img src="/forum/images/graemlins/frown.gif" alt="" /><br /><br />Ian
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#225984 - 10/07/02 05:20 PM Re: Problems with Polls [Re: Gorlum]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
you can always setup a test forum and work forwards... I am gonna need to do the same thing. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />polls work when voted on from IIP, just not the thread
_________________________
- Allen wavey
- What Drives You?

Top
#225985 - 10/07/02 05:56 PM Re: Problems with Polls [Re: SurfMinister]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I'll look over the polls from the thread and see what may be missing. I'm sure it's a form issue. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#225986 - 10/07/02 06:00 PM Re: Problems with Polls [Re: SurfMinister]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I created a poll in the test board and voted from showflat and it entered just fine. I'll keep monkeying with it till something gives... lol
_________________________
~Dave
ChattersOnline.com

Top
#225987 - 10/07/02 06:10 PM Re: Problems with Polls [Re: sjsaunders]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
add 'autoquote' here and see if it still works... I believe it's either that or the quick reply doing it in <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#225988 - 10/07/02 06:29 PM Re: Problems with Polls [Re: SurfMinister]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Easier said than done... lol I have never installed them so it may take me a bit. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />If I don't get to it tonight I'll work on it tomorrow. Will do one at a time and see what breaks or perhaps while doing it I'll see what the problem is straight off. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#225989 - 10/07/02 07:25 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I've got quick reply installed.....<br /><br />I'll see how my polls are working and check back.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225990 - 10/07/02 09:13 PM Re: Problems with Polls [Re: Daine]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
My polls are not working unless you vote from IIP.<br /><br />6.1.1<br />Quick Reply <br />Calendar<br />sig line<br />inline photo<br /><br />I suspect Quick Reply.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#225991 - 10/07/02 09:19 PM Re: Problems with Polls [Re: Franky]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
My polls work, and I do not have quick reply installed.

Top
#225992 - 10/07/02 09:22 PM Re: Problems with Polls [Re: Franky]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I believe it's the quick reply mod as it's the only one that's dealing with the form information for posting a reply. Not sure what though as I have not looked at the code, yet. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#225993 - 10/07/02 09:41 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Would you guys test this out for me:<br /><br />Here is a poll. <br /><br />I voted.... but got an error and mis-direct with the "return to forum" link. It's got to be the Quick Reply.... <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />That's the BEST mod....but it causes the most trouble.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225994 - 10/07/02 09:50 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I got the "forum not found" error. Must be the quick reply... <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#225995 - 10/07/02 09:56 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Looks like it recorded my vote though..... but still only one vote so it didn't accept your anon vote (even though I allowed anon voting).
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225996 - 10/07/02 11:37 PM Re: Problems with Polls [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Si, we love quick reply... <img src="/forum/images/graemlins/frown.gif" alt="" /> *sniff*
_________________________
- Allen wavey
- What Drives You?

Top
#225997 - 10/07/02 11:44 PM Re: Problems with Polls [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This is off topic... but posted elsewhere here... but I experienced the "page 13" problem that I experienced the other day at threadsdev.<br />Where i was viewing posts on page 13.... yet page 13 didn't appear until there were 3 posts on that page. I have to try to duplicate this bug on a clean copy... but maybe threads is supersticous. <img src="/forum/images/graemlins/tongue.gif" alt="" /> LOL
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225998 - 10/08/02 07:08 PM Re: Problems with Polls [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I replaced my dopoll.php file with a virgin copy...although to my knowledge...nothing I've done modified this.<br /><br />I no longer got an error.... Anyone else care to try here please. <br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by JoshPet (10/08/02 07:22 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#225999 - 10/08/02 07:13 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Sorry... was a no go. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />[]<br />Forum not found. <br /><br />Please use your back button to return to the previous page.<br /><br />This is not necessarily an error. First...try clicking here and login again. <br />[/]
_________________________
~Dave
ChattersOnline.com

Top
#226000 - 10/08/02 07:22 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
That is weird...... works for me.... <br /><br />Try this.<br /><br />http://www.measurection.com/forums/showflat.php?Cat=&Board=josh&Number=40505
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226001 - 10/08/02 07:26 PM Re: Problems with Polls [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Forum not found. <br /><br />Please use your back button to return to the previous page.<br /><br />This is not necessarily an error. First...try clicking here and login again.
_________________________
- Allen wavey
- What Drives You?

Top
#226002 - 10/08/02 07:33 PM Re: Problems with Polls [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I seem to have broken something else. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />That forum (keyword josh) is open to all..... read and write all groups....<br /><br />Yet when I posted the link to my users... it didn't work for them either. Hmmmm......<br /><br />Works for me regardless if I am logged in or out, on mac or pc. <br /><br /><br /><br />The good news is that it took my vote without error. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Back to the drawing board.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226003 - 10/08/02 07:33 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I failed on that one too... <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#226004 - 10/08/02 07:51 PM Re: Problems with Polls [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Some of my users could use that link.... some couldn't. Hmmmmmm.<br /><br />I closed and optimized. <fingers crossed that I don't have a database prob.> <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226005 - 10/08/02 08:51 PM Re: Problems with Polls [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Same error here as well Josh<br /><br />Forum not found. <br /><br />Please use your back button to return to the previous page.<br /><br />This is not necessarily an error. First...try clicking here and login again. <br /><br /><br /><br />--------------------------------------------------------------------------------<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#226006 - 10/08/02 09:02 PM Re: Problems with Polls [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
That's weird how some people can use that URL and other's can't.<br /><br />Can anyone jump directly into the forum?<br /><br />http://www.measurection.com/forums/postlist.php?Board=josh<br /><br />If so... the poll is on top. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226007 - 10/08/02 09:15 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
It showed me postlist.php and I went and tried to vote in the top post and it was a no go.. <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#226008 - 10/08/02 09:22 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
We don't have Quick Reply Here!<br /><br />We have this same problem on this board here.<br /><br />This is the error when you vote:<br /><br />Warning: Variable passed to each() is not an array or object in /home/measurection/htdocs/forums/viewpoll.php on line 71<br /><br /><br /><br />This is the offtending code in viewpoll.php:<br /><br /><pre><font class="small">code:</font><hr>// Loop through the results to figure out the percentages<br /> while(list($key,$value) = each($options)) {<br /> $division = $totalvotes * 1000;<br /> $thisone = $options[$key]['1'] * 1000;<br /> if ($division) {<br /> $per = ($thisone/$division);<br /> }<br /> list($crap,$percent) = split("\.",$per);<br /> if ($percent < 10) {<br /> $percent .= "0";<br /> }<br /> $percent = substr($percent,0,2);<br /> if ($per == 1) { $percent = "100"; }<br /> $options[$key]['3'] = $percent;<br /> } <br /> $dbh -> finish_sth($sth);<br /></pre><hr><br /><br />Why doesn't it seem to like $options?<br /><br />Sometimes it works....sometimes it doesn't. I don't see a conflicting $options being used with the anchors away or quick reply mod.... <br /><br />Must be something else.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226009 - 10/08/02 09:23 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I should add that the votes get counted.... it's having trouble displaying the poll in view poll..... and the "Return to Forum" link is broken when you get the error. <SHRUG>
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226010 - 10/08/02 09:39 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
It worked for me.. lol<br /><br />the error is saying that $options isn't an array and can't be used with the "list" statement.<br /><br />I guess perhaps there should be a check to see if it's an array before doing the "while" statement would be a good idea.<br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#226011 - 10/08/02 09:47 PM Re: Problems with Polls [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This seems to be totally random. As I thought I fixed it once. <SHRUG><br /><br />I've tried to duplicate on a clean install.... maybe it's a bug, but can't.<br /><br />I can't see what mod would have it not see $options as an array. None of our mods do anything with viewpoll or dopoll, right?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226012 - 10/08/02 09:53 PM Re: Problems with Polls [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Here? no as far as I know there shouldn't be anything in the way of the poll form being submitted. <img src="/forum/images/graemlins/confused.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#226013 - 10/09/02 02:06 AM I am Not Crazy! [Re: Gorlum]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
After fooling with this all evening...and trying so many different things..... <br /><br />I have finally realzied that I'm not crazy! <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />I can't figure out exactly when it happens... it will work for some users and not work for others.... but I can duplicate this on a clean 6.1.1 board..... which means --> BUG!<br /><br />Have reported at InfoPop Community Forum. If anyone has any more info on this bug... please add it to this bug report. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks everyone for trying to test. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226014 - 10/10/02 12:17 PM Re: Problems with Polls [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
meant to mention this josh, but those error messages we were pasting in earlier were the messages we rec'd after trying to vote in the thread, not an error message we rec'd when trying to access the links you were posting to the poll <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#226015 - 10/10/02 04:03 PM Re: Problems with Polls [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks... first I thought people were unable to view those forums.... but then I figured it out. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />It still bugs me that I can't seem to isolate why some people can vote in the poll without trouble and some can't. The results get tallied either way.... but it happens in a clean install.... so that's a project for Rick to figure out. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#226016 - 10/12/02 05:03 AM Re: Problems with Polls [Re: Daine]
JJS Offline
Junior Member

Registered: 05/25/01
Posts: 81
My two cents---and I'd like my change please... <img src="/forum/images/graemlins/shocked.gif" alt="" /><br /><br />Allen's my guru on this stuff but "quick reply" seems to be the one hack that will CONSISTENLY cause the error, even though a few others may too.<br /><br />Also, as others have mentioned, my polling works just fine from IIP. <br /><br /> [:"red"] AthenaLink's Talkback Forums[/]

Top
#226017 - 10/12/02 09:34 AM Re: Problems with Polls [Re: Wandrer]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Just want to point out that the polling from IIP is self contained. It doesn't use any .threads scripts for recording the vote. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#226018 - 11/21/02 01:35 PM Re: Problems with Polls [Re: Daine]
Pappy Offline
Member

Registered: 11/17/00
Posts: 235
Loc: Germany (US Citizen)