Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
RyPingu Posted July 11, 2022 Posted July 11, 2022 https://forum.wirralvikings.org.uk/ getting a http 500 error on both main forum and admin area. have performed a database check and db is showing no errors. no rogue/overruninng php processes seem to be running any advice on where else to look? php version is 8.0 btw and invison version is 4.7
Lesterius Posted July 11, 2022 Posted July 11, 2022 Hi, I had exactly the same issue after upgrading. By the way the cause was an obsolete Application (Community map) After disabling it, I could see my Community back alive. Hoping that it will help.
RyPingu Posted July 11, 2022 Author Posted July 11, 2022 sadly i cant getinto my admin cp either. have tried looking at adding the constants.php with the recovery script but thats not working either
RyPingu Posted July 11, 2022 Author Posted July 11, 2022 just pondering on if uploading a fresh version of teh software would help... also out of interest if i have purchased standard support why do i no longer have teh ability to raise a support ticket?
Stuart Silvester Posted July 11, 2022 Posted July 11, 2022 Your server PHP error log should have some information about which application may be causing the problem. It would be worth checking there.
RyPingu Posted July 11, 2022 Author Posted July 11, 2022 even so without access to the cp i wont be able to do anything about it
Marc Posted July 11, 2022 Posted July 11, 2022 In the first instance, you need to find out the cause. It is extremely likely if you have just moved to PHP 8 ,you are either missing a requirement, or you have 3rd party items which are not yet compatible with that version of PHP Ensure first of all you have tested with the requirement checker if you have changed PHP version https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
RyPingu Posted July 11, 2022 Author Posted July 11, 2022 (edited) Stack trace: #0 /home/wirralvikings/public_html/init.php(1597): IPS\IPS::init() #1 /home/wirralvikings/public_html/index.php(12): require_once('/home/wirralvik...') #2 {main} thrown in /home/wirralvikings/public_html/init.php on line 558 557 /* Set default MB internal encoding */ 558 mb_internal_encoding('UTF-8'); Edited July 11, 2022 by RyPingu
Solution Marc Posted July 11, 2022 Solution Posted July 11, 2022 We need the error message itself, rather than just the stack trace. I suspect you are missing the mbstring PHP extension. As mentioned, you need to ensure you have used the requirement checker Edit: I see you have uploaded that now. Indeed you are missing the mbstring php extension, which is a requirement SeNioR- 1
RyPingu Posted July 11, 2022 Author Posted July 11, 2022 weird it didn't mention anything when i did the upgrade - said everything was met. have enabled teh extension now and all working again
Marc Posted July 11, 2022 Posted July 11, 2022 I suspect you enabled PHP 8 after you upgraded, which is why it will have not mentioned in the upgrade
nodle Posted July 11, 2022 Posted July 11, 2022 I don't know if this is anything related, so I thought I would throw it out there. But recently I started getting an http 500 errors here and there. I have never had them before, so I started to back track what I have changed recently. I ended up enabling opcache the other day and when I un-enabled it I haven't had an error since. Your case may vary.
Marc Posted July 11, 2022 Posted July 11, 2022 1 minute ago, nodle said: I don't know if this is anything related, so I thought I would throw it out there. But recently I started getting an http 500 errors here and there. I have never had them before, so I started to back track what I have changed recently. I ended up enabling opcache the other day and when I un-enabled it I haven't had an error since. Your case may vary. Unrelated in this case, as this was PHP8 not having the minimum required extensions. However thank you for sharing the information as it may be helpful to others
Recommended Posts