Skip to main content ↑ ↓
Recent Posts
54
Bug Reports / Re: 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.
56
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.
57
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
58
Showcase / Re: Scott's Blog
Last post by Hj Ahmad Rasyid Hj Ismail -
Nice. I mainly surfed into autism category because I have interest in it and I noted you have autism.

No worries, my eldest child (son now 20) also has been diagnosed with mild autism in UK in 2009. He and other children inherited my inverted chromosome DNA, which is claimed by certain quarters as one of the earliest mark of autism possibilities.

I remember when Coventry Autism Support counselor came to me, after me and my son's blood test result, stated that I also have an inverted chromosome DNA, questioning most of my early life, though we both glad and agreed that I am not autistic.

Now in Malaysia, my second child (daughter now almost 16) recently detected as showing symptoms of ADHD, another unofficial autism spectrum. She met a psychiatrist to undergo a psychiatric evaluation this afternoon, after several counseling sessions earlier.

We are arranging for our last child (son now 10), to also have a psychiatric evaluation later next week, though he does not display any of the symptoms of autism, just to be safe and sure, and more prepared this time round.

Sorry for talking more about autism rather than only about your site.

Best wishes.
59
Showcase / Scott's Blog
Last post by ScottJB -
Due to the nature of my site, a blog about medical and developmental disorders, and having pics of diapers, I was a bit hesitant about sharing the site in Showcase. However, after all the work I did, I felt I just had to do so.

I'd like your opinion on how I made the site.

Scott's Blog