I'm just starting to play with CakePHP and I've run into a stumbling block that exists only because of my pure unfamiliarity with the framework.
I have an existing database that I'd like to link into using Cake, but the tables are all prefixed with "pts_". The table I wish to connect to is named "pages". When I try to set my prefix in config/database.php for that connection, my resulting error is "No Database table for model Page (expected "ptspages")... Now, I would have expected a prefix value of "pts_" plus "pages" to equal "pts_pages" instead of "ptspages". What is causing the underscore to be dropped and how can I fix it? (I realize as a general practice using an underscore in the table name is not wise, and I realize I could change the table name, but my goal is to supplement [for the time being: eventually replace] an existing software package that wouldn't take too kindly to new table names so right now all I need is a work around.) I would appreciate some expert advice. Thanks! Brian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
