The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to upgrade from vbulletin 3.5.4 to 3.7.0. But i have been getting this error since I began
Code:
Step 1) Upgrade to vBulletin 3.5.5 Complete! Fatal error: Cannot redeclare delete_product() (previously declared in /var/www/html/forumsUPG/includes/adminfunctions.php:3180) in /var/www/html/forumsUPG/includes/adminfunctions_plugin.php on line 48 ![]() |
#2
|
||||
|
||||
![]()
Try disabling your plugins through the config file perhaps? Edit config.php and add this line right under <?php
PHP Code:
|
#3
|
|||
|
|||
![]()
Also ensure you have overwritten the old files with a copy of the new 3.7 files.
|
#4
|
|||
|
|||
![]()
that didnt solve it, the error still persists.
at opserty, I have overwritten them. |
#5
|
||||
|
||||
![]()
Take another look at the adminfunctions.php file, around line 3180 (where the error says the first declaration is), cuz my adminfuctions.php file has this on line 3180:
$vbulletin->forumcache["$forumid"]['lastprefixid'], It has nothing to do with the function delete_product. |
#6
|
|||
|
|||
![]()
there has to be some kind of explainantion to this...
|
#7
|
||||
|
||||
![]()
Open a support ticket @ vBulletin.com.
|
#8
|
|||
|
|||
![]()
even support has not been able to help me....I have globally disabled hooks, uploaded version 3.7.1....still I cry...someone help..
|
#9
|
||||
|
||||
![]()
Why won't support help you? That seems a bit odd.
If it were me, I'd check for Suspect Files and remove all unnecessary files. I'd copy all the files from my server to my computer (I've already done that, but if you haven't..) and search for "delete_product" in all the files and make sure the functions isn't called twice. If I'm positive it is not, I'd made sure the file that "delete_product" is in is not somehow called twice in another file or in a plugin that is called multiple times on a page (like postbit ones). Not a fun thing to chase down (I hate these sort of problems!), but that's the way I'd go about it. |
#10
|
|||
|
|||
![]()
Can you post the reason as to why vBulletin Support won't help you? Seems very odd...
The API suggests that the function should be declared in adminfunctions_plugin.php and not adminfunctions.php, can you post the Line 3180 of your adminfunctions.php file? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|