Announcement

Collapse
No announcement yet.

cant use vbmail to send an email, header already sent.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mikep
    replied
    School Boy Error, oh dear... Thanks for your help

    Leave a comment:


  • Wayne Luke
    replied
    The print line is causing the error. Move it below the include for global.php.

    Leave a comment:


  • mikep
    started a topic cant use vbmail to send an email, header already sent.

    cant use vbmail to send an email, header already sent.

    using vbmail currently gives an error (it didnt used to)
    I have used it in data managers,

    but now doing something sompe and keeps throwing an error:

    Unable to add cookies, header already sent.
    File: /.../www/submitInfo.php
    Line: 2

    my code simplified, submitInfo.php:

    PHP Code:
    <?php
    Print 'submitting...<br>';
    include(
    './global.php');
    vbmail("a"'b''c');
    ?>
    submitInfo.php is in root, can someone tell me more about this error so I can fix this issue:
    Unable to add cookies, header already sent.
    I have had a look around, but cant actualy find the meaning of this error, and how to solve it in my case
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X