View Single Post
05-29-2012, 03:53 AM   #1
Spikedadragon
Junior Member
 
Join Date: Mar 2011
Posts: 15
Rep Power: 0
Spikedadragon is getting browny points
Error in Vbulletin 4.2

Hello,

I know you have stated that this is for 3.x and have no intent on working with vb4.x, however it was working fine up to 4.1.12.

Just curious if you can help out and figure out why the error :
Fatal error: Cannot redeclare class vB in /home/halkum1/public_html/vb/vb.php on line 30

Is now appearing when going to the wordpress site, following upgrade to Vbulletin 4.2.0 ?

They may have changed something I suppose which makes the wordpress bridge no longer work.

This is line 29-38 on vb.php
Code:
 */
abstract class vB
{
    /*Properties====================================================================*/

    /**
     * Whether the framework has been initialized.
     *
     * @var bool
     */
    private static $initialized;
Also at the top of the file is this single line. I don't recall it before but never looked either.

<?php if (!defined('VB_ENTRY')) die('Access denied.');


Thanks!
D
Spikedadragon is offline   Reply With Quote