Cake Tutorial: Books Title Example (With hasOne)
I am just trying this out and get an error: Warning: overload() was unable to locate class 'titles' in /CAKE/cake/basics.php on line 74 Obviously, I did NOT change the code in basics. Can anyone tell me what to do? http://jobboard.bernardtransportation.com/CAKE/titles --~--~-~--~~~---~--~~ 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: Cake Tutorial: Books Title Example (With hasOne)
The tutorial seems to work ok even with the error message. I did find out that if I change the debug to 0 instead of 2, it gets rid of the error. On another note, everytime I post to this forum, and put in my URL, some nasty person deletes all my entries. I can't believe people can be so rude. Should I not post my URL in this forum? --~--~-~--~~~---~--~~ 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 Tutorial on AJAX Task List
Most things are working ok, accept for on a Refresh, if you click on Job Undone (uncheck one of the completed jobs below) it gives an error message: Not Found The requested URL /tasks_done/71 was not found on this server. If you do the uncheck after you enter a new job this does not happen. Also, the input box is not clearing once you press enter a new job. Any suggestions? http://jobboard.bernardtransportation.com/CAKE/tasks --~--~-~--~~~---~--~~ 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/ Graham Bird's Task List Tutorial
Thanks, najjanna -- that worked just fine. I tried emailing Graham directly, but did not get an answer. Most things are working ok, accept for on a Refresh, if you click on Job Undone (uncheck one of the completed jobs below) it gives an error message Not Found The requested URL /tasks_done/71 was not found on this server. Also, the input box is not clearing when you enter a new job. Any suggestions. http://jobboard.bernardtransportation.com/CAKE/tasks Thank you everyone for all your suggestions and 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
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 -~--~~~~--~~--~--~---
Problems w/ Graham Bird's Task List Tutorial
I am having problems trying to place the correct URL that Graham states in his tutorial for the AJAX task list for done.thml: If Cake is installed in a subfolder (ie not your server's web root) then you will need to use $html-url(/tasks/undo/ . $item[id] ); in the second Ajax.Updater argument. This means the URL is generated by Cake rather than being hard-coded. I am too inexperienced to fully understand what the correct URL would be and where I would place my URL in this code with the correct characters : div id=todo_view p class=file-timeRendered: ?=gmdate('H:i:s', time())? GMT/p p class=file-nameView: /app/views/tasks/todo.thtml/p ?php foreach ($data as $row) { $item = $row['Task']; if ($item['done'] == 0) { print 'div class=task id=todo_' . $item['id'] . ' title=' . $item['id'] . ''; print 'input id=todo_check' . $item['id'] . ' type=checkbox onClick=new Ajax.Updater(\'tasks_done\',\'/tasks/done/' . $item['id']. '\', {asynchronous:true, evalScripts:true});new Effect.Fade(\'todo_' . $item['id'] . '\'); / '; print 'label for=todo_check_' . $item['id'] . '' . $item['title'] . '/label'; print '/div' . \n; } } ? /div And, if I have CAKE installed here: http://jobboard.bernardtransportation.com/CAKE/tasks What URL would I use so that done.thtml can be found by todo.thtml? 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
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
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 -~--~~~~--~~--~--~---