Friday, April 2, 2010

Re: Blank page when CakePHP is uploaded to the server

Hi - did you do what Jeremy suggested and just try a "clean" install
of cake on the site (with just a single model / controller for testing
purposes) to see how that was working?

In the past, I have had problems when deploying based a few things...
these two were pretty annoying to find, and I still cannot explain
them fully.

file permissions - I had set all of the directories to writable that
needed to be writable, but was also getting white screens - when I
uploaded "clean" install of the same version of the framework, it was
the same problem, whereas if I made all of the cake tree
permissions 777 (as a troubleshooting test of course - not to be run
like that on an ongoing basis) the app then worked. I guess there may
have been some scripts on there that were not executable.

model relationships - when I have been learning cake, if I have got
confused when setting up my model relationships, some combinations of
relationships between two models have caused unexplained white
screens.

As Jeremy suggested, if you can (or can't) get a clean install working
it will give a better indication as to where to focus the troubleshoot
further.

If your host suggests it does not support Cake - that just sounds like
a generic reply to not being able to give tech support for a package
that they do not install / maintain themselves, not necessarily saying
that their
server setup does not specifically support Cake's pre-requisites and
dependencies.

On Apr 1, 5:16 pm, Jeremy Burns <jeremybu...@me.com> wrote:
> That sounds like a weird cop out! That's like saying "We won't let you run PHP"!
>
> Jeremy Burns
> jeremybu...@me.com
>
> On 1 Apr 2010, at 17:14, WhyNotSmile wrote:
>
> > I eventually contacted the hosting company about this, and they said
> > 'We see you are using cake.  We don't support that.'.  Aaargh!  Never
> > mind that the app ran until about 2 weeks ago, and then mysteriously
> > stopped!
>
> > Anyway, thanks for all the help, but it seems this is not a cakePHP
> > issue.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 athttp://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe, reply using "remove me" as the subject.

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: