Re: hi guys
all OK now, problem was.. "AllowOverride None" should be changed to "AllowOverride All" in httpd.conf uh.. how i missed this... sorry guys.. On May 9, 3:57 pm, ID <[EMAIL PROTECTED]> wrote: > hi, i have deleted all 3 .htaccess files in the cake > > still same :( > > On May 9, 5:09 am, jonknee <[EMAIL PROTECTED]> wrote: > > > > but when i point the browser to;http://localhost/posts/ > > > it shows: The requested URL /posts was not found on this server. > > > any ideas what i could be doing wrong? > > > Is the error generated from CakePHP or Apache? If it's Apache you have > > a problem with your.htaccess file (perhaps Apache is not looking for > > them, which I have had happen on a few boxes before). --~--~-~--~~~---~--~~ 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: blog tutor not working
all OK now, problem was.. "AllowOverride None" should be changed to "AllowOverride All" in httpd.conf uh.. how i missed this... sorry guys.. On May 9, 4:57 pm, ID <[EMAIL PROTECTED]> wrote: > yes I have, > copied this onehttp://manual.cakephp.org/view/335/create-a-posts-controller > > On May 8, 11:41 pm, seb <[EMAIL PROTECTED]> wrote: > > > seb wrote: > > >>http://localhost/ points to /var/www/html/blog > > > >>http://localhost/posts/ > > > > And what about localhost/blog/posts ? > > > Ouch. Made a mistake. Forget it. > > > Do you have a posts_controller.php file in your controllers folder ? --~--~-~--~~~---~--~~ 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: blog tutor not working
yes I have, copied this one http://manual.cakephp.org/view/335/create-a-posts-controller On May 8, 11:41 pm, seb <[EMAIL PROTECTED]> wrote: > seb wrote: > >>http://localhost/ points to /var/www/html/blog > > >>http://localhost/posts/ > > > And what about localhost/blog/posts ? > > Ouch. Made a mistake. Forget it. > > Do you have a posts_controller.php file in your controllers folder ? --~--~-~--~~~---~--~~ 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 guys
hi, i have deleted all 3 .htaccess files in the cake still same :( On May 9, 5:09 am, jonknee <[EMAIL PROTECTED]> wrote: > > but when i point the browser to;http://localhost/posts/ > > it shows: The requested URL /posts was not found on this server. > > any ideas what i could be doing wrong? > > Is the error generated from CakePHP or Apache? If it's Apache you have > a problem with your.htaccess file (perhaps Apache is not looking for > them, which I have had happen on a few boxes before). --~--~-~--~~~---~--~~ 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 guys
debug is set to 2 i think Configure::write('debug', 2); On May 9, 4:45 am, MonkeyGirl <[EMAIL PROTECTED]> wrote: > Hi! > > > but when i point the browser to;http://localhost/posts/ > > > it shows: The requested URL /posts was not found on this server. > > > any ideas what i could be doing wrong? > > It sounds like you have debugging set to 0 (off). If you edit app/ > config/core.php, you can change it to 1 or 2 in order to get a more > detailed error message. > > Most likely, you need to create a file called app/controllers/ > posts_controller.php, and give it the right contents to have a > function called index, plus create app/views/posts and put a file > called index.ctp in it. > > There should be many guides on getting these things set up, although > last I checked (which was a while ago now), Cake was kinda in between > documentation... > > Hope that helps, > Zoe. --~--~-~--~~~---~--~~ 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 guys
i think i have it enabled, these are uncommented in /etc/httpd/conf/httpd.conf LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine On On May 9, 5:38 am, BrendonKoz <[EMAIL PROTECTED]> wrote: > Please check to make sure that you have mod_rewrite enabled on your > Apache server. Although I'm just guessing along with the other > posters, I'm hoping I'll win. :) > > On May 8, 2:13 am, ID <[EMAIL PROTECTED]> wrote: > > > I have a Centos5.1 box, loaded with > > > php-5.1.6 > > httpd-2.2.3(apache) > > mysql-5.0.22 > > > following this videohttp://cakephp.org/screencasts/view/3 > > and this tutor:http://manual.cakephp.org/view/326/the-cake-blog-tutorial > > > i have checked out from svn repo > > svn cohttps://svn.cakephp.org/repo/trunk/cake/1.1.x.x//var/www/html/ > > blog > > >http://localhost/ points to /var/www/html/blog > > > i have created database, entered test entries, modified database.php > > and all as shown in the video step by step, > > > when i point the browser to,http://localhost/ > > it shows a page with: > > CakePHP Rapid Development > > Your database configuration file is present. > > Cake is able to connect to the database. > > > but when i point the browser to;http://localhost/posts/ > > > it shows: The requested URL /posts was not found on this server. > > > any ideas what i could be doing wrong? > > > thanks --~--~-~--~~~---~--~~ 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 guys
the error page is standard apache "Not Found" error. On May 9, 5:09 am, jonknee <[EMAIL PROTECTED]> wrote: > > but when i point the browser to;http://localhost/posts/ > > it shows: The requested URL /posts was not found on this server. > > any ideas what i could be doing wrong? > > Is the error generated from CakePHP or Apache? If it's Apache you have > a problem with your.htaccess file (perhaps Apache is not looking for > them, which I have had happen on a few boxes before). --~--~-~--~~~---~--~~ 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 guys
I have done all this, following the tutor step-by-step. apache2 works just fine on its own. thats the weird thing. On May 9, 4:45 am, MonkeyGirl <[EMAIL PROTECTED]> wrote: > Hi! > > > but when i point the browser to;http://localhost/posts/ > > > it shows: The requested URL /posts was not found on this server. > > > any ideas what i could be doing wrong? > > It sounds like you have debugging set to 0 (off). If you edit app/ > config/core.php, you can change it to 1 or 2 in order to get a more > detailed error message. > > Most likely, you need to create a file called app/controllers/ > posts_controller.php, and give it the right contents to have a > function called index, plus create app/views/posts and put a file > called index.ctp in it. > > There should be many guides on getting these things set up, although > last I checked (which was a while ago now), Cake was kinda in between > documentation... > > Hope that helps, > Zoe. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
blog tutor not working
hi guys; (sorry revised the title) I have a Centos5.1 box, loaded with php-5.1.6 httpd-2.2.3(apache) mysql-5.0.22 following this video http://cakephp.org/screencasts/view/3 and this tutor: http://manual.cakephp.org/view/326/the-cake-blog-tutorial i have checked out from svn repo svn co https://svn.cakephp.org/repo/trunk/cake/1.1.x.x/ /var/www/html/ blog http://localhost/ points to /var/www/html/blog i have created database, entered test entries, modified database.php and all as shown in the video step by step, when i point the browser to, http://localhost/ it shows a page with: CakePHP Rapid Development Your database configuration file is present. Cake is able to connect to the database. but when i point the browser to; http://localhost/posts/ it shows: The requested URL /posts was not found on this server. any ideas what i could be doing wrong? thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
hi guys
I have a Centos5.1 box, loaded with php-5.1.6 httpd-2.2.3(apache) mysql-5.0.22 following this video http://cakephp.org/screencasts/view/3 and this tutor: http://manual.cakephp.org/view/326/the-cake-blog-tutorial i have checked out from svn repo svn co https://svn.cakephp.org/repo/trunk/cake/1.1.x.x/ /var/www/html/ blog http://localhost/ points to /var/www/html/blog i have created database, entered test entries, modified database.php and all as shown in the video step by step, when i point the browser to, http://localhost/ it shows a page with: CakePHP Rapid Development Your database configuration file is present. Cake is able to connect to the database. but when i point the browser to; http://localhost/posts/ it shows: The requested URL /posts was not found on this server. any ideas what i could be doing wrong? thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---