blank after submitting any form
asak - October 25, 2008 - 19:16
| Project: | OG Teampage |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Great module - but some serious problems with it.
After enabling & testing this module i found that after every node/page/form submit i get a WSOD. The information is saved, but the page doesn't reload correctly. disabling this module fixes everything.
Using D5.12 php5 sql4

#1
checking the apache/httpd error logs for the error being thrown and reporting that error here would be helpful.
#2
I see no error in the error log...
#3
Ok.. some more insight.
1. Looking at the .module file in WordPad, I see some strange characters:
t('Show user 粑mage if available and no image uploaded for this team').'?');2. I don't know any php, but is it ok that the following line has a
;)inside a t() ?$form['help_text'] = array('#type' => 'markup', '#title' => t('Help'), '#value' => t('Please give at least width or height of the imagesin the team table! Remember it should be a table, so the layout should be human viewable! ;)<br /><br />'));
3. If i edit the file in NotePad i don't see that strange text, but if i open it with WordPad i can see it. When I delete it, it says that the file will lose all formatting (which is a good thing right?). After deleting those chars and deleting the cute smiley (just to be safe), i get the following error after enabling the module:
Parse error: syntax error, unexpected T_CONCAT_EQUAL in /home/.../sites/all/modules/og_teampage/og_teampage.module on line 252#4
I am having the same issue -- once I enable this module, any form submitted via POST gives a blank page.
This usually happens when characters are sent to the browser before the http_redirect -- which would be the case if there were spurious characters (or blank lines) oudside of the
<?php
?>
I don't see any though.
#5
duplicate of http://drupal.org/node/301047#comment-1069525 ?