#3088 - Logging out returns 500 error (stack trace provided) This is a spacer post for a website comment topic. The content this topic relates to: #3088 - Logging out returns 500 error (stack trace provided) By Guest posted 24th Feb 2017, 5:07 PM Do not fill this field in. Only would happen if ajax.php is overridden and CORS is active (multi-domain login). By Guest posted 24th Feb 2017, 5:37 PM odd. I don't remember having CORS activated. I'll check and disable it if it is since I don't need it. By Guest posted 24th Feb 2017, 5:41 PM If you run across multiple-domains then the browser will automatically use CORS and Composr will automatically respond to it. 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). By Guest posted 26th Feb 2017, 3:29 PM Ah okay that makes sense then. I added a require_code on my end and it fixed the issue. By Guest posted 26th Feb 2017, 4:18 PM I think you mean moving/copying the require_code('global3') further up in init__global2. That should work, the only reason I didn't is a small performance hit for the requests we've made to not need it. 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
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).