ErrorException [ Deprecated ]: Function mcrypt_get_iv_size() is deprecated

APPPATH/classes/CSRF.php [ 90 ]

85       }
86 
87       return $token;
88     }
89 
90     $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB);
91     $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
92 
93     if ($encrypt) {
94       $token .= '||' . time();
95       return bin2hex(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, self::_secret_key(), $token, MCRYPT_MODE_ECB, $iv));
  1. APPPATH/classes/CSRF.php [ 90 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/CSRF.php [ 40 ] » CSRF::encrypt(arguments)

  3. APPPATH/classes/Form.php [ 38 ] » CSRF::token(arguments)

  4. APPPATH/views/frontend/contact.php [ 51 ] » Form::open(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  8. APPPATH/views/frontend/template.php [ 125 ] » Kohana_View->__toString()

  9. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  10. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  11. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  12. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

  13. {PHP internal call} » Kohana_Controller->execute()

  14. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  15. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  16. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  17. DOCROOT/public/index.php [ 118 ] » Kohana_Request->execute()

Environment

© 2018 eWypozyczalnie.pl