Jump to content

Featured Replies

Posted

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

 

Solved by Marc

Go to solution

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. 

  • 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

 

  • 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?

  • 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.

  • Author

even so without access to the cp i wont be able to do anything about it

  • 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/

  • 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 by RyPingu

  • 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

  • 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

 

  • Community Expert

I suspect you enabled PHP 8 after you upgraded, which is why it will have not mentioned in the upgrade

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.

  • 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

Recently Browsing 0

  • No registered users viewing this page.