[eluser]broofa[/eluser]
Hi, I'm trying to upgrade from the stensi.com version of DM to the DMZ version and would like to share some feedback since it's not going as smoothly as I had hoped.
First, it's not exactly easy to discover that DMZ is the natural successor to stensi.com's original DM implementation. It'd be really nice if there were a big, fat, "Deprecated!" message on stensi.com that linked to the DMZ site. (The only reason I'm on the stensi version is that I didn't discover DMZ implementation until today )
As far as the upgrade, my code is pretty basic, as is my DB configuration. I was hoping this would be a simple matter of replacing a couple files (as per upgrade instructions). However, here are the stumbling blocks I've encountered so far (using CI 1.7.2, fwiw)...
- The instructions for the new config options make it sound like there are reasonable defaults chosen for you if you want to just leave your old config file in place. That's not the case - you get errors if some of the new options aren't defined, so it probably makes sense to tell people to migrate their old options into the new config file.
- With default lang_file_format setting, I get "Call to a member function item() on a non-object" error @ datamapper.php:484. Using $config['lang_file_format'] = '' fixes the problem.
- With dp_params='' I get "Undefined property: Entry::$db" error @datamapper.php:1063. Using $config['db_params'] = FALSE fixes the problem.
And, having worked through the above, I'm now getting "Call to a member function line() on a non-object" @ datamapper.php:5707. I'm not sure what the problem is yet, but I have to think at this point that I'm missing some vital configuration step that's causing me to run into this series of errors.