Page 1 of 1

[Form Builder 0.3] - Error when editing forms?

Posted: Wed Jul 18, 2007 1:00 pm
by rtkd
hi,

i just installed the formbuilder 0.3 module  with 1.0.8 and it throughs a header error when i try to edit/build new form.
the error is:

Code: Select all

Notice: Undefined index: QUERY_STRING in xxx\modules\FormBuilder\FormBuilder.module.php on line 683

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\lib\classes\class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\lib\classes\class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\lib\classes\class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\lib\classes\class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\site\lib\classes\class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at xxx\modules\FormBuilder\FormBuilder.module.php:683) in xxx\lib\classes\class.admintheme.inc.php on line 176
the error is produced by this function

Code: Select all

function SendHeaders($alreadySentCharset, $encoding)
    {
        // Date in the past
        header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

        // always modified
        header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
 
        // HTTP/1.1
        header("Cache-Control: no-store, no-cache, must-revalidate");
        header("Cache-Control: post-check=0, pre-check=0", false);

        // HTTP/1.0
        header("Pragma: no-cache");
        
        // Language shizzle
        if (! $alreadySentCharset)
        {
	       header("Content-Type: text/html; charset=$encoding");
        }
    }
any ideas?

thx, rtkd