upload_max_filesize and post_max_size in your php.ini file.
Each name/value is limited to 1024 characters, if the form type is not
multipart.
Also look at memory size available for script ... the default 16M is not
enough, as cake itself uses about 6-9 of them for a not very complex
app. Notice that on certain distros the ini files for cli and apache
module are different, and that you need to restart apache after every
change. I suppose you use apache.
Also notice that certain browsers (cough, ie, cough) , in my experience,
have a hard time and break your post data if using many inputs and not
setting a multipart form.
Considering WSOD, is probably to have with your server (apache)
settings. Can you try to post the form to a simple php that's <?
print_r($_POST) ?>ing the form data ?, with reporting E_ALL ?
#tail -f the error.log file of the server to see realtime what's the
server saying about your attempt.
Dragos
Tonu Tusk 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:
Post a Comment