Closed (won't fix)
Project:
phpFreeChat integration
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2007 at 20:35 UTC
Updated:
13 Dec 2007 at 09:43 UTC
The handler.php script needs to return absolute pure XML output; if not, phpfreechat fails.
If, for any reason, PHP outputs any errors, notices, or warnings, phpfreechat will fail.
Obviously, this can be solved by globally turning off error and notice and warning reporting, but in order to mitigate this problem for all users with a minimum of fuss, i have modified the helper.php as follows:
<?php
// $Id:
/** Make sure the returned XML does not have PHP error messages in it */
ini_set('display_errors', 0);
ini_set('display_startup_errors',0);
error_reporting(E_ERROR);
... rest of the code.
Comments
Comment #1
owahab commented