Re: Hi I need help
Thanks for ur reply.. Now its working On Apr 16, 10:30 pm, TechSteve [EMAIL PROTECTED] wrote: if you just have a single cakephp application and you want the urls likehttp://127.0.0.1/users/login, you should set the document root of your web server as .../app/webroot. if your application is still in dev stage and you don't care the leading part of the urls, you have make sure you give the complete path. it may be confused. let me explain, suppose you extract all files under the folder html, for example html/cake_1.2, which has the folders app, cake, vendors, and etc. your urls should be likehttp://127.0.0.1/cake_1.2/users/login. if you want more info. about installation of cakephp, please read my articlehttp://techsteve.blogspot.com/2008/03/practices-of-advanced-setup-for... hope this can help you. Steve On Apr 16, 1:48 am,KND[EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpagesand copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketothe server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me...- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP 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?hl=en -~--~~~~--~~--~--~---
Re: Hi I need help
Well, if I understood this correctly, Cake is deployed in your root folder, so if you go to http://127.0.0.1/users/login that should be about right..? Your controller name is wrong, UsersControllers should be UsersController, I'm assuming that's a typo. On Apr 16, 10:48 am, KND [EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpages and copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketo the server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Hi I need help
Hi, Thanks for ur reply... But i try to do that also not working ... On Apr 16, 3:44 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Well, if I understood this correctly, Cake is deployed in your root folder, so if you go tohttp://127.0.0.1/users/loginthat should be about right..? Your controller name is wrong, UsersControllers should be UsersController, I'm assuming that's a typo. On Apr 16, 10:48 am, KND [EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpagesand copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketothe server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Hi I need help
Hi If i try to http://127.0.0.1/users/login the following error msg will be displayed Not Found The requested URL /cake/users was not found on this server. Apache/2.0.59 (Win32) PHP/5.1.6 Server at localhost Port 80 On Apr 16, 3:44 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Well, if I understood this correctly, Cake is deployed in your root folder, so if you go tohttp://127.0.0.1/users/loginthat should be about right..? Your controller name is wrong, UsersControllers should be UsersController, I'm assuming that's a typo. On Apr 16, 10:48 am, KND [EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpagesand copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketothe server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Hi I need help
The url should be this http://127.0.0.1/cake/users/login On Wed, Apr 16, 2008 at 4:54 PM, KND [EMAIL PROTECTED] wrote: Hi If i try to http://127.0.0.1/users/login the following error msg will be displayed Not Found The requested URL /cake/users was not found on this server. Apache/2.0.59 (Win32) PHP/5.1.6 Server at localhost Port 80 On Apr 16, 3:44 pm, dr. Hannibal Lecter [EMAIL PROTECTED] wrote: Well, if I understood this correctly, Cake is deployed in your root folder, so if you go tohttp://127.0.0.1/users/loginthat should be about right..? Your controller name is wrong, UsersControllers should be UsersController, I'm assuming that's a typo. On Apr 16, 10:48 am, KND [EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpagesand copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketothe server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me... -- Best Regards, Tapos Pal http://tapos.wordpress.com --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Hi I need help
if you just have a single cakephp application and you want the urls like http://127.0.0.1/users/login, you should set the document root of your web server as .../app/webroot. if your application is still in dev stage and you don't care the leading part of the urls, you have make sure you give the complete path. it may be confused. let me explain, suppose you extract all files under the folder html, for example html/cake_1.2, which has the folders app, cake, vendors, and etc. your urls should be like http://127.0.0.1/cake_1.2/users/login. if you want more info. about installation of cakephp, please read my article http://techsteve.blogspot.com/2008/03/practices-of-advanced-setup-for-cakephp.html hope this can help you. Steve On Apr 16, 1:48 am, KND [EMAIL PROTECTED] wrote: Hi all, CakePHP is a new tool for me, I never worked on any framework before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpages and copy the code sample from that manual. I installed cake in /var/www/html directory. In my Apache server webroot is /var/www/html. Now my question is how can run my application(What will be the URL to access my application? In one point I am sure that the database configuration is OK, because when I through the URLhttp://127.0.0.1/caketo the server, the server returns a CakePHP introductory page with a status Your database configuration file is present. Cake is able to connect to the database. --- Controller page name: users_controller.php having class name UsersControllers with member function login(). view page name: login.thtml model page name: user.php --- Please help me... --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---