Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重大度: 通知
メッセージ: 未定義のプロパティ: my_controller::$db
ファイル名: libraries/Session.php
ライン番号: 88
使用する
$this->load->database();
すべてのデータベース操作の前に。または application/config/autoload.php を開いて検索します
$autoload['libraries'] = array(); それをに置き換えます
$autoload['libraries'] = array('database','session');