Page 422 of 211,273, showing 20 records out of 4,225,455 total, starting on record 8,421, ending on 8,440
# | Username | Text | |
---|---|---|---|
# | Aug 10th 2008, 07:00 | paramS | thanks , you just posted that at the same time |
# | Aug 10th 2008, 07:00 | paramS | lemme try that , thank you very much :) |
# | Aug 10th 2008, 07:00 | kaotisch | no problem :) |
# | Aug 10th 2008, 07:02 | lqdice__ | kaotisch: is this a problem where the ajax is not getting the session properly? you can pass the session manually.. but if it works 'sometimes' and not others than thats a bit strange and i would think its the session timing out |
# | Aug 10th 2008, 07:03 | kaotisch | Iqdice, I'm still investigating, under Firefox its kind of a random problem, under IE the session is lost after every ajax call |
# | Aug 10th 2008, 07:03 | paramS | kaotisch << and after that i would be able to use it like this {{ $songs = $this->MusicSong->findAllByAlbumId($albumId); }} |
# | Aug 10th 2008, 07:04 | kaotisch | paramS: should work |
# | Aug 10th 2008, 07:04 | lqdice__ | kaotisch: are you using the security component? |
# | Aug 10th 2008, 07:04 | kaotisch | paramS: if the MusicSong table has a Albumid field of course |
# | Aug 10th 2008, 07:05 | paramS | "Call to undefined method stdClass::findAllByAlbumId()" .... i am sure the problem is between chair and keyboard :p |
# | Aug 10th 2008, 07:05 | paramS | yeah it has field ( album_id ) |
# | Aug 10th 2008, 07:05 | kaotisch | Iqdice: i'm using the Auth comp. that (I think) uses the Security comp |
# | Aug 10th 2008, 07:05 | kalileo | paramS: Assuming that you have set up an associaltion between the MusicAlbum model and the MusicSong Model you do not need the $uses, simply say $this->MusicAlbum->MusicSong->findAllByAlbumId($id) |
# | Aug 10th 2008, 07:05 | lqdice__ | nah auth doesnt use security |
# | Aug 10th 2008, 07:06 | kaotisch | Well I dont call any Security functions by hand then |
# | Aug 10th 2008, 07:06 | lqdice__ | you dont have var $components = array('Security') anywhere? |
# | Aug 10th 2008, 07:06 | lqdice__ | cause security can cause those problems |
# | Aug 10th 2008, 07:07 | kaotisch | no I just checked again after you asked, its not used in any controller |
# | Aug 10th 2008, 07:08 | lqdice__ | hmmm |
# | Aug 10th 2008, 07:08 | lqdice__ | did you include the request handling component? |