vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Upgrade problem (https://vborg.vbsupport.ru/showthread.php?t=180501)

maestrodamuz 05-28-2008 09:54 PM

Quote:

Originally Posted by Opserty (Post 1534490)
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?

They say my FTP keep timing out, they asked me to load the vbulletin 3.7.1 files and try again, still same error.

--------------- Added [DATE]1212015524[/DATE] at [TIME]1212015524[/TIME] ---------------

Line 3180 of adminfunctions.php
Code:

function delete_product($productid)

Opserty 05-28-2008 09:59 PM

Are you experiencing FTP problems? Because it may be that your files are not being uploaded completely or some of them are being missed due to the time out, you may wish to speak to your host to see if they can figure out why the FTP is timing out.

maestrodamuz 05-28-2008 10:05 PM

I did it!!!!!!!!!!!!!

Turns out function delete_product was declared both on line 3180 on adminfunctions.php and line 21 on adminfunctions_plugin.php, but this line throws errors for vbulletin 3.5 upgrades.

So I just commented line 21 to 48 in that file.

Thanks Lynne and Opserty. And everyone.

Lynne 05-28-2008 11:10 PM

Just wanted to comment that line 3180 of the adminfuctions.php file in 3.7 is NOT the delete_product function. I think you are using an older version of your adminfunctions.php file. You need to make sure all your uploaded files are for version 3.7 (or 3.7.1) or you are going to have more problems along the way.

Opserty 05-28-2008 11:38 PM

You haven't solved your problem though maestrodamuz, you've merely averted some symptoms. Check the top of your adminfunctions.php file and it will tell your the vBulletin version number of the file, (most definately will not be 3.7.x). You need to figure out why you're files are not being overwritten correctly. It maybe that you aren't uploading the correct files or to the correct place or it may be that there is something wrong with the FTP transfer/FTP Client.

You need to look into this as it will only cause problems in the future if core files are updated and you are using older files.


All times are GMT. The time now is 02:19 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.00970 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete