vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   H E L P ! (https://vborg.vbsupport.ru/showthread.php?t=170598)

Boofo 02-15-2008 09:43 PM

No, sir, just been there, done that, too many times, I'm afraid.

--------------- Added 15 Feb 2008 at 17:44 ---------------

Did you re-install the xml in the Product manager and allow overwrite?

semaXD 02-15-2008 09:49 PM



ok got it thanks guys for the help just had to walk away and switch a few things around in the tables back in action!!

Boofo 02-15-2008 11:55 PM

Glad to hear it. What did you have to do?

cheesegrits 02-16-2008 03:52 AM

Quote:

Originally Posted by Boofo (Post 1444051)
She could also re-install the product and allow overwrite so the tables would be there. And then uninstall it properly.

I'm pretty sure re-installing with allow overwrite doesn't rerun the install code, so it won't recreate missing tables

-- hugh

Boofo 02-16-2008 04:42 AM

Are you sure? I thought it did.

semaXD 02-16-2008 04:44 AM

i did exactly what you and chris said reinstalled it the added the tables back empty, i had to add a second column and then it populated I did ther removal in the cp and bada bing bada boom we are back in action!!

thanks again for your quick help on this you guys rock!!:D

Boofo 02-16-2008 04:51 AM

Great! Now you know what to do if you ever run into the same kind of problem again. Ain't it fun to learn? ;)

Did re-installing the hack add back the table or did you have to do that manually?

semaXD 02-16-2008 05:05 AM

To be honest i didnt check it was up, so i got a bottle of wine and called it a week~~

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

oh wait do you mean b4 it came back up? yea we did it manually then got the wine

Boofo 02-16-2008 05:25 AM

Wine seems to help with a lot on vbulletin errors I have found out. Beer is another good error fixer. ;)

cheesegrits 02-16-2008 02:58 PM

Quote:

Originally Posted by Boofo (Post 1444255)
Are you sure? I thought it did.

Nope. From the ACP plugin.php code:

PHP Code:

            // Run if: code version is * (meaning always run), no version
            //        previously installed, or if the code is for a newer version
            //        than is currently installed
            
if ($code['version'] == '*' OR $installed_version === null OR is_newer_version($code['version'], $installed_version))
            {
                eval(
$code['installcode']);
            } 

It only runs install code on first install, or if you are installing a newer version (and then it only runs the new version's code).

Re-running the current version code on an update would be a bit disasterous for all those install codes that start out with "drop table if exists".

-- hugh


All times are GMT. The time now is 01:27 AM.

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.01042 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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