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

VM - October 25, 2008 - 19:27
Status:active» postponed (maintainer needs more info)

checking the apache/httpd error logs for the error being thrown and reporting that error here would be helpful.

#2

asak - October 25, 2008 - 21:27

I see no error in the error log...

#3

asak - October 26, 2008 - 00:13

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 images
in 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

dmclark - October 29, 2008 - 18:00
Title:WSOD after submitting any form» blank after submitting any form

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

lelizondob - November 30, 2008 - 11:15
Status:postponed (maintainer needs more info)» duplicate

duplicate of http://drupal.org/node/301047#comment-1069525 ?

 
 

Drupal is a registered trademark of Dries Buytaert.