Hi,
I've worked on fixing the the mission chat today, as well as improving
the logging of errors.
For logging, I've added support for the two types of issues that
remained:
* PHP errors: now shown in log/php.log instead of directly in the
browser, which doesn't work well for ajax - make upgrade needed)
* dataobjects debug: you can control the amount of output it shows
in log/log_*.txt through the DEBUG variable in config.php.
Instead of turning dbobjects debug on/off it shows either only
errors (DEBUG=0) or all almost output (DEBUG=1)
Also, now the chat should redirect properly : ) I've separated the
redirect actions from the chat log in the JSON data that is sent to the
client.
Done:
* Fixed error 'Variable 'character_set_client' can't be set to the
value of 'NULL''
* Fixed notices in make phpcheck due to the added logger()
function
* Added script to retreive any configuration variable -
usage: ./bin/get_config_variable.sh ROOT_PATH
* Removing display of errors in the browser, output will go to
log/php.log instead
* Added dataobjects error logging to logger() - with DEBUG 0 shows
only errors, with DEBUG 1 shows full dataobject debug output
* Fixed dbobject debug appearing in proxy
* Fixed bug #676877 - Redirects by missions now works again.
Changed the structure of the data passed to js - now redirects
are sparate from the chat log
Xavier.
_______________________________________________
Farsides mailing list - [email protected]
Wiki: http://farsides.com/
List: http://farsides.com/ml/
Forum: http://farsides.com/forum/
Ideas: http://farsides.com/ideas/
Chat: http://farsides.com/chat/