cBB AutoWords (small?) request...


User avatar
IvanPF
Administrator
 
Posts: 2242
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue May 21, 2024 8:43 pm • via Web
Replace the file /ext/canidev/autowords/libraries/parser.php with the one I attached in this message. This will repair the debug error and may fix some of the other errors as well.
Attachments
parser.php
(10.85 KB) Downloaded 137 times
User avatar
nou nou
 
Posts: 180
Joined: Thu Nov 16, 2017 4:31 am
 Tue May 21, 2024 9:32 pm • via Web
Progress!

The debug messages are gone, and cBB Chat is working again, as is AutoWords itself. As for QuickQuote, thar issue remains, quotes keep containing the links defined in AutoWords, like this:

Code: Select all
[quote="nou nou" post_id=48424 time=1716326708 user_id=2]Outside of the [url=<my website url>/Fusion18-6/Fusion18_Manual_files/part963.htm]Group[/url].[/quote]

User avatar
IvanPF
Administrator
 
Posts: 2242
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue May 21, 2024 9:39 pm • via Web
Compatibility with cBB QuickQuote will be work at 100% with the next release of QuickQuote. It will be available soon.
User avatar
nou nou
 
Posts: 180
Joined: Thu Nov 16, 2017 4:31 am
 Tue May 21, 2024 9:43 pm • via Web
Oh great! Thanks again

And if you could spare a moment for an SQL command to enable Forum only for all existing AutoWords that would be greatly appreciated!
User avatar
nou nou
 
Posts: 180
Joined: Thu Nov 16, 2017 4:31 am
 Thu May 23, 2024 4:53 pm • via Web
I had to turn it off again - getting these errors on several topic throwing an server error 500:

Code: Select all
[Thu May 23 07:33:46.345050 2024] [fcgid:warn] [pid 247638:tid 113681297692416] [remote 172.124.156.173:55392] mod_fcgid: stderr: #0 /home/<my website>/ext/canidev/autowords/event/listener.php(154): canidev\\autowords\\libraries\\parser->parse_dom('Hi. This thread...', 'post', '6'), referer: <my website>/viewforum.php?f=6
[Thu May 23 07:33:46.345053 2024] [fcgid:warn] [pid 247638:tid 113681297692416] [remote 172.124.156.173:55392] mod_fcgid: stderr: #1 /home/<my website>/vendor/symfony/event-dispatcher/EventDispatcher.php(214): canidev\\autowords\\event\\listener->modify_post_row(Object(phpbb\\event\\data), 'core.viewtopic_...', Object(phpbb\\event\\dispatcher)), referer: <my website>/viewforum.php?f=6
[Thu May 23 07:33:46.345056 2024] [fcgid:warn] [pid 247638:tid 113681297692416] [remote 172.124.156.173:55392] mod_fcgid: stderr: #2 /home/<my website>/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch(Array, 'core.viewtopic_...', Object(phpbb\\event\\data)), referer: <my website>/viewforum.php?f=6
[Thu May 23 07:33:46.345058 2024] [fcgid:warn] [pid 247638:tid 113681297692416] [remote 172.124.156.173:55392] mod_fcgid: stderr: #3 /home/<my website>/phpbb/event/dispatcher.php(62): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch('core.viewtopic_...', Object(phpbb\\event\\data)), referer: <my website>/viewforum.php?f=6
[Thu May 23 07:33:46.345061 2024] [fcgid:warn] [pid 247638:tid 113681297692416] [remote 172.124.156.173:55392] mod_fcgid: stderr: #4 /home/suw/www.steakunderwater.c in /home/<my website>/ext/canidev/autowords/libraries/parser.php on line 92, referer: <my website>/viewforum.php?f=6
[Thu May 23 07:33:47.697641 2024] [fcgid:warn] [pid 247638:tid 113681333196544] [remote 51.222.253.13:16948] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to a member function evaluate() on bool in /home/<my website>/ext/canidev/autowords/libraries/parser.php:92
[Thu May 23 07:33:47.697687 2024] [fcgid:warn] [pid 247638:tid 113681333196544] [remote 51.222.253.13:16948] mod_fcgid: stderr: Stack trace:
User avatar
IvanPF
Administrator
 
Posts: 2242
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Thu May 23, 2024 9:42 pm • via Web
he error is caused by something that includes a post. It can be a bbcode or similar. The log is not precise with this, to find the problem I would need the content of a post that gives the error

*Private content*
User avatar
nou nou
 
Posts: 180
Joined: Thu Nov 16, 2017 4:31 am
 Thu May 23, 2024 10:29 pm • via Web
Sent it to your email - but it's a looong post... there were several, when I get a moment I'll reactivate the extension and see if I can find you a simpler one.
User avatar
IvanPF
Administrator
 
Posts: 2242
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Sun May 26, 2024 3:26 pm • via Web
The [codebox] bbcode is part of another extension?
User avatar
nou nou
 
Posts: 180
Joined: Thu Nov 16, 2017 4:31 am
 Tue May 28, 2024 1:13 am • via iPhone
It is, yes. It’s also old and abandonware and needs code adjusted for php8 but it’s very good otherwise, been using it for years - I can send you the extension if you think it’s causing issues?
User avatar
IvanPF
Administrator
 
Posts: 2242
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue May 28, 2024 8:49 am • via Web
Yes, please. I need to test it.
Previous Next

Who is online

Users browsing this forum: No registered users and 0 guests