That sounds correct; double check the names of files check the server config
too. I would try point number 2 though below I included point 1 since you
may prefer or need to get the cake js working. 2 is a more rapid solution
given that something odd is happening. Perhaps someone else will have some
other advice to offer - I'd go with 2 google api prototype for now at least
1) if this is in your layout
<?=$javascript->link(array('cake.prototype')); ?>
then this would be outputted (assuming everything is working - and that your
app is in warplayart)
http://warplayart.com/warplayart/js/cake.prototype.js
notice above its cake.prototype.js => I am sure your upto speed on the fact
that cake adds the .js suffix automatically and looks in the js directory in
webroot. Whatever url I enter to find your copy of prototype always
returns err404 and not the cake error either
Therefore I think something else is happening, I would say your .htaccess
is not working but the css loads ok and that is done in the same way. This
leaves me to think that this is server specific or you dont have the file
there or the name is different ie not prototype.js (there maybe a version
number in there?)
2) All that can be circumvented by loading the google hosted api
http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js
in this case you put the whole thing in the call to the js helpers link
method or you could just write the script block. I think it will then work
- or you'll at least jump that hurdle and then have to volt another
(sorry this was over wordy ~ the ability to be concise gets weaker as I get
more tired)
- S
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---