Cannot save topic with a lot of characters in it

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Cannot save topic with a lot of characters in it

Post by david63 »

Irrespective of what the problem is it most definitely is a hosting issue to provide logs.

Any host who cannot, or will not, provide access to the logs relating to your site either has something to hide or does not know how to configure a server. In either case they would not be a host that I would be prepared to do business with and I would be looking for a new host.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
AlfredoRamos
Recognised Extension Developer
Posts: 1302
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo
Contact:

Re: Cannot save topic with a lot of characters in it

Post by AlfredoRamos »

The error is not coming from my Spoiler BBCode extension, in fact, it's not coming from any BBCode at all.

The error is very different and it comes directly from phpBB/TextFormatter when you reach the maximum allowed characters inside a BBCode or tags.

In that hosting provider you need to enable the error logs yourself, which is really dumb in my opinion:

https://www.ionos.com/help/hosting/trou ... rror-logs/

I had an issue with a client some years ago with the error logs with IONOS, and their "tech support" (they shouldn't be called that) said that they do not provide support for it and basically we were on our own :lol:

Our solution was to move 7 websites from their platform to another service.

If you would like to go that route, I would advice to move your domain to another registrar first, and keep it that way: one company for hosting and another for the domain.
Some of my phpBB extensions:
:chart_with_upwards_trend: SEO Metadata | Image Markdown | :shield: hCaptcha
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user | Linux Boards :penguin:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Cannot save topic with a lot of characters in it

Post by 3Di »

AlfredoRamos wrote: Tue Aug 31, 2021 4:47 pm The error is very different and it comes directly from phpBB/TextFormatter when you reach the maximum allowed characters inside a BBCode or tags.
Perhaps this helps, not tested. https://github.com/s9e/phpbb-ext-nolimits
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Cannot save topic with a lot of characters in it

Post by thecoalman »

Zinnn wrote: Tue Aug 31, 2021 11:57 am edit/ and this is how the crashed site looks, all white with this message in the centre:
Can you do me a favor for future reference. Go into the ACP and on the maintenance tab see if any errors were logged by phpBB.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Zinnn
Registered User
Posts: 88
Joined: Sun Apr 21, 2019 8:14 am

Re: Cannot save topic with a lot of characters in it

Post by Zinnn »

AlfredoRamos wrote: Tue Aug 31, 2021 4:47 pm The error is not coming from my Spoiler BBCode extension, in fact, it's not coming from any BBCode at all.

The error is very different and it comes directly from phpBB/TextFormatter when you reach the maximum allowed characters inside a BBCode or tags.

In that hosting provider you need to enable the error logs yourself, which is really dumb in my opinion:

https://www.ionos.com/help/hosting/trou ... rror-logs/

I had an issue with a client some years ago with the error logs with IONOS, and their "tech support" (they shouldn't be called that) said that they do not provide support for it and basically we were on our own :lol:

Our solution was to move 7 websites from their platform to another service.

If you would like to go that route, I would advice to move your domain to another registrar first, and keep it that way: one company for hosting and another for the domain.

Thank you so much for looking into this, I really appreciate it. Just had a look at this page from Ionos - it says that to keep track of error I need to have file php.ini - which folder should I upload it to?

host/witchhouse (where the main website sits)

or

host/witchhouse/forum (where the forum is?)


thecoalman wrote: Wed Sep 01, 2021 8:17 am
Zinnn wrote: Tue Aug 31, 2021 11:57 am edit/ and this is how the crashed site looks, all white with this message in the centre:
Can you do me a favor for future reference. Go into the ACP and on the maintenance tab see if any errors were logged by phpBB.
No, nothing recent, last one is from 2020.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Cannot save topic with a lot of characters in it

Post by Mick »

Zinnn wrote: Wed Sep 01, 2021 9:44 amwhich folder should I upload it to?
Generally in public_html or httpdocs whichever you have, you can ask your host if you’re not sure, it’s their server.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Zinnn
Registered User
Posts: 88
Joined: Sun Apr 21, 2019 8:14 am

Re: Cannot save topic with a lot of characters in it

Post by Zinnn »

Another noob question:
Here:
https://www.ionos.com/help/hosting/trou ... rror-logs/

It says: "Replace /homepages/27/d382162338/htdocs/ with the absolute path to the home directory on your webspace (document root)."

what does this mean? Do I replace it with my domain name (i.e. "witch-house.com")? Or something else?
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Cannot save topic with a lot of characters in it

Post by david63 »

Zinnn wrote: Sun Sep 19, 2021 12:55 pm Do I replace it with my domain name
No - you do as it says and use the absolute path. If you don't know what it is then ask your hosts.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Cannot save topic with a lot of characters in it

Post by thecoalman »

Go into phpBB's ACP >> System tab >> php Information link on left

Look up the value for doc_root, it should be near the top under the core values.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Zinnn
Registered User
Posts: 88
Joined: Sun Apr 21, 2019 8:14 am

Re: Cannot save topic with a lot of characters in it

Post by Zinnn »

thecoalman wrote: Sun Sep 19, 2021 11:32 pm Go into phpBB's ACP >> System tab >> php Information link on left

Look up the value for doc_root, it should be near the top under the core values.
it says no value for both Local and Master


edit.

What's also weird is that over a month ago I was able to save the first post of this thread without any issues (with all the links and spoilers):
https://witch-house.com/forum/viewtopic.php?f=2&t=1023

Today, I tried to test save half of this content (just one spoiler, with 60% of the links removed), and to no avail - same error:
The page you are looking for is temporarily unavailable.
Please try again later.
90e9a7b66fac9cd866ca3e2955ec4e8c d5095b9d2feb4dfd1bfdc366c8e4fd8f 4c0c0ffff29e94ef0484ce31fc01ae72
Zinnn
Registered User
Posts: 88
Joined: Sun Apr 21, 2019 8:14 am

Re: Cannot save topic with a lot of characters in it

Post by Zinnn »

I just tried to re-create the lists from that faulty thread in another thread - and got this error:
General Error
SQL ERROR [ mysqli ]

MySQL server has gone away [2006]

SQL

SELECT g.group_name FROM phpbb_user_group ug JOIN phpbb_groups g ON (ug.group_id = g.group_id) WHERE ug.user_id = 2 AND g.group_name = 'NEWLY_REGISTERED'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 195
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/cleantalk/antispam/event/main_listener.php
LINE: 166
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 214
CALL: cleantalk\antispam\event\main_listener->check_comment()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 44
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/posting.php
LINE: 1395
CALL: phpbb\event\dispatcher->trigger_event()
Can anyone help me understand this?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Cannot save topic with a lot of characters in it

Post by Brf »

Zinnn wrote: Wed Sep 22, 2021 12:06 pm
CALL: cleantalk\antispam\event\main_listener->check_comment()
try disabling that cleantalk antispam extension.
Zinnn
Registered User
Posts: 88
Joined: Sun Apr 21, 2019 8:14 am

Re: Cannot save topic with a lot of characters in it

Post by Zinnn »

Brf wrote: Wed Sep 22, 2021 1:14 pm
Zinnn wrote: Wed Sep 22, 2021 12:06 pm
try disabling that cleantalk antispam extension.
Holy crap, why didn't I try that in first place - it wasn't the cleantalk extension that was causing all those issues - it was this little thing:
Autoimage
viewtopic.php?f=456&t=2590906

I've disabled it and now I can save that huge list from my first post. Topic closed :) I will edit the first post with my solution in case anyone else has the same problem. Thank you everyone for their help!
Post Reply

Return to “[3.3.x] Support Forum”