While developing a module, I ran into a new problem with a twist. When submitting a form, I get a white screen. I have gone so far as to remove validate and submit functions with the same result. Ideas? Thanks.
On Sun, 2009-12-20 at 17:42 -0500, Dayton Perkins wrote:
While developing a module, I ran into a new problem with a twist. When submitting a form, I get a white screen. I have gone so far as to remove validate and submit functions with the same result. Ideas? Thanks.
What does your php log say to you?
Pierre.
Can be for multiple causes; try deleting your cache, check file encoding (UTF8) and: http://drupal.org/node/158043
On Mon, Dec 21, 2009 at 12:17 AM, Pierre Rineau pierre.rineau@makina-corpus.com wrote:
On Sun, 2009-12-20 at 17:42 -0500, Dayton Perkins wrote:
While developing a module, I ran into a new problem with a twist. When submitting a form, I get a white screen. I have gone so far as to remove validate and submit functions with the same result. Ideas? Thanks.
What does your php log say to you?
Pierre.
-- [ Drupal support list | http://lists.drupal.org/ ]
Pierre Rineau wrote:
On Sun, 2009-12-20 at 17:42 -0500, Dayton Perkins wrote:
While developing a module, I ran into a new problem with a twist. When submitting a form, I get a white screen. I have gone so far as to remove validate and submit functions with the same result. Ideas? Thanks.
What does your php log say to you?
Pierre.
Yes thanks, Pierre, I hadn't checked. However I found I had a space in front of the <?php on the first line of the module. No idea how I managed that! :-)
You can add | ini_set('display_errors', 1);| To your script to get the errors to display. Right now display_errors is set off in your php.ini, so when it hits and error you get nothing.
-Don-
On 12/23/2009 8:50 AM, Dayton Perkins wrote:
Pierre Rineau wrote:
On Sun, 2009-12-20 at 17:42 -0500, Dayton Perkins wrote:
While developing a module, I ran into a new problem with a twist. When submitting a form, I get a white screen. I have gone so far as to remove validate and submit functions with the same result. Ideas? Thanks.
What does your php log say to you?
Pierre.
Yes thanks, Pierre, I hadn't checked. However I found I had a space in front of the<?php on the first line of the module. No idea how I managed that! :-)