HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Skip navigation

3.2.0

Title Internal error
Description Internal error
Affects All users
Fix Internal error

Back to the top

Comments / View


Title Can't purchase POP3 quota in point store.
Description A stack trace error is given.
Affects All users of the point store pop3 product.
Fix Change lines 236 and 275 of sources/hooks/modules/pointstore/pop3.php
from:

Code

      $price=get_price('quota');
to:

Code

      $price=intval(get_option('quota'));

Back to the top

Comments / View


Title Error adding/editing an author
Description An error comes up when trying to add or edit an author – if a username/member-ID wasn't specified.
In this situation, the author should be stored with member unspecified.
Affects All users
Fix Change line 202 of cms/pages/modules/cms_authors.php from:

Code

      }
to:

Code

      } else $forum_handle=NULL;

Back to the top

Comments / View


Title Error given when viewing your own attachments
Description An error may be given when browsing for attachments to re-use.
Affects All users
Fix Change line 187 of sources/attachments.php from:

Code

      $tpl=render_attachment(array(),$myrow,uniqid(''),get_member(),false,$connection);
to:

Code

      $tpl=render_attachment(array(),$myrow,uniqid(''),get_member(),false,$connection,get_member());

Back to the top

Comments / View


Title Error installing ocWorld
Description An error may be given when installing ocWorld, or other new zones.
Affects All users
Fix Change line 48 of sources/menus2.php from:

Code

   $id=add_menu_item($menu,$ADD_MENU_COUNTER,$parent,$dereference_caption?do_lang($caption):$caption,$url,$check_permissions,'',$expanded,0,$caption_long);

to:

Code

   $_caption=do_lang($caption,NULL,NULL,NULL,NULL,false);
   if (is_null($_caption)) $_caption=$caption;
   $id=add_menu_item($menu,$ADD_MENU_COUNTER,$parent,$dereference_caption?$_caption:$caption,$url,$check_permissions,'',$expanded,0,$caption_long);

Back to the top

Comments / View


Title Error that masks error messages
Description Some user-error messages may be masked by an error that comes up when trying to show these messages.
Affects OCF users
Fix Change line 794 of sources/global2.php from:

Code

      $restrict_answer=ocf_get_best_group_property($GLOBALS['FORUM_DRIVER']->get_members_groups(get_member()),'flood_control_submit_secs');
to:

Code

      require_code('ocf_groups');
      $restrict_answer=ocf_get_best_group_property($GLOBALS['FORUM_DRIVER']->get_members_groups(get_member()),'flood_control_submit_secs');
(i.e. add a new line)

Back to the top

Comments / View


Title Error when adding a download
Description An error may be shown when adding or editing a download that was uploaded as a new file.
Affects Apache users
Fix A replacement for cms\pages\modules\cms_downloads.php is attached (zipped).
Fix files cms_downloads.zip

Back to the top

Comments / View


Title Guests may see unvalidated guest posts
Description Guests can see unvalidated content by other guests.
Affects OCF users
Fix Change line 22 of sources/ocf_topicview.php from:

Code

   if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR p_poster='.(string)intval(get_member()).')';
to:

Code

   if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR ((p_poster<>'.strval($GLOBALS['FORUM_DRIVER']->get_guest_id()).' OR '.db_string_equal_to('p_ip_address',get_ip_address()).') AND p_poster='.(string)intval(get_member()).'))';

Back to the top

Comments / View


Title Javascript/Cookie problem
Description Javascript may be said to be "disabled", although it is not.
Affects Sites with a cookie dmain specified
Fix Please change lines 274-275 of themes/default/templates/JAVASCRIPT.tpl from:

Code

   var extra=";path={$COOKIE_PATH}";
   if ("{$COOKIE_DOMAIN}"!="") extra=extra+"domain={$COOKIE_DOMAIN}";
to:

Code

   var extra="";
   if ("{$COOKIE_PATH}"!="") extra=extra+";path={$COOKIE_PATH}";
   if ("{$COOKIE_DOMAIN}"!="") extra=extra+";domain={$COOKIE_DOMAIN}";

Back to the top

Comments / View


Title Minor issue with calendar day view
Description A multi-day event that starts on an hour before it ends (but a different day) will not occupy it's own column space in the calendar day view.
Affects All users
Fix Change line 464 of site/pages/modules/calendar.php from:

Code

            if (intval($test)>$start_day)
to:

Code

            if ((intval($test)>$start_day) || (intval(date('m',$to))!=$start_month) || (intval(date('Y',$to))!=$start_year))

Back to the top

Comments / View


Title OCF guest count never exceeds 1
Description The guest count, as shown on the forum front page, never exceeds 1.
Affects All OCF users
Fix Please change lines 389-392 of sources/ocf_general.php from:

Code

      $members=collapse_2d_complexity('the_user','cache_username',$members);
      $guests=0;
      foreach ($members as $member=>$username)
      {
to:

Code

      $guests=0;
      foreach ($members as $row)
      {
         $member=$row['the_user'];
         $username=$row['cache_username'];

Back to the top

Comments / View


Title Pointstore gambling, mySQL 5 strict mode
Description On servers with strict mode enabled (not recommended for production websites), successful gambling will result in an error message.
Affects Users with mySQL strict-mode enabled
Fix In sources/hooks/modules/pointstore/gambling.php, change line 117 from:

Code

         $winnings=$average_gamble_multiplier*$amount+$x*1.1; // 1.1 is a magic number to make it seem a bit fairer
to:

Code

         $winnings=round($average_gamble_multiplier*$amount+$x*1.1); // 1.1 is a magic number to make it seem a bit fairer

Back to the top

Comments / View


Title Pointstore gambling, non-OCF users
Description Errors will be returned when trying to gamble.
Affects non-OCF users with the point store enabled
Fix In sources/hooks/modules/pointstore/gambling.php, replace both instances of:
 || (get_forum_type()!='ocf') with blank (i.e. strip them).

Back to the top

Comments / View


Title Recommend module fails for non-OCF users
Description An error is given.
Affects non-OCF users, with invites disabled
Fix Change line 145 of pages/modules/recommend.php from:

Code

      elseif (get_option('is_on_invites')=='0')
to:

Code

      elseif ((get_option('is_on_invites')=='0') && (get_forum_type()=='ocf'))

Back to the top

Comments / View