Wednesday, January 27, 2010

Re: Blog tutorial trouble...

Ok, so I changed Cake to use 'pretty urls' and turned mod_rewrite off
and it works now.

Now, I just need to figure out why it wasn't working in the first
place....

On Jan 27, 11:17 am, Andrew Poquette <apoque...@gmail.com> wrote:
> I got this when I restarted apache...
>
> * Restarting web server
> apache2                                                apache2: Could
> not reliably determine the server's fully qualified domain name, using
> 127.0.1.1 for ServerName
> apache2: Could not reliably determine the server's fully qualified
> domain name, using 127.0.1.1 for ServerName
> (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
>
> On Jan 27, 11:12 am, Andrew Poquette <apoque...@gmail.com> wrote:
>
>
>
> > Thank you for the help so far!  I enabled mod rewrite, no luck.
>
> > On Jan 27, 9:59 am, Akeda Bagus <ad...@gedex.web.id> wrote:
>
> > > On Wed, Jan 27, 2010 at 10:24 PM, Andrew Poquette <apoque...@gmail.com> wrote:
> > > > So, I installed cake, set everything up, and have the welcome page
> > > > saying that Cake can connect to the database, and I'm good to go.
>
> > > > I created a model, a controller, and a view via the tutorial, but when
> > > > I go tohttp://localhost/posts/indexIgeta 404 error.  I've searched
> > > > the group here and I couldn't find a solution.
>
> > > > Totally new to cake, so I may have screwed something up but I'm
> > > > developing in Ubuntu and apache, php, and mysql are all installed and
> > > > working.
>
> > > > Does anyone have any ideas on why I wouldn't be able to see the view?
> > > > Everything is 100% copied from the tutorial!
>
> > > > Thanks for your help!
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelpothers with their CakePHP related questions.
>
> > > > 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
> > > > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en
>
> > > is mod_rewrite enabled?
> > > $ sudo a2enmod rewrite
>
> > > --
> > > regards,
> > > gedex
>
> > > blog:http://gedex.web.id

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: