Lampwrights Forum

Lampwrights Forum (http://www.lampwrights.com/index.php)
-   vBulletin Wordpress Bridge (http://www.lampwrights.com/forumdisplay.php?f=13)
-   -   "Unable to add cookies, header already sent." (http://www.lampwrights.com/showthread.php?t=250)

TomasH 11-25-2011 06:06 PM

"Unable to add cookies, header already sent."
 
Hi,

I'm getting this error when i save any options, in the WP admin panel at Users and at Settings. Which option doesn't matter, all options that are related to the vbbridge doesn't work.
Options saved.

Unable to add cookies, header already sent.
File: /home/duokgvsp/domains/hochstenbach-hellebrand.nl/public_html/wordpress/wp-content/plugins/vbbridge/vbbridge.php
Line: 35

The options weren't saved when i go back to the admin panel.

I use PHP 5.3.8 and vBulletin 4.1.5.

Thanks for your support!

TomasH 11-26-2011 04:09 PM

I've PHP 5.3 installed after the installation of the plugin. Now i've re-installed the plugin and it works fantastic. This problem is solved. Thanks for the great plugin!

mindfrost82 12-22-2011 02:50 PM

I'm guessing the only way to fix this is to upgrade to PHP 5.3? I'm on a later version of 5.2.x and I'm having this problem.

citizen 04-07-2012 05:57 PM

Hi all,
I'm having the same problem:

On a fresh WP 3.3.1 in the root and VB 3.5.2 in /forum I get the following error:

Code:

Notice: Use of undefined constant action - assumed 'action' in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 20

Notice: Undefined index: action in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 20

Notice: Undefined index: action in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 28

Notice: Undefined variable: install in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 38

Unable to add cookies, header already sent.
File: /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php
Line: 20

With WP 3.2.1 almost the same error:

Code:

Notice: Use of undefined constant action - assumed 'action' in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 20

Notice: Undefined index: action in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 20

Options saved.

Notice: Undefined variable: install in /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php on line 38

Unable to add cookies, header already sent.
File: /home/www/web172/html/site/wp-content/plugins/vbbridge/vbbridge.php
Line: 20

Even if I switch between PHP 5.2.14 and 5.3.x. (5.3.x is not compatible with VB 3.5.2)
Could it be because of the php.ini output buffer option which is not switched on or some other fancy php option?
Thank you in advance!

citizen 04-07-2012 06:23 PM

I figured out that this is because of the wp-config.php debug-option set to true –> define('WP_DEBUG', true);

Turning it off is the simplest, but actually the variables should be checked for existence before used, as far as I know. I think the function is ISSET($var) :)
Anyway I'm not so deep into Jeff's code, if he has time some day he could fix this ;)

Happy Easter!


All times are GMT -4. The time now is 01:59 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.