Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 11, 20222 yr 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
July 11, 20222 yr 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.
July 11, 20222 yr Author 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
July 11, 20222 yr Author 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?
July 11, 20222 yr Community Expert Your server PHP error log should have some information about which application may be causing the problem. It would be worth checking there.
July 11, 20222 yr Community Expert 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/
July 11, 20222 yr Author 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, 20222 yr by RyPingu
July 11, 20222 yr Community Expert Solution 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
July 11, 20222 yr Author weird it didn't mention anything when i did the upgrade - said everything was met. have enabled teh extension now and all working again
July 11, 20222 yr Community Expert I suspect you enabled PHP 8 after you upgraded, which is why it will have not mentioned in the upgrade
July 11, 20222 yr 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.
July 11, 20222 yr Community Expert 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