• NOTICE: This "Forum Navigation Questions" forum is only for asking questions related to navigating this web site. DO NOT post car-related questions here., For car-related questions, use the appropriate marque-related forum.
  • The Roadster Factory Recovery Fund - Friends, as you may have heard, The Roadster Factory, a respected British Car Parts business in PA, suffered a total loss in a fire on Christmas Day. Read about it, discuss or ask questions >> HERE. The Triumph Register of America is sponsoring a fund raiser to help TRF get back on their feet. If you can help, vist >> their GoFundMe page.
  • Hey there Guest!
    If you enjoy BCF and find our forum a useful resource, if you appreciate not having ads pop up all over the place and you want to ensure we can stay online - Please consider supporting with an "optional" low-cost annual subscription.
    **Upgrade Now**
    (PS: Subscribers don't see this UGLY banner)
Tips
Tips

Thanks button error

John Turney

Yoda
Silver
Country flag
Offline
I tried to give a "Thanks" to a couple of posts in the Randy Forbes thread in the Austin Healey forum and I get:

[] operator not supported for strings on line 182 in /home/bcf/public_html/bcf/includes/functions_post_thanks.php
#0 /home/bcf/public_html/bcf/includes/functions_post_thanks.php(137): fetch_thanks('1120552', '', false)
#1 /home/bcf/public_html/bcf/post_thanks.php(64): thanked_already(Array)
#2 {main}

What gives?
 

Basil

Administrator
Staff member
Boss
Offline
I tried to give a "Thanks" to a couple of posts in the Randy Forbes thread in the Austin Healey forum and I get:



What gives?

Well, I think you just found an issue with a newer version of PHP I recently upgraded to for the forum. PHP is the script language that basically handles all the behind the scenes actions for anything that you do on the forum. (For example, even reading this thread/post, if you look up in the address bar you will see it is using a script called "show thread.php" and PHP is the "language" that interprets all the commands in that script. This forum software was developed back when version 5.6 (or maybe older) was the latest version. There have been many updates to PHP since then. I recently updated the PHP version running on this site to version 7.1, which is not the latest, but is supposed to be the newest that this forum software will run on. While it seems that basic forum is running ok on 7.1, that "thank you" feature is not stock forum software, but rather a 3rd party plugin to "add: that capability to the forum. Apparently, that plugin doesn't like version 7.1. I just backed off one version to 7.0 and the thanks button seems to be working. Try it now and see of it works for you.

PS: Note that I moved your question to a new, separate thread (You had posted as a reply to my thread about the help forum). I think I'm going to lock that thread. Better to post questions as new topics, with descriptive titles.
 

Basil

Administrator
Staff member
Boss
Offline
Update: I determined the issue in the "Thanks script" that was causing a problem with PHP 7.1 and have modified that script so that now, the "thanks script" should be working with PHP 7.1. Let me know if you have any other problems with it.

Basil
 
Similar threads
Thread starter Title Forum Replies Date
NutmegCT Thanks button - part 2 FORUM Navigation Questions 8
George Zeck It's time & Thanks ..... Spridgets 3
Joel Lester TR2/3/3A Finished my TR3! Thanks to you guys... check it out! Triumph 22
C TR2/3/3A Three completely different questions from a TR3B newbie - thanks for any input! Triumph 6
LarryK Thanks FORUM Navigation Questions 0
George Zeck Thanks ALL - time for me to let go...... Spridgets 5
M_Pied_Lourd Off Topic Thanks for the lights Basil! Triumph 7
K TR2/3/3A Are these brake adjusters Locheed for 10" drums? Thanks in advance. Triumph 3
JamesH Wedge new to me TR7, need some basic info. thanks. Triumph 2
trrdster2000 Off Topic Geico, Thanks for showing our cars. Triumph 4
tomshobby Thanks to the members of this forum. Spridgets 8
tomshobby Thanks Spridgets 0
2billydavies TR2/3/3A Just a quick thanks to everyone who helped with my questions Triumph 7
Lukens TR2/3/3A Thanks to the forum and specifically a member. Triumph 4
I Thanks for the Christmas lights Spridgets 2
BlueMax "Thanks Hap" Spridgets 5
K TR2/3/3A Trunnion replacement done....Thanks to Forum Triumph 3
Mickey Richaud MGB Thanks, Hap! MG 5
P Thanks Basil!! Spridgets before Sunbeam! Spridgets 1
P TR4/4A Need help with TR4A bonnet/hood mount problem, thanks! Triumph 4
H front shroud-pls clarrify holes for me thanks Austin Healey 9
R Happy 4th people... Thanks vets Spridgets 4
andybj8 BJ8 Hood, a thanks Austin Healey 16
S Spitfire my 1973 spitfire. Thanks for all the help :] Triumph 5
PAUL161 The Shade Tree Tech by John Weimer [Thanks John] MG 0
richberman Engine build...thanks Superwrench!!! Austin Healey 13
I Thanks, Trevor! Spridgets 0
glemon Turn Signal Question Up-date Success Thanks Randall Triumph 23
B TR6 Removal of TR6 crankshaft end bolt! MANY THANKS! Triumph 3
G Thanks to you all MG 7
I Thanks for wiper help Spridgets 5
mountainman Merry Christmas& Thanks to All Triumph 1
T Thanks ALL! Amos out of hibernation! Triumph 11
glemon TR5/TR250 TR250 Almost Done, Pics, Thanks for the Help Triumph 22
livinginthepast Thanks to BillM for hosting a great event Spridgets 11
Morris Thanks JP! Spridgets 10
C A little help with some thanks Spridgets 1
W With thanks to Doug Lawson Spridgets 3
OZ_BN1 Thanks bundyrum Austin Healey 2
B TR2/3/3A Pulling TR3 body off question Thanks Triumph 15
MCNX_BFF Thanks to Deutsch Brit Bits and the Guys Triumph 3
glemon Thanks Buckeye Triumphs Tech Help Triumph 2
T Thanks All for the R/A advice Triumph 11
T OMG! How can it be this simple????? Thanks Guys! MG 6
Brosky TR6 A little bling for TR6Bill thanks to Francois Triumph 19
lbc_newbie Thanks and appreciation! Spridgets 9
TonyPanchot A word of Thanks to ALL Triumph 6
I Amazing axles - thanks Doug! Spridgets 0
J Thanks Art at TRParts.com Triumph 3
T TR2/3/3A Lucas/Peter Pan part two. [TR3 wiper] Thanks Triumph 3

Similar threads

Top