Closed scootergrisen closed 9 years ago
See issue #183
@scootergrisen, try edit code in line 31 of AJAXChatLanguage.php like this:
// if(empty($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { if(empty($request->server['HTTP_ACCEPT_LANGUAGE'])) {
I have deleted the chat on my website now. But as i remember $_SERVER was used in a lot of places.
_SERVER was used in a ton of places, along with _REQUEST and _POST. The solution was to enable access to superglobals via $request->enable_super_globals(); in custom.php
Seems direct access to $_SERVER is not allowed in phpBB 3.1. So could you update the code so it works with phpBB 3.1 ?