Upgrading Kohana to Koseven

upgrade
migrate

#1

Upgrading from Kohana

If you were using 3.3.x version, there are 6 breaking changes that may affect you, be aware.
Please Note: Upgrading from Kohana to Koseven is only possible on Koseven master branch. Do NOT use any other branch for upgrading, as this may break your application.

  • Kohana_Kohana_Exception, all functions that received parameter Exception $e have been replaced to just $e. If you are extending the class verify you have the same.
  • Kohana_URL, now function site has a new parameter $subdomain = NULL, if you are extending the class and this function add it.
  • Module encrypt, now encryption works as a module, if you are using new Encrypt or similar you need to enable the module in your bootstrap ex: 'encrypt' => MODPATH.'encrypt',
  • MySQL driver has been removed. If you are still using it, please install MySQLi driver and then edit your config/database.php and then set as 'type' => 'MySQLi'
  • APC driver has been removed. If you are still using it, please install APCu driver and then edit your config/cache.php and configure apcu.
  • Memcache driver has been removed. If you are still using it, please install Memcached driver and then edit/create your config/cache.memcached.php and configure memcached.

New modules included

  • Encrypt (separated from system)
  • Pagination