The following warnings occurred:
Warning [2] Undefined array key "sourceeditor" - Line: 718 - File: inc/plugins/rineditor.php PHP 8.3.25 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/rineditor.php 718 errorHandler->error_callback
/inc/plugins/rineditor.php 776 rineditor_inserter_quick
/inc/class_plugins.php 142 rineditor
/showthread.php 471 pluginSystem->run_hooks



Pages (3):    1 2 3
Laird   24-09-2024, 02:00 PM
#21
(24-09-2024, 09:49 AM)antoineboy57 Wrote: Perfect !

Thank you for your kind answer.
The actions in the administration panel are working until the end
  • All 742 links have been successfully extracted from all 1,234 posts.
  • 26 of 742 links have not been resolved into their terminating links. Attempts have been unsuccessfully made for all 26 of them. None of these links is eligible for another resolution attempt right now: reattempts of failed resolutions are subject to staggered delays as there is typically no point in retrying immediately; instead, the need is to wait for any network/server problem(s) to be fixed.
My forums are not crashing anymore for https://www.cae-eco.fr/

X.com links are working.

Great, thanks for the feedback.

(24-09-2024, 09:49 AM)antoineboy57 Wrote: Problems not solved :

Can you please be more specific about what the problem is exactly?

(24-09-2024, 09:49 AM)antoineboy57 Wrote:
  • if i am trying to put a link-previewers-3rd-party it is also crashing (i have tried to put the old LinkPreviewerTwitterStatus.php but maybe i don't know the way to write link previewer correctly)

Did you rename the class? You can't have two classes with the same name.

(24-09-2024, 09:49 AM)antoineboy57 Wrote: For future requests, would you prefer to exchange here or in the github?

Here seems to be working, but GitHub is fine too.
antoineboy57   25-09-2024, 01:32 PM
#22
(24-09-2024, 02:00 PM)Laird Wrote:  
(24-09-2024, 09:49 AM)antoineboy57 Wrote: Problems not solved :

Can you please be more specific about what the problem is exactly?

when I try to send a pdf link, it ends with a blank page on

.../newthread.php?fid=nb&processed=1

BUT apparently topics and replies are well created
(need to reload the forum url)
 
(24-09-2024, 02:00 PM)Laird Wrote:  
(24-09-2024, 09:49 AM)antoineboy57 Wrote:
  • if i am trying to put a link-previewers-3rd-party it is also crashing (i have tried to put the old LinkPreviewerTwitterStatus.php but maybe i don't know the way to write link previewer correctly)

Did you rename the class? You can't have two classes with the same name.

Ok it is working
with the class LinkPreviewerXStatus
antoineboy57   27-09-2024, 10:01 AM
#23
Humm apparently now when posting links
newreply.php?tid=461&processed=1
blank page
Need to combe back to the forum to see the forum updated.
Laird   27-09-2024, 12:28 PM
#24
(25-09-2024, 01:32 PM)antoineboy57 Wrote: when I try to send a pdf link, it ends with a blank page on

.../newthread.php?fid=nb&processed=1

BUT apparently topics and replies are well created
(need to reload the forum url)

Probably, your connection to the web server is timing out as the server tries to download the PDF: currently, all links in a post are downloaded right then and there when the post is submitted.

It might be worth my adding a setting to allow deferring those downloads to the regular Link Tools task that runs.
(25-09-2024, 01:32 PM)antoineboy57 Wrote: Ok it is working
with the class LinkPreviewerXStatus

Good to know.

Just to be clear: with the fixes I linked to in my last post, you shouldn't need any custom previewers for x.com (and the original twitter.com) links to work, so let me know if you do, because that's a bug.
antoineboy57   27-09-2024, 05:15 PM
#25
Quote:Probably, your connection to the web server is timing out as the server tries to download the PDF: currently, all links in a post are downloaded right then and there when the post is submitted.

Strange, it's happening everytime, with firefox blank page, with Brave it's written "
[align=start]Error[/align]
HTTP ERROR 500". But on my smartphone with Iceweasel no problem .
antoineboy57   08-10-2024, 07:33 AM
#26
after a time of adaptation, i think now the plugin is working properly (no HTTP ERROR 500)
antoineboy57   18-10-2024, 08:38 AM
#27
No there is still an issue apparently when you are posting only a link. blank page.
Laird   18-10-2024, 03:56 PM
#28
(18-10-2024, 08:38 AM)antoineboy57 Wrote: No there is still an issue apparently when you are posting only a link. blank page.

I can't reproduce this. Can you please provide a recipe to reproduce it?
antoineboy57   05-06-2025, 08:43 AM
#29
Thanks to ChatGPT, I discovered why I was getting a 500 error!
The issue is in
linktools.php
, line 3393:
 
lkt_store_urls($g_lkt_links_incl_vids, $g_lkt_redirs, $g_lkt_got_terms, $posthandler->pid);

I have commented out this line. Everything works fine now, but I am wondering: is the storage function actually necessary for the plugin to work correctly?


---------Bug Report: Fatal Error when calling
[b]lkt_store_urls()[/b]
due to missing
[b]spam_class[/b]
columnSummary:
When submitting a post containing a link, the plugin attempts to call the function
 
lkt_store_urls($g_lkt_links_incl_vids, $g_lkt_redirs, $g_lkt_got_terms, $posthandler->pid);

which leads to a fatal error because the SQL query refers to a
spam_class
column that does not exist in the database.Error message:
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'spam_class' in 'INSERT INTO' in mybbforum/inc/db_mysqli.php:335
Stack trace:
#0 mybbforum/inc/db_mysqli.php(335): mysqli_query()
#1 mybbforum/inc/db_mysqli.php(378): DB_MySQLi->query()
#2 mybbforum/inc/plugins/linktools.php(1939): DB_MySQLi->write_query()
#3 mybbforum/inc/plugins/linktools.php(3396): lkt_store_urls()
#4 mybbforum/inc/class_plugins.php(142): lkt_hookin__datahandler_post_update_or_merge_end()
#5 mybbforum/inc/datahandlers/post.php(2032): pluginSystem->run_hooks()
#6 mybbforum/editpost.php(565): PostDataHandler->update_post()
#7 {main} thrown in mybbforum/inc/db_mysqli.php on line 335
This post was last modified: 05-06-2025, 08:49 AM by antoineboy57.
Laird   05-06-2025, 08:56 AM
#30
That column should be added on upgrade. Maybe you forgot that the upgrade procedure requires that you deactivate the plugin before copying the new files and then activate it again afterwards. Try deactivating then reactivating it now.
Pages (3):    1 2 3
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2025 MyBB Group.
Made with by MattyWjeisz of Curves UI.