• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Can't access admin panel or site

Matthew Hawley

Well-known member
So I added this to the config.php

// $config['enableListeners'] = false;

And then I got this error

Parse error: syntax error, unexpected T_VARIABLE in /home/xxx/public_html/xxx/store/library/config.php on line 1
I THINK this might be because of @Chris Deeming 's Debug from Admin Panel addon. I enabled debug. And when I saved it in the admin panel i think it might have conflicted with the debug addon, because the $config['debug'] = true; wasn't in the config.php.

EDIT: nvm got it to work lol