It's because dreamhost's default php 5 doesn't include gettext.
You must compile it yourself (they do have a nice script to do that
for you, in their wiki), or switch back to php4 (the simpler way)
whenever you use __(), you'll stumble into this.
spark
On Nov 21, 2007 1:42 PM, busytoby <[EMAIL PROTECTED]> wrote:
>
> i finally found the cause of the 500 errors on dreamhost (and I would
> suspect others). Here's a solid easy walkthrough to get a base setup
> going:
>
> 1. php cake.php -app ~/projects/newproject bake
> 2. ln -s ~/projects/newproject ~/sitename.com
> 3. edit ~/projects/newproject/config/database.php.default and rename
> to config/database.php
> 4. edit ~/projects/newproject/views/layouts/default.ctp and remove or
> comment out the $html->link as follows:
>
> <?php /* echo $html->link(
> $html-
> >image('cake.power.gif', array('alt'=> __("CakePHP: the rapid
> development php framework", true), 'border'=>"0")),
> 'http://
> www.cakephp.org/',
>
> array('target'=>'_new'), null, false
> );
> */ ?>
>
>
> I'm still stumped as to why this is causing problems but at least it's
> a start.
>
> >
>
--
[livesets] http://djspark.com.br/
[web] http://sydi.net
[filmes] http://melhoresfilmes.com.br
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---