Thursday, March 26, 2009

Re: Creating Post Views (Blog tutorial)

On Thu, Mar 26, 2009 at 2:35 PM, albe <radial85@libero.it> wrote:
>
>
> Hello everybody, I had a problem following the tutorial to build a blog on
> the Cookbok. When is the
> http://book.cakephp.org/view/336/Creating-Post-Views MOMENT  to create the
> View file, I exactly do what's written on the tutorial. I create a file
> located in /app/views/posts/index.ctp and containing the code as written in
> the code box (whithout any other tags...). The problem is that pointing the
> browser at the address at http://localhost/cakeblog/posts/index the file
> results NOT FOUND. Can someone help me? Thanks!

The main suspect is about your mod_rewrite configuration.

Is your Apache webserver correctly configured for your site,
with AllowOverride all?

Can you see your CakePHP home-page with messages in
colours?

Do you have the three .htaccess files (in <your-cakeblog-folder>,
inside <your-cakeblog-folder>/app and in <your-cakeblog-folder>/webroot
subfolders)?

If that's not the problem, do you have the same result acessing the
http://127.0.0.1/cakeblog/posts address?

Best regards.

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

http://mfandrade.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
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: