Re: Blank page after form submitting

2007-09-19 Thread grigri

This is a long shot, but I ran into a similar problem ages ago - and
in the end it was down to whitespace at the end of some php file -
after the closing ?> tag - which was then output directly, so normal
rendering did not occur. Check all non-view files for leading/trailing
whitespace!

On Sep 19, 3:37 pm, Anna P <[EMAIL PROTECTED]> wrote:
> That's what I thought. Oh, and I made a mistake, I use $this->render()
> and the end of the code in controller:-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Blank page after form submitting

2007-09-19 Thread Anna P

That's what I thought. Oh, and I made a mistake, I use $this->render()
and the end of the code in controller:-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Blank page after form submitting

2007-09-19 Thread Chris Hartjes

On 9/19/07, Anna P <[EMAIL PROTECTED]> wrote:
>
> Thank you for answer:) I solved my problem by putting into controller
> $this->render();:
>
> function register() {
>   $this->render();
>   //.code...;
> }
>
> Don't know why it didn't render the page correctly..

That is weird...you normally don't have to use $this->render().


-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Blank page after form submitting

2007-09-19 Thread Anna P

Thank you for answer:) I solved my problem by putting into controller
$this->render();:

function register() {
  $this->render();
  //.code...;
}

Don't know why it didn't render the page correctly..


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Blank page after form submitting

2007-09-19 Thread Chris Hartjes

On 9/19/07, Anna P <[EMAIL PROTECTED]> wrote:
>
> Hi, as in the topic - when I submit form (customer registration for
> example), cake php displays me blank page (without title and any
> content at all), although the form action, routes, URL - are good.
> My DEBUG is 3.
> Anyone please help cause it's driving me crazy:-/

Anna,

I would suggest you make sure that your tmp/cache directory is empty.
If you did any work with debug set to 0 before, you probably have
cached data in there.  Also, it would be good if you have access to
your web server error logs as it might be spitting something out there
as well.

Hope that helps.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Blank page after form submitting

2007-09-19 Thread Anna P

Hi, as in the topic - when I submit form (customer registration for
example), cake php displays me blank page (without title and any
content at all), although the form action, routes, URL - are good.
My DEBUG is 3.
Anyone please help cause it's driving me crazy:-/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---