If you were using 3.3.x version, there are 7 breaking changes that may affect you, be aware.
$subdomain = NULL
, if you are extending the class and this function add it.'encrypt' => MODPATH.'encrypt',
config/database.php
and then set as 'type' => 'MySQLi'
config/cache.php
and configure apcu.config/cache.memcached.php
and configure memcached.Kohana_*
to KO7_*
since Version 4.0, but don't panic, all Kohana_*
classes are still available. See Backwards Module.The Kohana Backwards Compatibility Module ensures all Kohana_*
class names will still be available after upgrade. These class callings should be replaced with KO7_*
. They are deprecated since version 4.0.0 and will be removed in further versions.
To ensure full compatibility, the module get's loaded before all other modules and classes are even available right after the autoloader function.
Make sure that inside bootstrap.php
everywhere before spl_autoload_register
, you don't use Kohana_* Classes
as they won't be available.
Everywhere after that you are free to use them, as they will be loaded there.
If you included files from SYSPATH
directly via require
or something, you have to Update them to use new Koseven class/folder name.
Koseven searches for Kohana files inside MODPATH . 'kohana'
. So don't rename the module folder and also check if it is inside your MODPATH
(in case you have overwritten your MODPATH
)