Wednesday, May 27, 2009

Re: Blog tutorial - I get a blank page

Please confirm that your view directory is named "views" not "view"!
John

On May 28, 1:54 am, cshehadi <csheh...@gmail.com> wrote:
> Hi,
>
> I'm trying to get through the blog tutorial, and trying to view my
> first page at:
>
> http://server/post/index
>
> but I'm getting a blank page.  I'm sure the rewrite engine's working
> correctly because if I try to access a nonexistent controller, such
> as:
>
> http://server/blah/index
>
> I get the appropriate error: Missing Controller - so this tells me
> it's finding the controller ok.
>
> But somehow it's not displaying index.ctp
>
> which I have confirmed is in:
>
> /app/view/posts/
>
> When I view source on the page, I get nothing - not even a default
> layout, or even an <HTML> tag.  It's just blank (in Firefox - just
> checked in it IE and I get "Internet Explorer cannot display the
> webpage")
>
> I can reach the main cakephp page without any problems, it displays
> images and css and gives me the green light to proceed (database is
> configured, etc...)
>
> I've also confirmed that the permissions of /app/tmp are drwxrwxr-x
> and that it's in the same group as the web server.
>
> Without any error message at all, I'm at a complete loss as to how to
> debug this thing.
>
> debug setting in /app/config/core.php is at 2, so it should be barking
> at me if I've done something wrong.
>
> Anyone have a clue as to what to do next?
>
> -Charlie
--~--~---------~--~----~------------~-------~--~----~
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: