Do you have the helper loaded?
On Jan 24, 12:27 pm, "lukemack" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm getting the following error from my default cake homepage:
>
> Notice: Undefined variable: javascript in
> /var/www/cake/libs/view/templates/layouts/default.thtml on line 32
>
> Fatal error: Call to a member function link() on a non-object in
> /var/www/cake/libs/view/templates/layouts/default.thtml on line 32
>
> the offending line is <?php print $javascript->link('prototype') ?>
>
> does anyone know what might be causing this? prototype.js is in
> /app/webroot/js/
>
> many thanks,
>
> lukemack.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---