Stabs into the dark: a) your local PHP has a lower debug level than your production server, i.e. your local system doesn't complain about missing indexes but your server does b) the associated model can't be fetched because your database setup is different/misconfigured
Hope that helps, Dav On 30 Sep 2008, at 06:26, Pieter Van Leuven wrote: > > Hello people, > > I have a strange problem i ran into with CakePHP. On my local machine > all works fine. When I upload the complete project to my webhost, the > problems begin. > > For example: when I query posts from the database. All fields of this > posts are shown fine (for example $post['Post']['title'], but all > relative data like for example the username ($post['User'] > ['username']) gives an error similar to 'Notice (8): Undefined > index:'. Someone an idea what the problem could be? > > Could this be a know problem? I tried to search, but it is difficult > with that less information. > > Some things I already thought of: > - Version difference of apache/mysql from my local machine/webhost > server > - windows newlines on my local machine versus webhost server (not > tested yet) > > Local server: > - Apache/2.2.9 (Win32) > - mysql/5.0.51b with phpMyAdmin/5.0.51b > - vista > > Webhost server: > - Apache/2.2.3 > - mysql/5.0.32-Debian_7etch6-log with phpMyAdmin/5.0.32 > - debian > > Already thanks for reading this folks! > > Kind regards, > Pieter Van Leuven > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
