On Oct 12 2008, 12:37 am, ORCC <[email protected]> wrote:

[..trimmed...]

>
> The page seems to load correctly, altough the Firefox's error console
> issues the following errors:
>
> Error: syntax error
> Source File:http://MY_DOMAIN/gmg/js/sound.js
> Línea: 1
> Código fuente:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> The code is a missing_controller page generate by cake in the
> scriptaculous loading, because the "JS" controller is missing. (This
> is the globlal object in scriptaculous that loads some scripts like
> sound, dragdrop and others)
>
> What is the solution for this trouble?


I have exactly the same problem.

In my view this generated the error:

<?php echo $javascript->link('prototype',false);
   echo $javascript->link('scriptaculous',false); ?>

But this was OK:

<?php echo $javascript->link('prototype');
   echo $javascript->link('scriptaculous'); ?>

Inline vs in header...

I am using v1.2 of CakePHP.

Does anyone have any ideas?  Not sure where it is getting sound.js
from....
But functionally the page works fine.

matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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