#3088 - Logging out returns 500 error (stack trace provided)
| Identifier | #3088 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Logging out returns 500 error (stack trace provided) |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | cns_forum |
| Description | [20-Feb-2017 04:00:17 UTC] PHP Fatal error: Uncaught Error: Call to undefined function cms_srv() in sources/global2.php:1105
Stack trace: sources/global.php(95): in_safe_mode() sources/global2.php(155): require_code('ajax') sources/global.php(283): init__global2() sources/global.php(720): require_code('global2') index.php(80): require('/var/www/vhosts...') index.php(16): load() #6 {main} thrown in sources/global2.php on line 1105 This is thrown when attempting to log out. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
The fix is to move the cms_srv function from global3.php to global2.php.
A workaround is to remove the backdoor_ip line from _config.php (it can't be there at all, not even blank).