Page 1 of 1

PHP errors when using the search function

Posted: Sat Sep 01, 2018 9:54 pm
by SentientTootsieRoll
I've noticed that this site will throw back PHP errors when I search something occasionally. I attached an example. Here, I searched "backpackers" and while the first page worked, the second page is what gave me the error.

Here's the URL: search.php?st=0&sk=t&sd=d&sr=posts&keyw ... s&start=10

And a screenshot of what I'm receiving:
php-error.PNG

Re: PHP errors when using the search function

Posted: Sat Sep 01, 2018 10:07 pm
by kman
Thanks for reporting that. I think I know what the issue is so I'll get to work on tracking it down.

For those who are curious, here's what's happening...

We have a plug-in to phpBB that enables YouTube videos to be embedded and played right inside a post. Unfortunately, whenever we upgrade the forums software, which last happened maybe 6 months ago, something with the way that plug-in works breaks the embedded videos. The only way we've found to fix it is to run a script on the database that corrects the YouTube URLs. Unfortunately, that script only seems to catch about 95% of the YouTube URLs and the ones we miss cause those search/PHP errors.

I'll try to track down the offending post and get that URL fixed. If you run across any other search terms that cause errors, feel free to report them here or PM me and I'll track them down.