I submitted a ticket on this problem: https://trac.cakephp.org/ticket/3828
- Cake Fan On Jan 4, 11:16 am, Cake Fan <[EMAIL PROTECTED]> wrote: > I'm a little confused about this, perhaps I'm missing something... but > when I update via svn, this fix doesn't happen in my core library. > For instance, I just looked at line 30 in schema.php (bug fix 6319) > and the string class is not included after I updated. > > However, I manually added the 'string' class on my box in schema.php > and it still didn't solve the problem in the console. > > - Cake Fan > > On Jan 3, 5:00 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote: > > > It looks related > > tohttps://trac.cakephp.org/ticket/3793andchangesethttps://trac.cakephp.org/changeset/6312tome > > > -----Original Message----- > > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cake > > Fan > > Sent: 3. januar 2008 22:57 > > To: Cake PHP > > Subject: Re: Cake 1.2 Console - Fatal Errors - Possible Bug? > > > Christian, > > > I am at Revision 6319, but the console still says 6311. I am only > > updating the "cake" folder, so I'm not changing the app or vendors > > folders at all. Am I missing something here because the problem still > > persists after I updated as you suggested. > > > Thanks for the help! > > > - Cake Fan > > > On Jan 3, 3:32 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote: > > > Update to SVN head from 1.2 branch, was fixed there :) > > > > -----Original Message----- > > > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > > > Cake Fan > > > Sent: 3. januar 2008 22:20 > > > To: Cake PHP > > > Subject: Cake 1.2 Console - Fatal Errors - Possible Bug? > > > > I have my cake 1.2 shell script working properly in most regards; it > > > will help me immensely in converting a large flat table into > > > relational data for Cake consumption. > > > > However, in the shell, whenever I try to call any of the Model query > > > commands, I get a failure. > > > > So far, it has happened with findCount(), find(), findall(), save(), > > > and saveall(); The problem seems to be inconsistent and no matter > > > what I try or eliminate, it seems to persist. > > > > My shell script ultra-simplified to this: > > > -------------------------------------------------------------------------- > > > function main() { > > > > $i = 0; > > > while ($i < 1000) { > > > $formatted_data_array = array ( > > > 'Business' => array ('name' => 'test') > > > ); > > > $this->Business->save($formatted_data_array, false); > > > $i++; > > > } > > > } > > > -------------------------------------------------------------------------- > > > > It will save one time successfully, and then errors out. I get the > > > following error message from the console: > > > > ++++++++++++++++++++++++++++++++++++++++++ > > > C:\Apache\htdocs\project\app>cake raw_data > > > > Welcome to CakePHP v1.2.0.6311 beta Console > > > --------------------------------------------------------------- > > > App : app > > > Path: C:\Apache\htdocs\project\app > > > --------------------------------------------------------------- > > > PHP Fatal error: Class 'String' not found in C:\Apache\htdocs\project > > > \cake\libs\model\datasources\dbo_source > > > .php on line 1455 > > > > Fatal error: Class 'String' not found in C:\Apache\htdocs\project\cake > > > \libs\model\datasources\dbo_source.php > > > on line 1455 > > > > C:\Apache\htdocs\project\app> > > > +++++++++++++++++++++++++++++++++++++++++ > > > > Any help would be greatly appreciated! > > > > - Cake Fan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---