localhost is php 5.2.1 trial site was using same php production site is using php 4.4.7
the default.ctp is pretty generic from the cake install I removed anything possibly flaky and still get same error. thanks On Jun 28, 12:04 am, Geoff Ford <[EMAIL PROTECTED]> wrote: > Is there anything on the first 36 lines that may or may not cause an > issue or is it all html? > > I can't see why any of that would be causing issues...what version of > PHP is the local and remote hosts? > > --http://lemoncake.wordpress.com > > On Jun 28, 3:35 pm, MercedesAMG <[EMAIL PROTECTED]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
