asterisk2billing.org http://forum.asterisk2billing.org/ |
|
Illegal string offset 'CSRF_TOKEN' http://forum.asterisk2billing.org/viewtopic.php?f=34&t=10479 |
Page 1 of 1 |
Author: | ubunter [ Thu Sep 05, 2013 5:44 pm ] |
Post subject: | Illegal string offset 'CSRF_TOKEN' |
Hello, I'm not really if this is a bug, or misunderstanding, excuse me in advance;) The CSRF_TOKEN implementation in A2B since version 2.0 is a great security improvement, even, we have no documentation or specific information about this yet.... Anyway, the unique which I did here is generating a CSRF_Token code for my system, and store it in the a2billing.conf with the DB credentials file... But now, I just detected when I need to do some actions, are not working, and having warning message in the log. For exemple, I go to Providers-trunk, and then open an existing provider to edit something in the config, then issue save... i discover that nothing is being saved to DB, and no way yo edit the provider config... to do that I had to go to edit it directly in the DB. In the Log i have this: Quote: [Wed Sep 04 12:36:23 2013] [error] [client 2.140.4.54] PHP Warning: Illegal string offset 'CSRF_TOKEN' in ./a2billing/common/lib/Form/Class.FormHandler.inc.php on line 557, referer: http://mysite.com/admin/Public/A2B_enti ... ?section=1 What's wrong here, please?! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |