miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
News miniBB Support Forums / News /  
 

miniBB version 3.7.2 released: important bugfixes

 
Author Paul
Lead Lead Developer
#1 · Posted: 27 Mar 2026 15:39
Pay attention, and upgrade your version regarding the important bug found & fixed in the updated miniBB package, these bugfixes prevent the script from displaying "PHP Notice: Undefined index: forumName..." when the topic or forum is not found, and will also eliminate the canonical link from the source.

  • bb_func_vthread.php — above the code which looks like:

header($proto.' 410 Gone');
$metaRobots='NOINDEX,NOFOLLOW';
$errorMSG=$l_topicnotexists; $correctErr='';
there should be added two definitions:

$forumName=''; $topicData=array(0=>'');
* bb_func_vtopic.php — above the code which looks like

header($proto.' 410 Gone');
there should be added:

$forumName='';
  • bb_functions.php/* Canonical URLs */ section improvement — no canonical link should be present for 404 topic pages, this affects forums, topics, and user profiles. Version updated.


Author tom322
Active Member
#2 · Posted: 27 Mar 2026 17:43
I wonder why I've never seen this notice for so long.. : )

Author Paul
Lead Lead Developer
#3 · Posted: 27 Mar 2026 18:33
tom322:
I wonder why I've never seen this notice for so long.. : )
It affects only most recent miniBB releases, which include canonical URLs. Also, it won't be visible if the PHP config prohibits displaying of Notices. But it's visible in error_log, from where I've caught this issue.

Author Paul
Lead Lead Developer
#4 · Posted: Today 15:50
Without updating the version itself (!), I've updated couple of scripts today which are all related to the same problem I didn't notice earlier.

Not only the PHP Notice should be fixed for 404 pages, but the rel="canonical" tag should not be present in the HTML source for this case.

I've updated the initial News message, and updated the packages.

Releasing it today supposing it's not the first of April's joke :)

Author Paul
Lead Lead Developer
#5 · Posted: Today 16:32
Important note here is also about the bb_func_txt.php file.

For some mystical reason, I skipped it when making the release of the miniBB 3.7 version. Now I've added it to the most recent package, and it also contains an important bugfix in the skipHLQuotes function, so — it could be even better than I've missed it initially ;)

News miniBB Support Forums / News /
 miniBB version 3.7.2 released: important bugfixes
Share Link Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.