You must include Javascript helper in controller. http://book.cakephp.org/view/53/components-helpers-and-uses
On Oct 27, 7:42 pm, dpinion <[email protected]> wrote: > After clearing out my cake install and placing files from 1.5.2 in > again, I am receiving the following error message: > > Fatal error: Call to a member function link() on a non-object in D: > \wamp\www\tti.com\cake\app\views\layouts\default.ctp on line 32 > > Looking at the file, line 32 is: > > echo $javascript->link('tiny_mce/tiny_mce.js'); //Line32 > > I currently have the tiny_mce files located in D:\wamp\www\tti.com\cake > \app\webroot\js > > I have also tried: > > echo $javascript->link('/cake/app/webroot/js/tiny_mce/tiny_mce.js'); // > Line32 > > which didn't work either. > > On Oct 26, 8:53 am, Dewayne Pinion <[email protected]> wrote: > > > > > Should be the cake 404, as I have a custom 404 for the rest of the site. > > > On Fri, Oct 23, 2009 at 11:20 PM, Dr. Loboto <[email protected]> wrote: > > > > What 404 page do you see, Apache or Cake one? In first case it is > > > mod_rewrite problem. In second - the problem is in your app. Probably > > > in routes or filenames. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
