Wednesday, June 24, 2009

weird happenings w/ pagination and useDbConfig

Hi all, I recently needed to split some of the tables in my app apart
into two separate dbs. No problem, just set up two different
connections in database.php and used "useDbConfig" to specify what
tables go where.

Seems to be working fine for the most part, but I have a pagination
problem in an area that was working before.

Model "User"(db1) hasOne "Demographic"(db1), "Profile"(db1),
"GameProfile"(db2)

When I try and paginate User and order by GameProfile.exp_points it
says it can't find the column. Any ideas?

Thanks in advance,

Cahlan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: