I'm currently deploying a CakePHP site that works fine in one environment (staging), but then encounters errors in another (live). The error... my result array keys in staging reflect the joined tables while my array keys in live are numeric. This means, on live, when I state $my_var = $results['MyModel']['myData'], 'MyModel' is not a valid index. However, $results[0]['myData'] is valid bc the key has been converted to a numeric index.
Any ideas on what would cause this? If so, I could hunt down the difference between the environments. Thanks! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
