Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbArticles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Uninstall Script for 2.0 failing Details »»
Uninstall Script for 2.0 failing
Version: , by deb0 deb0 is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-20-2005 Last Update: Never Installs: 0
 
No support by the author.

Thanks for providing this script, but I am having problems with it. When running it to remove 2.0, I get

Parse error: parse error, unexpected T_STRING in /home/afr0chat/public_html/forums/admincp/uninstall_2_0.php on line 6

Line 6 is:
DROP TABLE " . TABLE_PREFIX . "articles_rating;

I need to uninstall so I can install from scratch.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-31-2005, 02:03 PM
y2ksa y2ksa is offline
 
Join Date: May 2004
Location: KSA
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

come on please help on this one
Reply With Quote
  #13  
Old 04-01-2005, 03:22 AM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, I'm sendin out an SOS...!
Reply With Quote
  #14  
Old 04-01-2005, 06:09 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So are the tables present in your DB b4 running this uninstall script ?
Reply With Quote
  #15  
Old 04-01-2005, 06:54 AM
mhme mhme is offline
 
Join Date: Jun 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.0.7:

Invalid SQL: DROP TABLE articles_rating
mysql error: Unknown table 'articles_rating'

mysql error number: 1051

Date: Saturday 02nd of April 2005 01:21:24 PM
Script: http://127.0.0.1/admincp/uninstall_2_0.php
Reply With Quote
  #16  
Old 04-01-2005, 10:08 AM
y2ksa y2ksa is offline
 
Join Date: May 2004
Location: KSA
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what i get:

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE usergroup DROP 'vbarticlespermissions'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''vbarticlespermissions'' at line 1

mysql error number: 1064

Date: Friday 01st of April 2005 06:07:14 AM
Script: http://www.mysite.com/vb/admincp/uninstall_2_0.php
Referer:
Username: y2ksa
Reply With Quote
  #17  
Old 04-01-2005, 12:38 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm just did a fresh install of v2.0 on a fresh install of vb3.0.7.
Proceeded to run the uninstall_2_0.php file.

Everything worked fine for me. ( had to edit the alter statement though, syntax error there, sorry )
I have a feeling some of you may have went into your db to drop tables manually and individually previously and didn't do a proper job of it, which is why the uninstall halts at some steps. If that is the case, you will need to comment out that particular line where the table is not found ( meaning it was somehow deleted previously )
Reply With Quote
  #18  
Old 04-01-2005, 03:17 PM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the info.

I tried this and was able to 'complete' the uninstall. Then when I go to install from scratch, it errors out when creating phrases:


Invalid SQL:
INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid)
VALUES (NULL, 0, 'vbart_backto', 'Back to', 1)

mysql error: Duplicate entry 'vbart_backto-0-1' for key 2

mysql error number: 1062

Date: Friday 01st of April 2005 11:13:44 AM
Script: http://www.xxx.net/forums/admincp/in...english&step=5
Referer: http://www.xxx.net/forums/admincp/in...english&step=4
Username: adminx
IP Address: x.x.x.x


There is a syntax in the removal script; make sure PHRASE is in lowercase letters.

Thanks for the help everyone!
Reply With Quote
  #19  
Old 04-02-2005, 01:33 PM
mhme mhme is offline
 
Join Date: Jun 2004
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear cinq,
I am waiting for your response. this is your script. you can help us.
https://vborg.vbsupport.ru/showpost....8&postcount=14
Reply With Quote
  #20  
Old 04-02-2005, 01:40 PM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine for me ...
Like i asked previously, is that table even present in your db ? ( use phpmyadmin to check first and report back ).

For that matter, check the other articles_ tables as well, see if they're there.
Reply With Quote
  #21  
Old 04-02-2005, 02:46 PM
y2ksa y2ksa is offline
 
Join Date: May 2004
Location: KSA
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well did try every thing you wrote here and i still get the error did you fix the uninstall.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 09:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05048 seconds
  • Memory Usage 2,296KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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