MyBB Community Forums

Full Version: My forum does not work anymore (error 500)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, my forum sudently stopped to work, and i only recieve error 500 instead of the index. 
Nothing has been changed for months, and i have no idea why it happened. 

I can still manage to get on my admin panel. 

I'm not a develloper, so i'm totaly lost. The forum is  linked to a non profit organization, and people kinda need our help (harm reduction), so i need to find a way to fix it asap. 

Does anyone have any ideas of what i could try ? 

Error Logs on the server looks like that:
https://i.imgur.com/qRSJaJT.png

And line 20 of config.php is this one:

require_once $work_dir.'/inc/init.php';

and ini.php has not changed for a long time, i even tried to replace it with a few months old backups. 

Thanks for anyone trying to help ! Smile
If you're on MyBB 1.8.24, first few lines of the ./global.php file should look like (via:
$working_dir = dirname(__FILE__);
if(!$working_dir)
{
	$working_dir = '.';
}

$shutdown_queries = $shutdown_functions = array();

// Load main MyBB core file which begins all of the magic
require_once $working_dir.'/inc/init.php';

Check if this file has been modified.
That was it !

I don't know why, but $working_dir was $work_dir and it seems it was the pb

thanks a lot !