[Deprecated] DMZ 1.6.2 (DataMapper OverZealous Edition) |
[eluser]OverZealous[/eluser]
[quote author="NachoF" date="1266624303"] But for some reason when I try to access its properties elsewhere in my app I get Quote:Message: Trying to get property of non-object error[/quote] I'm guessing you are coming across this error or you have a database field name or related field that overides a Reserved Name. (There's a reason for the list at the top of the Troubleshooting page.) Remember, there are no namespaces in PHP (<6.0), which means there can only be one class per name. This means that you cannot have a model named Session if you have a library named Session. (MY_Session and CI_session are OK, though.) |
Welcome Guest, Not a member yet? Register Sign In |