Loading...
 
Skip to main content

Vote on closed poll, break error page

Status
Pending
Subject
Vote on closed poll, break error page
Version
2.x
Category
  • Error
  • Dogfood on a *.tiki.org site
Feature
Poll
Submitted by
canelli
Lastmod by
canelli
Rating
(0)
Description

Try to vote on a closed poll.
The showed error break the page layout.
THe display message error page is presented without any css and theme.

Solution

change tiki-setup.php as


move the line 97 "require_once('lib/setup/polls.php');"

require_once('lib/setup/wiki.php');
//if ( $prefs'feature_polls' == 'y' ) require_once('lib/setup/polls.php');
if ( $prefs'feature_mailin' == 'y' ) require_once('lib/setup/mailin.php');

to line 137 (just after line 135 (.. $prefs'auth_method' == 'openid' ..

if ( $prefs'auth_method' == 'openid' ) require_once('lib/setup/openid.php');
if ( $prefs'feature_polls' == 'y' ) require_once('lib/setup/polls.php');
if ( $prefs'feature_wysiwyg' == 'y' ) {

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2179
Created
Wednesday 26 November, 2008 15:30:47 UTC
by Unknown
LastModif
Wednesday 26 November, 2008 15:31:51 UTC


Show PHP error messages