I just looked at the code for 2.0.3. There was a change that broke Sparks.
It looks like they changed _ci_autoloader() to ci_autoloader.
Do not use 2.0.3 if you have any external code dependencies whatsoever.
Thanks for your great screencast series.
Yet i tried suggestion to replace _ci_autoloader and seems to still getting “Fatal error: Class ‘Users’ not found ...”:
http://ellislab.com/forums/viewthread/199778/Not sure if I can try anything else?
Gleb
The issue is that your php-activerecord spark isn’t loading. The fix to MY_Loader.php (replacing ALL instances of _ci_autoloader with ci_autoloader) should be enough to get this functionality back. As a test, try to run $this->load->spark(‘php-activerecord’) before the User class is utilized.