PHP Fatal error: Class 'Model_Comment' not found in C:\wamp\www\blog\fuel\app\tasks\initdb.php on line 127
PHP Stack trace:
PHP 1. {main}() C:\wamp\www\blog\oil:0
PHP 2. Oil\Command::init() C:\wamp\www\blog\oil:38
PHP 3. call_user_func() C:\wamp\www\blog\fuel\packages\oil\classes\command.php:99
PHP 4. Oil\Refine::run() C:\wamp\www\blog\fuel\packages\oil\classes\command.php:0
PHP 5. call_user_func_array() C:\wamp\www\blog\fuel\packages\oil\classes\refine.php:77
PHP 6. Fuel\Tasks\Initdb->run() C:\wamp\www\blog\fuel\packages\oil\classes\refine.php:0
Error - Class 'Model_Comment' not found in APPPATH/tasks/initdb.php on line 127
1146 Table 'fuel.fuel_migration' doesn't exist
I'll try with a fresh copy. Thanks!Jonathan Johnson wrote on Sunday 15th of May 2011:I just installed a fresh copy of fuel, configured the databases with table prefixes, enabled orm ran my example models through without issue, re-ran them to make sure they're removing the tables correctly with the prefixes. If you believe there is an issue here, feel free to create an issue on github, and I'll investigate further.
Installed a fresh copy of RC2.1- issue solved. Thanks again.Jonathan Johnson wrote on Sunday 15th of May 2011:I just installed a fresh copy of fuel, configured the databases with table prefixes, enabled orm ran my example models through without issue, re-ran them to make sure they're removing the tables correctly with the prefixes. If you believe there is an issue here, feel free to create an issue on github, and I'll investigate further.
Excellent. Thanks.Jonathan Johnson wrote on Wednesday 27th of April 2011:EDIT: The download from github should have 3 example models showing, belongs_to , has many, and many-to-many relationships
It looks like you're new here. If you want to get involved, click one of these buttons!