Forum

kohana: ErrorExcept...
 
Notifications
Clear all

kohana: ErrorException [ 0 ]: Call to undefined function mysql_select_db()

1 Posty
1 Users
0 Likes
1,076 Widok
0
Topic starter

need fix, php71, php72, php73 etc.

1 Answer
0
Topic starter

1. download https://github.com/tomlankhorst/kohana-3.3-mysqli
2. extract content of kohana-3.3-mysqli-masterclassesDatabase to
3. KOHANA_FOLDER/modules/database/classes/Database
4. change database type inside kochana db config from

'type'       => 'MySQL'

to

'type'       => 'MySQLi',

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: