Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 2:08 pm (All times are UTC )

 




Post new topic Reply to topic  [ 11 posts ] 
Author Message
Posted: Mon Jan 08, 2007 1:05 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Apr 10, 2006 7:57 pm
Posts: 92
Description:
When upgrading to 1.0.12, the polls stop working. Specifically, when voting, the system cannot find the right page.

This is an old problem rearing its head again. It was reported as a bug (#43) some time ago, but I can't find the bug in the tracker.

As I recall, this only happens when using SEF features.

Reported on:
1.0.12

Classification:
[Q&T] Critical/High/Medium/Low/Enhancement

Affected functions:
Voting in a poll.

Related files:
modules/mod_poll.php

Steps to replicate:
  • Take an existing installation and upgrade to 1.0.12. (This will probably also happen with a virgin install, but I haven't tested that.)
  • Use SEF (I use OpenSEF).
  • Create a poll, or use an existing poll.
  • Vote in the poll.

Analysis:
[Q&T] Confirmed/Unable to confirm/Rejected
Any other comments

Proposed fix(es):
The old workaround works with 1.0.12, too. Here it is, repeated for convenience:

Bug #43:

In modules/mod_poll.php change the line:

Code:
<form name="pollxtd<?php echo $z;?>" method="post" action="<?php echo sefRelToAbs("index.php?option=com_poll$_Itemid"); ?>">


to:

Code:
<form name="pollxtd<?php echo $z;?>" method="post" action="index.php?option=com_poll<? echo $_Itemid; ?>">


Topic / Artifact ID:
On the old system, it was bug #43. I can't find it now.

System info:
Database Version: 4.1.15-standard
PHP Version: 4.4.1
Web Server: Apache/1.3.33
WebServer to PHP interface: apache
Joomla! Version: Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC


Top
  E-mail  
 
Posted: Wed Jun 06, 2007 10:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 12, 2006 11:04 pm
Posts: 7
thanks, fix works great


Top
   
 
Posted: Tue Jun 12, 2007 8:14 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Nov 28, 2006 6:30 pm
Posts: 4
the change to the mod_poll.php file does not work for me.

The poll was working fine on my 1.0.10 testing server, but stopped after i moved the site to a new server with a 1.012 install. I had SEO on, but I have since uninstalled OpenSEF (since mod_rewrite not avail anyway), and turned off in global config, but the poll still does not work.

any suggestions?


Top
  E-mail  
 
Posted: Fri Jul 06, 2007 10:34 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Dec 10, 2006 9:05 am
Posts: 2
worked for me ... many thanks  :D


Top
  E-mail  
 
Posted: Sun Jul 08, 2007 8:09 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Apr 10, 2006 7:57 pm
Posts: 92
urbangranolagirl wrote:
the change to the mod_poll.php file does not work for me.


You moved to a new install...

Did you remember to change mod_poll.php again?


Top
  E-mail  
 
Posted: Sat Mar 29, 2008 6:47 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Mar 26, 2008 10:11 am
Posts: 8
Has this been fixed in Joomla! 1.0.15?

Thanks.

_________________
Joomla CMS Websites og Integrationer


Top
  E-mail  
 
Posted: Mon Apr 28, 2008 6:13 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Jun 01, 2006 12:35 am
Posts: 317
Location: Toronto
cmosses wrote:
Has this been fixed in Joomla! 1.0.15?

Thanks.


I would also like to know this. I am running 1.0.12 and have the same polls issue.
Polls work with SEF turned off but could not find the "thanks for voting" after hitting the vote button.

After applying the fix above now nothing at all happens when the vote button is pressed.

Any other suggestions?

Is this fixed in 1.0.15?

_________________
my site: http://www.rainbowsongs.com/
my blog: http://www.rainbowsongs.com/mikeblog


Top
  E-mail  
 
Posted: Mon Apr 28, 2008 6:23 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Jun 01, 2006 12:35 am
Posts: 317
Location: Toronto
Ok. Tried again from my backup of mod_polls.php (always make a backup) and it worked the second time.

I would still like to know if this has been in 1.0.15 or if it goes on my list of hacks that I have to do after each upgrade :D

_________________
my site: http://www.rainbowsongs.com/
my blog: http://www.rainbowsongs.com/mikeblog


Top
  E-mail  
 
Posted: Mon Jan 05, 2009 11:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jan 05, 2009 5:49 am
Posts: 6
My site polls still not working... disable the seo in global setting it works, but how to make capable with SEO and SEF? I'm using serrbizsef.


Top
  E-mail  
 
Posted: Wed Jan 07, 2009 5:08 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Jan 05, 2009 5:49 am
Posts: 6
Any one can help on this? I try create a link component and put in my menu, it still does work.... Try to put the change the code, also same, but once i disable SEO in global setting, the polls working again. What can i do?


Top
  E-mail  
 
Posted: Mon Mar 02, 2009 5:02 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Nov 17, 2005 11:56 pm
Posts: 260
Location: UK
This had been bugging me since November 2006... Finally pleased I found this workaround at a time when I urgently needed to get Polls fixed on my site.

Thank you :)

_________________
http://www.is4profit.com ~ UK Small Business Advice & News
http://www.everythingsgonegreen.co.uk ~ Green News & Views


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

Quick reply

 



Who is online

Users browsing this forum: sanrosa and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group