Monday, November 2, 2009

Re: WSOD on large number of elements in a form

Hi OK, well it is on a shared host so don't know how much luck I can
get on accessing their logs.

I have debug on level 2.

I have stripped my controller back now so that it unconditionally just
prepares the data to pass to the view to display the form.
Everything is ok with that.

I have written a new controller with no DB ($uses setup with an empty
array) I have put its beforeFilter to allow all actions via Acl
and have a simple action setup to act as the post target for my big
form.

but even with all this on (php error reporting also confirmed as being
on) it is just a white screen still.

The same helper and code is grabbing data for a different circumstance
that generates a smaller number of input fields
and that posts to the new controller fine.

It just doesn't seem to be getting through anywhere.

On Nov 2, 7:09 pm, Pedro Nascimento <pnascime...@gmail.com> wrote:
> Also, check apache logs. There may be some valuable info there.
>
> On Mon, Nov 2, 2009 at 17:04, John Andersen <j.andersen...@gmail.com> wrote:
>
> > If you haven't, turn on debug and tell us the debug information that
> > you can see, look also at the source!
>
> > Please provide the code for the Controller action in which the failure
> > occur, so that we may be able to assist you better!
> > Enjoy,
> >    John
>
> > On Nov 2, 6:22 pm, Tonu Tusk <lvot...@googlemail.com> wrote:
> > > Hi, This is going to sounds a bit vague to start with, but I basically
> > > have a form that has a lot of input boxes in it
> > > ( > 500 text input boxes) and when this is posting back to the
> > > controller I get the WSOD.
>
> > > I have turned off all of my actual processing code in my controller
> > > and it did all work with a smaller number of input boxes, but now it
> > > just white screens.
>
> > > As I mentioned, rewriting the controller code to just not even touch
> > > the POSTed data but just to show some indication of status does not
> > > affect things, there should be no (or next to no) processing of this
> > > going on, but the controller definitely still works with exactly the
> > > same code generating the forms, just a fewer number of inputs in the
> > > form.
>
> > > I have altered my php settings from 8M post memory to 128M as well as
> > > massively upping the memory allowed for
> > > php scripts but still white screen.
>
> > > I don't know where to start I have tried chainging index.php in the
> > > main entry call between generting the form and
> > > posting it anywhere but again, I am just getting a whitescreen.
>
> > > Any help at all to point me where to look next would be welcome. If I
> > > can't debug cake then it will be a good couple of months work down the
> > > pan and I'll have to choose another option for framework etc as I
> > > can't waste any more time on bumbling around blindly.
>
> > > thanks in advance

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