Skip to main content
Recent Posts
1
Addons / Re: [bbcode] HTML5 Video Audio BBC
Last post by ScottJB -
Quote from: Spuds – That will be available in the gallery version 2.0, just finished adding it this AM.  if its a video or audio file then it will embed the standard html player when you add the media tag to your post.

That sounds good, but some videos are stored on my image site where have the URL's for them.
That's why really needed this addon for 2.0, so did not have to make a videos section and re-upload.
2
Addons / Re: [bbcode] HTML5 Video Audio BBC
Last post by Spuds -
That will be available in the gallery version 2.0, just finished adding it this AM.  if its a video or audio file then it will embed the standard html player when you add the media tag to your post.
7
General ElkArte discussions / Re: Load time achievement
Last post by Spuds -
I've installed this on a few machines now and have not exactly been able to replicate the slowdown you reported.  I've tried Apache, Nginx, PHP 8.2-8.5, MySql and Mariadb. 

One thing I did notice while testing, using vhosts .... I had PHP set as on-demand (ispconfig default) and it would take a good 3-5 seconds to respond.  It would also shoot out random token failure when in the admin panel.

The default pm.process_idle_timeout is 10s, and with pm = ondemand it means the PHP-FPM worker gets killed 10 seconds after going idle. Any time testing gaps between tries were long then every "new" request was a cold start and it would spawn a new PHP process, initialize extensions, reconnect to MySQL, and repopulate OPcache/APCu , all before the page starts rendering.

Anyway In production I always use dynamic workers so I was not familiar with the performance of ondemand.  For testing I set it to static and a few workers.  Just thought it was interesting.
9
Bug Reports / Re: Post - Make_Event error
Last post by Spuds -
Bots having fun ... that line is about to give them the boot as well.  Lets make a small edit:

from
if (empty($board) && !$context['make_event'])
to
if (empty($board) && empty($context['make_event']))

Should prevent that error, I'd need to check on some other things in a bit.
10
Bug Reports / Post - Make_Event error
Last post by ScottJB -
This was originally caused by a search engine, and I followed the link and got the error.
However, not too sue if anyone would ever get just action=post as usually shows a board.
I do not have calendar enabled, so no idea why make event is even called for.


Code: [Copy]
Type of error: Undefined
 Warning: Undefined array key "make_event"
 /index.php?action=post
 File: /sources/ElkArte/Controller/Post.php—Line:205

Code: [Copy]
Warning: Undefined array key "make_event"
#0: {closure:ElkArte\Errors\ErrorHandler::__construct():53}()
Called from: /sources/ElkArte/Controller/Post.php line: 205
#1: _beforePrepareContext()
Called from: /sources/ElkArte/Controller/Post.php line: 117
#2: action_post()
Called from: /sources/ElkArte/Controller/Post.php line: 83
#3: action_index()
Called from: /sources/ElkArte/SiteDispatcher.php line: 421
#4: dispatch()
Called from: /index.php line: 143
#5: elk_main()
Called from: /index.php line: 71