Log in

View Full Version : vBulleting Error


Yamesh
02-07-2009, 06:28 PM
I just installed vBulletin for the first time yesterday (and so far am greatly pleased!!), but I am having one error.

Fatal error: Cannot redeclare class vb_userprofile in <path delete> \forums\includes\class_userprofile.php on line 944

Help please!!!! :)

Lynne
02-07-2009, 06:44 PM
Do you have any modifications installed? Try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Yamesh
02-08-2009, 11:52 PM
No, I have no mods installed, it's a fresh install.

snakes1100
02-08-2009, 11:57 PM
Line 944?

What version of vbulletin are you using?

Yamesh
02-09-2009, 07:29 AM
I am assuming it's the most recent one, I downloaded it when I bought it.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Lynne
02-09-2009, 03:46 PM
I am assuming it's the most recent one, I downloaded it when I bought it.

Powered by vBulletin? Version 3.8.1
Copyright ?2000 - 2009, Jelsoft Enterprises Ltd.
And the reason we ask you for the line is because we don't necessarily have the same version as you, so we ask *you* to post what is in *your* file on that line so we know. (I don't have that version, so I have no idea what is on that line.)

Have you asked about his on vb.com? If this is a totally fresh installation with no changes, this error should not be happening.

Yamesh
02-09-2009, 04:13 PM
I agree :)

No, I have not asked there yet.

snakes1100
02-09-2009, 04:35 PM
latest version of that file dont have 944 lines of code is why i asked, not because im running a different version.

there are only supposed to be 924 lines of code in that file.

did you modify that file?

did you upload that file in ascii format and not binary?

Yamesh
02-10-2009, 01:46 AM
At the sake of sounding redundant.

I didn't do anything. I installed it.

No, I didn't upload it in ascii.

You can see the forum for yourself www.goldenerafootball.com/forums/index.php

Lynne
02-10-2009, 02:07 AM
I just downloaded 3.8.1 and can confirm that there is no line 944 in that file so that error really doesn't make any sense. Since you have a totally default vbulletin board, I'd suggest putting in a Support Ticket and having the vb guys take a look.

Actually, before you do that... I just looked at your board and it is not totally default - the postbit has extra stuff added. So, try these two things first:

Create a new style with no parent:
Styles & Templates > Style Manager > Add New Style :
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

If it is still happening - Try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

vbplusme
02-10-2009, 03:26 AM
Did you fix this? I don't see the error on the link provided.

Lynne
02-10-2009, 03:31 AM
It's only on the profile pages and no, it isn't fixed.

Yamesh
02-11-2009, 04:26 PM
Sorry, I've been sick lately and haven't been on the computer much.

I just tried making a Default vBulletin as mentioned and it didn't work.

Going to edit the config.php next.

Dismounted
02-12-2009, 05:20 AM
If you have disabled all modifications and are using the default style, and it still throws the error, you should open a support ticket.

snakes1100
02-12-2009, 01:26 PM
If you have 944 lines in that file, then either its the wrong one or possibly you didnt upload it in ascii which can add white spacing and other side effects.

Verify that file actually has 944 lines of code and not 924 lines of code with 20 blank lines at the end of it.