views:

71

answers:

1

I'm using PHP Doctrine and i've setup autoloading:

spl_autoload_register(array('Doctrine', 'autoload'));
spl_autoload_register(array('Doctrine', 'modelsAutoload'));

I can create a table like so:

$table = Doctrine_Core::getTable('TableName');

However if I try it like this, it doesn't work, what am I missing?:

$table = new TableNameTable(); //Yes it should be TableNameTable
A: 

Turned out to be a configuration mistake. Loadingtype should NOT be set to PROGRESSIVE.

Ropstah