
| Title | Internal error |
|---|---|
| Description | Internal error |
| Affects | All users |
| Fix | Internal error |
| 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');
Code
$price=intval(get_option('quota'));
|
| 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
}
Code
} else $forum_handle=NULL;
|
| 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);
Code
$tpl=render_attachment(array(),$myrow,uniqid(''),get_member(),false,$connection,get_member());
|
| 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);
Code
$_caption=do_lang($caption,NULL,NULL,NULL,NULL,false);
|
| 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');
Code
require_code('ocf_groups');
|
| 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 |
| 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()).')';
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()).'))';
|
| 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}";
Code
var extra="";
|
| 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)
Code
if ((intval($test)>$start_day) || (intval(date('m',$to))!=$start_month) || (intval(date('Y',$to))!=$start_year))
|
| 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);
Code
$guests=0;
|
| 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
Code
$winnings=round($average_gamble_multiplier*$amount+$x*1.1); // 1.1 is a magic number to make it seem a bit fairer
|
| 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). |
| 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')
Code
elseif ((get_option('is_on_invites')=='0') && (get_forum_type()=='ocf'))
|