Ok, I'm pretty sure that I've got it narrowed down to not being the
environment.  I think it has something to do with the
hasAndBelongsToManyRelationship I defined for the model used in the
first element.  Please keep in mind that this exact same element does
in fact work on other pages.  I have a similar declaration in the
Contest model, and that code seems to all be working properly.  Here
is the code:

//app/plugins/profile/models/profile_media.php
    var $name = 'ProfileMedia';
    var $recursion = -1;

    var $hasAndBelongsToMany = array(
          'Contest' =>
            array('className'   => 'Contest',
                'joinTable'     => 'contests_profilemedias',
                'foreignKey'    => 'profileMedia_id',
                'fields'        => array('Contest.id', 'Contest.name',
'Contest.short_description',
                                        'Contest.graphics_folder',
'Contest.thumbnail_filename'),
                'uniq'          => true
                )
            );

On May 6, 9:51 am, Sliv <[EMAIL PROTECTED]> wrote:
> Well, I don't want to mislead you, but I would try doing the ol'
> "comment everything and backstep"... also try setting debug to 0 to
> see if there's any different result.  My point was just that these
> kinds of things I think are like segmentation faults where you try to
> find a problem in the code and realize it's an issue with the PHP
> compile, but I could be wrong. Often it's worth setting up a vmware
> LAMP environment to have on hand just to rule out the environment in
> such a scenario.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to