You might try uses('string');I think that should include the file. Check basics.php for all the various include/require functions. On Jan 7, 1:26 pm, eschito <[EMAIL PROTECTED]> wrote: > I recently downloaded the beta version of CakePHP 1.2. I am updating a > Shell application so that it uses UUID's for the primary keys in my > models. All PK datatypes in the database have been set to char(36). > > When I do a model->save() I get a PHP fatal error on String::uuid(); > on line 1210 in the /cake/lib/model/model.php file. > > I hacked it by including the string.php file through an absolute path > in a require() :( and now everything works. > > Although it works now, I'm curious if any body came across this same > issue? I want to fix it correctly without the require because I know > it's not ideal and against the CakePHP conventions. > > Thanks > Erik --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
