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 
Problem Poll with IE  XML
Forum Index » Support Forum
Author Message
Nexus
Beginner
[Avatar]

Joined: 27/02/2005 23:22:45
Messages: 5
Location: The Netherlands
Offline

Hey, first of all, MAJOR THNX 4 the script,

but.. unfortunatly, IE doesn't let you see the stats of the votes at my site ( not @ the admin page)

Firefox, and i believe any other browser, works flawless. problem is not everyone uses it

If it wouldn't be to much trouble.. could someone tell me what's wrong?

-> http://alex.df-net.nl

Strange thing is, if you click an option in my poll, it will be written to the database, but for some reason IE refuseses to show the stats.

Thnx in advance!

Alex.
[WWW]
Sixty4
Beginner

Joined: 25/02/2005 21:26:45
Messages: 9
Offline

Try changing line 10 in booth.php.
from:

to:


Hope it helps.

(make a backup copy before changing, just to be on the safe side.)

sity4.nlarea64.nl
[WWW] [MSN]
Nexus
Beginner
[Avatar]

Joined: 27/02/2005 23:22:45
Messages: 5
Location: The Netherlands
Offline

Hey Sixty4,

thnx for your help, tried it.. but unfortunatly, it doesn't work, the code is fine, but still the same problem

I left it on my site, so if you want to check : http://alex.df-net.nl

Thnx anyway, appreciate your help.
[WWW]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

what do you mean by stats?

the results? or the stats for each poll containing who voted for what and how many?

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Sixty4
Beginner

Joined: 25/02/2005 21:26:45
Messages: 9
Offline

ok,.. I see that I also changed class_poll.php on line 43

Change it to:


Hope it works now.
I had the same kind of problem with variables in my URL.

sity4.nlarea64.nl
[WWW] [MSN]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Sixty4 wrote:ok,.. I see that I also changed class_poll.php on line 43

Change it to:


Hope it works now.
I had the same kind of problem with variables in my URL.


okay. The guy' talking about stats and your talking about URL variables and the like.
wth is going on here?!

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Sixty4
Beginner

Joined: 25/02/2005 21:26:45
Messages: 9
Offline

I had the same problem Nexus had, and it looked like it had to do with URL variables. So I changes some of the PHP_Self requests. And it worked for me.

That's going on

sity4.nlarea64.nl
[WWW] [MSN]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Auron I think what he means is that when you click View Results or Bekijk resultaten it takes you back to the same page and does not show the results. His problem actually has nothing to do with the poll script but with this bit of code that appears near the bottom of the results page.

Just like to add for Nexus's benefit that Winrar is better than winzip and I wouldn't say VLC was the best media player. It's a good player but there are better for both audio and video.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

VLC is useful to play .avi files on Mac OS X.

If its not showing the results maybe the poll is set to something which I can't remember in the admin section. I know! If they've set an expiry date for a poll... i think...

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

no it shows the results but then gets to that bit of code that tells it to goto the page in the code and so quickly loads the mentioned page instead.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Nexus
Beginner
[Avatar]

Joined: 27/02/2005 23:22:45
Messages: 5
Location: The Netherlands
Offline

THNX Sixty4 and all others !!!

IT WORKS

Now some comment i got

1) VLC - yes, I know it isn't the "best" player, but i had some problems with codecs and VLC just uses his own, so that's what i liked about it

Mplayer (NOT windows media player) is also fine, but for the most movies I use Power DVD

2) WinZip - Yep Winrar is better, I use it myself, Zip Sucks Don't know why I put it on my site, will change it "thnx for reminding me"

Anyway, Thnx sóó much for helping out, cya guys around!

-----
summary if someone has the same problem

Problem: IE didn't show results with the poll version 2.03

Possible solution:

change line 10 in booth.php
from:


to:


and

change in (include/) class_poll.php on line 43

Change it to:


That worked for me

Thnx to Sixty4.
[WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Actually IE did show the results but then a piece of javascript took you away from them. I'd say it was that was responsible. Auron is the poll specialist whilst Advanced Guestbook is my specialist subject.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Nexus
Beginner
[Avatar]

Joined: 27/02/2005 23:22:45
Messages: 5
Location: The Netherlands
Offline

I see, but unfortunatly, a slight problem accured again.. The View results works now, but if you go to another page you're back to the voting, also refresh .

I don't know if the problem is the script, or the way my site is builded.

I have my htm files inside a protected directory. A php scripts gets the files. problem is, the directory is protected, like my guestbook, the poll script is placed inside the index, which is not inside the protected directory, maybe I should grant more acces to my index? strange thing is, my site is running on apache so it shouldn't bother the script.

I asked some friends of mine, but they don't know either.. sorry to be this annoying, but I like the poll script and wouldn't want another.

Site link :

http://alex.df-net.nl

Thnx for helping out
[WWW]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

I still don't see why changing a line of PHP would stop ONLY IE from seeing the results.
So I reckon it was the JavaScript like Carbonize just said.

edit; wait. I have no idea. Something weird and odd was going on....

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Nexus
Beginner
[Avatar]

Joined: 27/02/2005 23:22:45
Messages: 5
Location: The Netherlands
Offline

So what do I have to replace and where?
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum