[Form Builder 0.3] - Error when editing forms?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

[Form Builder 0.3] - Error when editing forms?

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

Return to “CMSMS Core”