Current time: 05-24-2012, 11:43 AM Hello There, Guest! (LoginRegister)


1.4.2 Upgrade Double Settings Fix
09-20-2008, 05:37 PM
Post: #1
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago 1.4.2 Upgrade Double Settings Fix
This user has been denied support. This user has been denied support.
Attached is a simple method to fix double settings.

Instructions:

Upload the file to your root mybb folder.
/root/double_delete.php

Then access the file via your browser.
http://www.domain.com/mybb/double_delete.php


This will copy only your unique settings to a new table, delete your old settings, then rename the copy back to original. It's dirty fix but it works and it's fast method.

Also I have file setup so only Super Admin can run it. If you get a permission error you must edit your /inc/config.php and enter your uid for the Super Admin variable.

That's it.


Attached File(s)
.php  double_delete.php (Size: 973 bytes / Downloads: 475)

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
09-20-2008, 05:45 PM
Post: #2
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
No and Yay! I just deleted my tables, how could you release this so late? Well, thanks anyways!

[Image: signature.png]
Roflcopters | Zynge.net | Songr

PHP Code:
echo "Nice Query, But I don't think this is the place for it =]"
Visit this user's website Find all posts by this user
09-20-2008, 06:09 PM
Post: #3
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
This user has been denied support. This user has been denied support.
Sorry I decided to go out last night to the bar and pretend I have a life outside of mybb. Smile

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
09-20-2008, 06:12 PM
Post: #4
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
(09-20-2008 06:09 PM)labrocca Wrote:  Sorry I decided to go out last night to the bar and pretend I have a life outside of mybb. Smile

Haha Toungue

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
09-20-2008, 07:19 PM
Post: #5
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
Thanks for this
Visit this user's website Find all posts by this user
09-20-2008, 08:58 PM
Post: #6
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
Very good fix btw labrocca Smile

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
09-21-2008, 02:52 PM
Post: #7
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
Great thanks for this fix

[Image: 30shrsy.jpg]
[Image: 2i254p1.jpg]
Visit this user's website Find all posts by this user
09-21-2008, 07:47 PM
Post: #8
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
it worked but it does not fix the Admin CP problem

plus, some of settings are still doubled..
Find all posts by this user
09-21-2008, 07:49 PM (This post was last modified: 09-21-2008 08:08 PM by labrocca.)
Post: #9
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
This user has been denied support. This user has been denied support.
Run this again then. What settings are doubled?

This runs by "name" column.

EDIT: I went in and properly run the double delete..seemed to work fine for me. As for your admincp problem...I logged in just fine.

New MyBB plugin is "My Awards 2.0".
[Image: 468x60_SF.gif]
Visit this user's website Find all posts by this user
09-23-2008, 01:52 PM
Post: #10
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 21 Hours, 38 Minutes, 49 Seconds ago RE: 1.4.2 Upgrade Double Settings Fix
thanks for this tip labrocca

when I had this problem in mybb 1.40 > 1.41 upgrade I´ve cleared "mybb_settings" and "" then did run a sql query with my 1.40 data of this table... otherwise my plugins settings were lost

1.41 > 1.42 upgrade gone smooth

[]s, Claudio

Tutorial: Jquery (by google API) with mybb (Prototype)
Distinction between Paid/Free Plugins Threads
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 3 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication