Announcement

Collapse
No announcement yet.

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

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

  • 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
    ai-stockmarketforum vbulletin-faq vbulletin-fans

  • #2
    The print line is causing the error. Move it below the include for global.php.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      School Boy Error, oh dear... Thanks for your help
      ai-stockmarketforum vbulletin-faq vbulletin-fans

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X