Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
I tried what you suggested above and only got this line (which I don't understand) Parse error: parse error, unexpected T_VAR in /jobboard.bernardtransportation.com/CAKE/app/app_controller.php on line 42 Both the tasks and gallery are tutorials which I did not change the code at all. I am just trying to learn CAKE, but haven't learned much so far and have been terribly frustrated. I don't know what to try next. I tried the URL for gallery that you suggested above, but still got the same old Fatal Error message, nothing changed. Thank you so much for trying to help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
? class AppController extends Controller { // } this brace is not necessary var $helpers = array('Html','Javascript','Ajax'); } // lacking a curly brace ? ? On 6/12/06, jeannie109 [EMAIL PROTECTED] wrote: Here is the URL: http://cakephp.org/pastes/show/2fde1e708150e1046c472674853e9879 -- [web] http://synapsisdi.com.br [livesets] http://djspark.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
Thank you so much! Problem solved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Problems w/ Cake Tutorials Working.. Getting Fatal Errors
I have read just about every posting for Fatal Errors and I can't find a thing that helps me. I am getting: Fatal error: Call to a member function on a non object /jobboard.bernardtransportation.com/CAKE/app/views/layouts/default.thtml on line 8 I am getting this error on the CAKE/tasks tutorial and the CAKE/gallery_controller tutorial. Line 8 in CAKE/app/views/layouts/default.thtml is only referring to the Ajax prototype.js file. ?= $javascript-link('prototype') ? I am at a loss. I have been trying to research the problem since Friday. Can anyone please help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
Add this to your GalleryController: var $helpers = array('Html', 'Javascript', 'Ajax'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
Nate-- So sorry, I was so excited too, to be finally over with this problem, but, sad to say, it didn't work. As I said above, I am getting the same error with every tutorial I try. http://jobboard.bernardtransportation.com/CAKE/tasks (at least I get something on this page, but it is not working right either. If you add a new task first, I don't get the Fatal Error, but if you just click on a job.. it will remove it, but I get the fatal error.) http://jobboard.bernardtransportation.com/CAKE/gallery_controller/ (this one I don't get anything on the page but the Fatal error). Thank you so much for trying to help. This can be so frustrating, but when something works, the rewards are wonderful! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problems w/ Cake Tutorials Working.. Getting Fatal Errors
Okay, this is because you're using JavascriptHelper in your default layout, and it is being rendered in an error view (Missing controller). The root of the problem is your URL. It should be http://jobboard.bernardtransportation.com/CAKE/gallery/ (no _controller at the end). Also it looks like you're using a component in your GalleryController that isn't installed either. If you want to see the error page fully rendered, copy cake/app_controller.php into app/, and add the above $helpers line to it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---