Jump to content


Photo
* - - - - 1 votes

Problem Integrating vbulletin 4.1.5 with Censura


  • Please log in to reply
14 replies to this topic

#1 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 15 September 2011 - 10:18 PM

Hello,

We are having a problem integrating the header and footer of our forums with Censura. When it is enabled, Censura pages give this error message:

Warning: Cannot modify header information - headers already sent by (output started at /home/autopia/public_html/reviews/system/cache/templates_c/%%88^882^8825C3EF%%header.tpl.php:8) in [path]/includes/functions.php on line 5170

Fatal error: Cannot redeclare posicionnavbar() (previously declared in /home/autopia/public_html/forum/includes/class_bootstrap.php(414) : eval()'d code:13) in /home/autopia/public_html/forum/includes/class_bootstrap.php(414) : eval()'d code on line 13

Our Forums is location at www_autopia_org with the reviews at www_autopia_org/reviews (Replace _ with .)

Note: We have disabled the header and footer integration at the moment.

Any ideas?

#2 Darren

Darren

    Censura Team

  • Administrators
  • 889 posts
  • LocationUK

Posted 17 September 2011 - 06:12 PM

Hi.

Do you have any plugins enabled for your vBulletin installation?

#3 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 19 September 2011 - 09:06 PM

Hi.

Do you have any plugins enabled for your vBulletin installation?


We have about a dozen plug ins.
Auto Linker 0.01 Automatic linker

EveryWhere Sidebar 1.3.4 This mod will show the sidebar everywhere in the forum if the sidebar is enabled by the administrator

microCLASSIFIEDS 4.1.1 General Classifieds

PhotoPost vBGallery 3.01 PhotoPost vBGallery 3.01

Project HoneyPot 4.1.0b 1a Blocklist provided by projecthoneypot

Skimlinks Plugin 2.0.7 Official Skimlinks plugin for vBulletin

Tabs en vBulletin 4.x 2.0.3 Sistema que permite poner Tabs en el menĂº de vBulletin

Today's Top Poster(s) 4.0.RC1 by Hasann

vBadvanced Links Directory 4.1.1 vBadvanced Links Directory

vBSEO 3.6.0 vBulletin SEO

vbStopForumSpam 0.61 This plugin allows you to check new registrations against www_StopForumSpam_com

vBTubePRO 2.32_vB4 Video, Photo and MP3 Gallery by

vBulletin Blog 4.1.5 Personal web log, integrated with vBulletin.

vBulletin CMS 4.1.5 Content Management System

VSa - Advanced Forum Statistics 7.0.3 VSa - Advanced Forum Statistics

VSa - ChatBox 3.1.6 VSa - ChatBox

Edited by 3dint, 19 September 2011 - 09:09 PM.


#4 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 22 September 2011 - 01:07 AM

So, do you think this could be related to a plug in?

#5 Darren

Darren

    Censura Team

  • Administrators
  • 889 posts
  • LocationUK

Posted 23 September 2011 - 04:54 PM

Hi. Yes, I think there's an issue with a plugin. I'll do some investigation and try to update you ASAP.

#6 Gavin

Gavin

    Censura Team

  • Administrators
  • 418 posts

Posted 26 September 2011 - 09:03 AM

Hi 3dint,

We have experienced this problem with certain plugins before... the vBulletin code itself is happy with the integration, it's just that some plugins have some lazy coding which makes it awkward to run the code in conjunction with Censura. However we've rewritten the integration code a bit to get round it.

Please unzip the attached files and upload them. Please note that the header and footer files have changed, so if you have modified them or are using a different public template folder than "censura2", you'll have to copy those changes in manually. That should fix the problem.

Best Regards
Gavin

Attached Files


Gavin Vincent, Censura Lead Developer
www.gavinvincent.co.uk


#7 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 18 October 2011 - 09:16 PM

Finally had a chance to install the Integration Fix. Works great now. Thanks!

#8 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 19 October 2011 - 12:10 AM

Actually, it only works in firefox. In IE, it shows:

Warning: Cannot modify header information - headers already sent by (output started at /home/autopia/public_html/reviews/system/cache/templates_c/%%88^882^8825C3EF%%header.tpl.php:38) in [path]/includes/bad-behavior/screener.inc.php on line 8


Unable to add cookies, header already sent.
File: /home/autopia/public_html/reviews/system/cache/templates_c/%%88^882^8825C3EF%%header.tpl.php
Line: 38

#9 Gavin

Gavin

    Censura Team

  • Administrators
  • 418 posts

Posted 20 October 2011 - 08:41 AM

It sounds like the problem is in the vbulletin plugin /includes/bad-behavior/screener.inc.php ... this kind of error is usually caused by empty lines before the opening <?php tag at the beginning of the file or after the closing ?> tag at the end. If there are any remove those lines and its should work OK.

Gavin Vincent, Censura Lead Developer
www.gavinvincent.co.uk


#10 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 26 October 2011 - 07:02 PM

There is no extra lines in the file, but I have disabled that plug in for the time being. We still get the message:

Unable to add cookies, header already sent.
File: /home/autopia/public_html/reviews/system/cache/templates_c/%%88^882^8825C3EF%%header.tpl.php
Line: 38

Ben

#11 Gavin

Gavin

    Censura Team

  • Administrators
  • 418 posts

Posted 27 October 2011 - 11:16 AM

Hmm I'm not really sure to be honest I'd have to take a closer look. Please create support ticket and let me know some FTP details, and I'll take a look.

To create a support ticket, login on the forums, then on the drop-down menu on the black bar at the top, select "client area", then click "support" > "new request".

Thanks

Gavin Vincent, Censura Lead Developer
www.gavinvincent.co.uk


#12 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 19 November 2011 - 01:57 AM

Sorry for the delay. Been away at tradeshows. I updated to 2.6 and issue is still there. Odd part is that it works fine in Firefox, but IE has issues. The integrate has been disabled till we get this fixed. Will send you the ftp info.

#13 mark99

mark99

    Senior Member

  • Customers
  • 377 posts

Posted 11 December 2011 - 05:39 PM

Any update on this as I'm interested too? Seems no reply to the above guy for quite awhile.

#14 3dint

3dint

    Junior Member

  • Customers
  • PipPip
  • 16 posts

Posted 12 December 2011 - 08:02 PM

Not yet, Submitted a tech support request on Nov 19th. Have not heard anything yet. :(

#15 Gavin

Gavin

    Censura Team

  • Administrators
  • 418 posts

Posted 28 February 2012 - 02:46 PM

Sorry for the delay - while moving to the new support desk some support tickets have fallen through the cracks. I've replied to your support ticket, if you could let me know which plugin is causing the problems we can try and get this fixed.

The most likely explanation is that plugin is causing an error message to be generated, which has a knock on effect because subsequent code can't send cookies once there has been some output (e.g., an error message). In which case the options are contacting the plugin developer to get the error message fixed, disabling this plugin or turning off the 'display_errors' setting in PHP.

Best Regards
Gavin

Gavin Vincent, Censura Lead Developer
www.gavinvincent.co.uk





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users