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 08-10-2006, 11:41 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Removing Hacks for 3.5.4 to 3.6

I am practicing upgrading my site and am following this thread's directions:

http://www.vbulletin.com/forum/showthread.php?t=187770

I am stuck at this part:
Quote:
Removing hacks: It's at this stage if you have hacks on your database, you can remove them from this test duplicate copy of your database you just created in step 3 - which has your imported back up sql file from step 4. This leaves all hacks and php edits intact on your live original database untouched. All you are doing is removing hacks and php edits from a copy of your original database
I don't understand what it means to remove hacks.

I currently have vba cmps and GARS as large add-ons. I also have some minor php hacks which I probably forget and some template modifications.

How does one remove hacks?
Reply With Quote
  #2  
Old 08-11-2006, 12:18 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By reversing the install instructions for them.
Reply With Quote
  #3  
Old 08-11-2006, 12:44 AM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to be a bit thick here, there is some core element that is eluding me.

I have kept track of the add-ons and php hacks that I did: vba cmps, GARS and some minor php edits.

By
Quote:
"remove them (hacks) from this test duplicate copy of your database"
does that mean I delete the mysql tables from the hacks that are in my new temp database?

Quote:
"All you are doing is removing hacks and php edits from a copy of your original database"
How do I remove php edits from the copy of my database? My database doesn't have php hacks, my php files have hacks. And I can't edit those because tthe php files in my temp database are all v 3.6? Those php files are brand new. THey have never been edited.
Reply With Quote
  #4  
Old 08-11-2006, 01:01 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by johnstires
By does that mean I delete the mysql tables from the hacks that are in my new temp database?
If the hacks created their own tables then yes, you can delete (drop) them - however, this isn't necessary as they won't harm anything (unless of course they happen to have a name that clashes with a new vb table, but that's unlikely).

Quote:
Originally Posted by johnstires
How do I remove php edits from the copy of my database? My database doesn't have php hacks, my php files have hacks. And I can't edit those because tthe php files in my temp database are all v 3.6? Those php files are brand new. THey have never been edited.
You cannot "remove php edits from the copy of my database" because as you say, that statement makes no sense. I assume it means remove the php edits you made to files - and again, as you say, if you have uploaded the fresh 3.6 files then that step isn't necessary as the fresh files will not have any edits.
Reply With Quote
  #5  
Old 08-11-2006, 01:16 AM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So what I really should do is skip that step. Install the board on my second temp directory. Then install my new hacks and edit my php files on my new directory. Then edit my templates as necessary.
Reply With Quote
  #6  
Old 08-11-2006, 01:39 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a plan.
Reply With Quote
  #7  
Old 08-11-2006, 02:13 AM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay so now I have a new problem. If I have vba cmps in my root directory along with forums and forums2 (my temp), how do I upgrade vba cmps without touching my currently live files?

Also I am getting this error on my forums2/admin/index.php

Quote:
Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT adminmessage.adminmessageid
FROM adminmessage AS adminmessage
INNER JOIN adminlog AS adminlog ON (adminlog.script = adminmessage.script AND adminlog.action = adminmessage.action)
WHERE adminmessage.status = 'undone'
AND adminmessage.script <> ''
AND adminlog.dateline > adminmessage.dateline
GROUP BY adminmessage.adminmessageid;

MySQL Error : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation '='
Error Number : 1267
Date : Thursday, August 10th 2006 @ 11:11:51 PM
Script : http://localhost/forums2/admincp/index.php?do=home
Referrer : http://localhost/forums2/admincp/index.php?do=nav
IP Address :
Username : admin
Classname : vB_Database
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 12:59 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.04305 seconds
  • Memory Usage 2,227KB
  • 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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete