In the default.ctp i have the following:
Line 37<?php echo $html->charset('UTF-8');?>
38<?php echo $javascript->link('prototype'); ?>
39<?php echo $javascript->link('jQuery'); ?>
I have in app/app_controller.php the following:
class AppController extends Controller {
var $helpers = array('Html', 'Link', 'Form', 'Javascript', 'Ajax');
}
and I have the same helpers line in every controller, just in case and
in fact they were there before I made a new app_controller.php file.
I have debug on but the only line showing for an error is the line 38
error. ...
but in the upper title of the page it says missing helper Class
so i checked that all out.
I was able to have the entire application work on localhost and on a
test live site. This application is installed on a new production
server.
Thanks
On Jun 27, 10:51 pm, Geoff Ford <[EMAIL PROTECTED]> wrote:
> Helpers used in the default.ctp need to be either included in every
> controller or in the app_controller.php
>
> What is the function that it it can't find? i.e. what is on line 38?
>
> --http://lemoncake.wordpress.com
>
> On Jun 28, 2:15 pm, MercedesAMG <[EMAIL PROTECTED]> wrote:
>
>
>
> > here is the erro message I get
>
> > Fatal error: Call to a member function on a non-object in /home/
> > totalme/public_html/app/views/layouts/default.ctp on line 38
>
> > i have helper is controller and scripts are in app/webroot/js
>
> > tried jquery and then back to prototype same error message
>
> > I am missing ?????- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---