[eluser]ianbborg[/eluser]
Hi there, I'm developing my first application with DMZ datamapper and it does save me alot of time so thanks for taking the time to develop it.
I'm having a problem with relationships, are the models of a relationship auto-loaded? or do I need to load them in the constructor... Without loading the models I get this error message from php -
Code:
Fatal error: Class 'town' not found in C:\xampp\htdocs\NEWSDT\sdt\application\libraries\datamapper.php on line 4472
I have searched everywhere and found no solution but in the examples the models of a relationship arent loaded.