Re: Error in i18n after baking fresh new admin controllers and views

2007-09-10 Thread Charlie van de Kerkhof

I've seen this in the code on that particular line:

$data = fread($file, 120);

120 ?? I will submit a trac ticket.

On Sep 10, 5:06 pm, Charlie van de Kerkhof [EMAIL PROTECTED]
wrote:
 Hi,

 I used bake before in v1.2 and working alright for me. But after a
 certain svn update (don't know which version) my admin_index gives an
 error in i18n:
 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
 allocate 1048577 bytes) in /cake/libs/i18n.php on line 379

 And when I delete de __() function in that view file it is working
 properly.

 Someone experienced the same?
 Just curious before I submit a new ticket in trac.

 - Charlie


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Error in i18n after baking fresh new admin controllers and views

2007-09-10 Thread Chris Hartjes

On 9/10/07, Charlie van de Kerkhof [EMAIL PROTECTED] wrote:

 I've seen this in the code on that particular line:

 $data = fread($file, 120);

 120 ?? I will submit a trac ticket.


Not a bug.   is used as a bitwise operator:

http://www.litfuel.net/tutorials/bitwise.htm

1  20 is 1,048,576

So maybe it was just developer short hand for 1 MB?

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  Just build it, damnit!

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---