Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2008, 09:30 PM
maestrodamuz maestrodamuz is offline
 
Join Date: Mar 2008
Location: Aberdeen
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upgrade problem

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
Please can I get some help?
Reply With Quote
  #2  
Old 05-25-2008, 09:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling your plugins through the config file perhaps? Edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #3  
Old 05-25-2008, 10:02 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also ensure you have overwritten the old files with a copy of the new 3.7 files.
Reply With Quote
  #4  
Old 05-25-2008, 10:14 PM
maestrodamuz maestrodamuz is offline
 
Join Date: Mar 2008
Location: Aberdeen
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that didnt solve it, the error still persists.
at opserty, I have overwritten them.
Reply With Quote
  #5  
Old 05-25-2008, 10:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-25-2008, 11:16 PM
maestrodamuz maestrodamuz is offline
 
Join Date: Mar 2008
Location: Aberdeen
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there has to be some kind of explainantion to this...
Reply With Quote
  #7  
Old 05-26-2008, 06:05 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open a support ticket @ vBulletin.com.
Reply With Quote
  #8  
Old 05-28-2008, 05:30 PM
maestrodamuz maestrodamuz is offline
 
Join Date: Mar 2008
Location: Aberdeen
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

even support has not been able to help me....I have globally disabled hooks, uploaded version 3.7.1....still I cry...someone help..
Reply With Quote
  #9  
Old 05-28-2008, 07:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 05-28-2008, 09:45 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04244 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete