| Author |  | 
      
        | alexian Newbie
 
  
 
 Joined: 11 March 2008
 Online Status: Offline
 Posts: 1
 | 
          I have a problem with integration MailBee Webmail Lite with my website. In my file i have:
           | Posted: 11 March 2008 at 10:06am | IP Logged |   |  
           | 
 |  <?
 include('integr.php');
 
 $Integr = new
 CIntegration('http://localhost/webmail/');
 
 $email      = 'alexian@o2.com';
 $login      = 'alexian';
 $pass       = 'asdasdasd';
 $pop3server = 'mail.o2.com';
 $smtpserver = 'mail.o2.com';
 
 $Integr->UserLogin($email, $login, $pass, $pop3server, $smtpserver);
 
 ?>
 
 and i get following error:
 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\webmail\integr.php:115) in C:\xampp\htdocs\webmail\integr.php on line 116
 
 What's wrong ??
   | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          Looks like the integration script sends some data or text prior to transmitting headers/cookies data. It's important to make sure that your PHP script generates and sends HTTP headers before any other output.
           | Posted: 12 March 2008 at 2:58am | IP Logged |   |  
           | 
 |  
 There are two ways of resolving the issue:
 
 - Try to move all text/data output which is before PHP block (including white spaces and carriage returns) to the end of the file.
 
 - Alternatively, you may insert <?php ob_start(); ?> function to the beginning of your script and <?php ob_end_flush(); ?> function to the end of the script.
 
 Also, make sure inc_settings_path.php doesn't contain irrelevant spaces or carriage returns outside of <?php ... ?> block.
 
 Best regards,
 Andrew
 | 
       
        | Back to Top |     | 
       
       
        |  |