My host upgraded to PHP 4.4.7 today and all my cake apps died.  Not
broke.  Died. Blank screen, nothing returned from the server except
for a 200 OK message.  No errors.  Nothing in the server logs.

I'm using the latest nightly for Cake 1.2.  I've traced the problem to
some code in my views that worked perfectly until this morning.  In
the following examples, 1) & 2) work fine.  3) blows up the server.

$url = 'image.gif';
$options = array('alt'=>__('alt text', true));

ex. 1
echo $html->image($url, $options);

ex. 2
echo $html->image($url, array('alt'=>'alt text'));

ex. 3
echo $html->image($url, array('alt'=>__('alt text', true)));


The same thing happens for all calls to $html->link() and $form-
>input() and anything else that has array('alt'=>__('alt text', true))
passed in the options

Does anyone know if there is anything illegal about this syntax?
Could it have something to do with mod_security (doubtful -
mod_security shouldn't affect my server-side code)?  Is this a problem
with Cake?  I haven't been able to recreate the error in a non-cake
app.

I write multilingual apps so if I have to change every occurrence of
these strings in my sites I'm going to cry.


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

Reply via email to