Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Problem with Integration Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
alexian
Newbie
Newbie


Joined: 11 March 2008
Online Status: Offline
Posts: 1
Posted: 11 March 2008 at 10:06am | IP Logged Quote alexian

I have a problem with integration MailBee Webmail Lite with my website. In my file i have:
<?
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 View alexian's Profile Search for other posts by alexian
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 12 March 2008 at 2:58am | IP Logged Quote Andrew

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.

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide