You have an error in one of the installed extensions.
footer.php(44) : eval()'d code on line 10
Line 44 calls the hook named ft_about_end
($hook = get_hook('ft_about_end')) ? eval($hook) : null;
You are not logged in. Please login or register.
PunBB Forums → Posts by Visman
You have an error in one of the installed extensions.
footer.php(44) : eval()'d code on line 10
Line 44 calls the hook named ft_about_end
($hook = get_hook('ft_about_end')) ? eval($hook) : null;
Use https://punbb.informer.com/forums/post/158390/#p158390
In that topic, it is written that it has been corrected and finalized.
When installing, be sure to specify the table prefix.
And all the official versions of PunBB have errors on the latest PHP versions.
Use https://punbb.informer.com/forums/post/158390/#p158390
P.S.
https://github.com/MioVisman/punbb/issues/1
https://github.com/MioVisman/punbb/issues/2
>I also notice this button causes an error on submit (also causes an error on punbb.informer.com)
Everything works fine in my punbb version.
punbb 1.4.5/1.4.6 and panbb 1.4.5 I do not support. Please contact the authors.
+
https://punbb.informer.com/forums/topic … 72-and-74/
https://punbb.informer.com/forums/topic … by-visman/
>Any idea how to fix it?
The options are:
1. Remove this extension and disable checking for updates and fixes in the admin panel of your forum.
2. Find the author of this extension and ask to fix it.
>I also notice this button causes an error on submit (also causes an error on punbb.informer.com)
Everything works fine in my punbb version.
punbb 1.4.5/1.4.6 and panbb 1.4.5 I do not support. Please contact the authors.
Well, the hotfix_14_xss_bbcode_email extension is to blame.
You are showing me the code from the parser.php file. I told you to look into the code of the extension that adds code to the 'ps_do_bbcode_start' hook. Did you find any connected extensions with the 'ps_do_bbcode_start' hook? There can be more than one of them.
You are looking at the error in the wrong place.
It is necessary to look at the 750 line of the parser.php file. It contains a call to a hook via the eval() function.
See the name of the hook, look among the installed extensions for the extension that adds code to this hook. Look for the error in this code.
All changes in version 1.4.6 are displayed in the picture from the post: https://punbb.informer.com/forums/post/158687/#p158687
In PunbB email bbode is changed differently (Google Translate terribly translates from Russian into English, it does not correctly understand the connection of words, and this results in confusion in the end.)
In PunBB 1.4.6, they simply removed the ability to insert other bbcodes into email bbcode. Rearranging the processing of email bbcode above does not play any role. (UPDATE: Here I was wrong. The permutation affected the display of the email bbcode if there is another bbcode inside it. )
I, in the 39th fix, encode the email which is inserted into the href attribute via the rawurlencode() function. As a result, even if there were some bbcodes, they will no longer be converted to html.
Example:
[email]%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com[/email]
[email]my.super.puper<>email@mail.com[/email]
[email=<b>ffff</b>@<b>ffff</b>][b]test email and bbcode[/b][/email]
[email=javascript:alert(1)]<script>alert(2)</script>[/email]
[email]<script>alert(2)</script>[/email]
-->
<a href="mailto:%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com">%3Cscript%3Ealert%281%29%3C%2Fscript%3E@examle.com</a><br />
<a href="mailto:my.super.puper%26lt%3B%26gt%3Bemail@mail.com">my.super.puper<>email@mail.com</a><br />
<a href="mailto:%26lt%3Bb%26gt%3Bffff%26lt%3B%2Fb%26gt%3B@%26lt%3Bb%26gt%3Bffff%26lt%3B%2Fb%26gt%3B"><strong>test email and bbcode</strong></a>
<a href="mailto:javascript%3Aalert%281%29"><script>alert(2)</script></a><br />
<a href="mailto:%26lt%3Bscript%26gt%3Balert%282%29%26lt%3B%2Fscript%26gt%3B"><script>alert(2)</script></a>
P.S. And I repeat once again: I have doubts about the possibility of the existence of XSS.
P.P.S. Why then url bbcode is not changed. There is a similar situation
P.P.P.S. If I'm not clear, Google Translate is to blame
38. Fix search (Uncaught Error: mysqli_result object is already closed in ...) for PHP 8
https://github.com/MioVisman/punbb/comm … f11550a9ef
config.php
// Disable forum hooks (extensions) by removing // from the following line
//define('FORUM_DISABLE_HOOKS', 1);
replace to
// Disable forum hooks (extensions) by removing // from the following line
define('FORUM_DISABLE_HOOKS', 1);
Make a database backup just in case.
Then on the "execute sql" (or something similar) tab, run the query:
ALTER TABLE pund3_online ENGINE = MyISAM;
For example using phpMyAdmin if installed on the server.
sva_do_not_delete v 1.0.0
https://github.com/MioVisman/punbb_exte … not_delete
Moderators rights to delete topics are assigned as for ordinary users (use groups settings).
Administration → Users → Groups → Edit all groups → Allow users to delete their own topics (including any replies) = OFF
v 1.0.2
Fix for delete/edit post/topic.
In the database, try changing the type for the online table from MEMORY to the one specified for the rest of the tables (MyISAM or InnoDB).
Of PunBB and FuxBbB which would you choose to adopt at this point?
I wouldn't choose anything now. There are no developers, support 1-2 people, will soon disappear
My version supports both php 7, php 8, and mysql 8.
Version 1.4.5 has an unknown author, as punbb has long been abandoned by the development team.
https://punbb.informer.com/forums/topic … 72-and-74/
You use punbb at your own risk.
From the old forum engines I can recommend phpbb, there are both developers and communities.
Of the new ones - flarum, although they still keep it in beta.
I am the last moderator of this forum. Administrators have not been here for 2 years, if not more. Google Captcha is not a barrier to spammers. Before I started blocking domains from which spammers are coming, up to several dozen spammers were registered per day. The moderator has limited rights and can only ban and delete posts.
https://github.com/MioVisman/punbb
Download this archive: https://github.com/MioVisman/punbb/archive/master.zip
Unpack the archive to your website.
And make a new installation of the forum (since your forum has just been created, you should not have anything important there).
>Just installed PunBB 1.4.5 via Softaculous
Nobody supports version 1.4.5.
Are you talking about this forum?
27. Update .htaccess for apache 2.4
https://github.com/MioVisman/punbb/comm … f0f2261528
28. Fix get_table_info() method in SQLite3 driver
https://github.com/MioVisman/punbb/comm … c30abb582b
29. Fix for PHP 8
https://github.com/MioVisman/punbb/comm … 212c48614e
https://github.com/MioVisman/punbb/comm … e74f866ab3
30. Change get_tracked_topics() function
https://github.com/MioVisman/punbb/comm … 98a7c356c0
31. Add SameSite for setcookie()
https://github.com/MioVisman/punbb/comm … d143a67747
32. Change the color of the button for the report to the cautious
https://github.com/MioVisman/punbb/comm … fb2e0f58d0
33. Fix pattern for ip
https://github.com/MioVisman/punbb/comm … b8169a08db
34. Update .htaccess.dist (Add security headers)
https://github.com/MioVisman/punbb/comm … 2c29f5c5ca
35. Security: Update random_key() function for PHP7+
https://github.com/MioVisman/punbb/comm … 6aead51b4e
36. Add canonical link for topic pages (To remove duplicate pages, if any.)
https://github.com/MioVisman/punbb/comm … 1b22f76809
37. There is a need to censor navigation links
https://github.com/MioVisman/punbb/comm … 3ab7684e69
UP 2021-03-13
38. Fix search (Uncaught Error: mysqli_result object is already closed in ...) for PHP 8
https://github.com/MioVisman/punbb/comm … f11550a9ef
UP 2021-03-17
39. Change email bbcode
https://github.com/MioVisman/punbb/comm … 547f79e3d1
(P.S. Change the handler so that the html validator doesn't swear at bad emails addresses.)
(P.P.S. I doubt that XSS can exist where all the text characters ', ", < and > are replaced with html entities.)
(P.P.P.S. In PunBB 1.4.6, everything is done wrong )
v 0.3.3.3
https://github.com/MioVisman/punbb_exte … _stop_bots
This version does not use cookies.
User is asked only once, the guest is asked every time.
P.S. I don't use Chrome (it transfers too much data to Google).
You said, it will ask every 2 weeks after that?
yes
so it seems to be a cookie problem with google chrome, not php version.
Open the console in Chrome (F12 if I'm not mistaken), enable output of both errors and warnings, then test sending messages.
Turn on the continuous console so that messages are not lost after a page refresh.
PunBB Forums → Posts by Visman
Powered by PunBB, supported by Informer Technologies, Inc.