What version of phpBB are you using? phpBB 3.2.2
What is your board's URL? [Redacted]
Who do you host your board with? Digital Ocean
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What extensions do you have installed? Ban Hammer
Profile side switcher
What styles do you currently have installed? Flat Style
What language(s) is your board currently using? British English
Which database type/version are you using? MySQL 5
What is your level of experience? New to phpBB but not PHP
What username can be used to view this issue? [Redacted]
What password can be used to view this issue? [Redacted]
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Attempted a search while logged in.
Please describe your problem. While logged in, attempting to use the standard search function in the search field at the top right of the forum index results in a 500 error.
nginx logs state
Code: Select all
FastCGI sent in stderr: "PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in vendor/symfony/polyfill-mbstring/Mbstring.php on line 431" while reading response header from upstream, client: [IP], server: [Server], request: "GET /search.php?keywords=test HTTP/1.1", upstream: [php version] [host] [referrer] I attempted to change the search type, but ran into the same problems. All boards are marked yes for search index.
Here is where it gets tricky. Changing it to Advanced Search by clicking the gear icon and changing the search type to Topics results in a completed search. Being logged out and using the standard search box also results in a completed search.
Generated by SRT Generator
Wondering if it is a PHP permissions issue with the server or something? I know I had to change some stuff to get the install working on nginx, but that was months ago. It is entirely possible this was the first time anyone has attempted to use the search function and it has been broken the entire time.
Any assistance would be greatly appreciated. Thank you.