cakephp - Form data is hashed in CakeRequest after upgrade to cakephp2.x -


i performed upgrade cakephp 1.3 2.06. when attempt access form data in controller, data hashed so:

2015-10-15 08:43:57 error: cakerequest object ( [params] => array     (         [plugin] =>          [controller] => custom_users         [action] => ajax_login         [named] => array             (             )          [pass] => array             (             )          [isajax] => 1     )  [data] => e1fe8b4c1724c30148e306708f27b30909f23d45 

i checked form correctly formed on front end. documentation indicates should able access data way, reason behaviour happening in stead. ideas?

i've added trace when try , submit form:

notice: array string conversion in /var/www/html/academy/lib/cake/utility/security.php on line 92  notice: undefined offset: 1 in /var/www/html/academy/lib/cake/network/cakeresponse.php on line 456  warning: illegal string offset 'customuser' in /var/www/html/academy/app/controller/customuserscontroller.php on line 569  warning: illegal string offset 'username' in /var/www/html/academy/app/controller/customuserscontroller.php on line 569  warning: illegal string offset 'customuser' in /var/www/html/academy/app/controller/customuserscontroller.php on line 570  warning: illegal string offset 'password' in /var/www/html/academy/app/controller/customuserscontroller.php on line 570  warning: implode(): argument must array in /var/www/html/academy/lib/cake/utility/security.php on line 92  fatal error: call undefined method customauthcomponent::getmodel() in /var/www/html/academy/app/controller/component/customauthcomponent.php on line 242 


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -