rainframework icon indicating copy to clipboard operation
rainframework copied to clipboard

require DB.php

Open adamhesim opened this issue 12 years ago • 1 comments

You seem to have an issue in the latest version, function init_db at Loader.php:238 try to access DB::DEFAULT_CONNECTION_NAME but DB.php is never included or required. This cause an "Fatal error: Class 'DB' not found".

I solved it just by adding require_once LIBRARY_DIR . "DB.php";

at Loader.php:20

adamhesim avatar Jan 10 '13 00:01 adamhesim

its fixed. In db config missing <?php at beginn and change loader

onkelzfreak1988 avatar Jan 10 '13 09:01 onkelzfreak1988