Jump to content


- - - - -

(IM) DB Customization Manager 1.0.3


  • Please log in to reply
18 replies to this topic

#1 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 23 October 2009 - 04:22 PM

Posted Image

File Name: (IM) DB Customization Manager 1.0.3
File Submitter: Michael
File Submitted: 23 Oct 2009
File Updated: 01 Dec 2010
File Category: IP.Board v3.0.x

After years of running a forum and performing version upgrades, converting from another forum software, installing mods, etc., your forum's database can get cluttered with extra unused junk. While this extra data doesn't typically cause any real problems with the functionality of your site, it does take up some extra room and can have a minor impact on performance.

What this application does is looks at every application installed on your forums and determines what it thinks you should have in your database for a variety of objects, then compares it to what you actually have in there, and it gives you a report of what extra stuff you have. You can then add Notes to these items to let yourself or other Admins know whether it should be kept, you can query the database for info about the particular item, and you can quickly delete the items you find. Remember that there is no Undo for deleting items, so only delete stuff you are sure you don't need!

The tool can scan your database and find the following extra types of information:

  • BBCodes
  • Caches
  • Help Files
  • Hooks
  • Public Language Bits
  • Admin Language Bits
  • Media tags
  • Settings
  • Setting Groups
  • Skin CSS
  • Skin Replacements
  • Skin Templates
  • SQL Fields
  • SQL Tables
  • Tasks

Click here to download this file
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#2 Cabola

Cabola

    Old Wise One

  • Members
  • PipPipPipPipPip
  • 143 posts
  • Location:Europe - Denmark
  • Real Name:Carsten Larsen
  • IPB Version:v3.2.x

Posted 25 October 2009 - 03:06 PM

Upgrade of the ol' mod eh? Still useful I bet!

Will defiantly need this when I upgrade!

Edited by Cabola, 25 October 2009 - 03:08 PM.

Posted Image
Posted Image


#3 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 26 October 2009 - 11:38 PM

OK, I released an update to this to version 1.0.0.  Changed in this version are the following:

  • The check for extra language strings has been split into 2 separate checks, one for public and one for admin strings, to reduce the resources usage on this intensive task
  • Fixed bugs with not being able to drop SQL columns and/or tables due to table prefixes
  • Added an overall count of the number of found and noted entries to the overview page
  • Added text showing which tool was run on the results page
  • Since the SQL fields tool only works with MySQL, it's now hidden if you are using a different driver
  • Hard-coded a few caches as being needed by IP.Board/IP.Blog even though they don't show up in the designated place for such required caches
  • Added code to deal with the unusual file structure of IP.Subscriptions installation file, so that it's tables do not show up as extra
  • Fixed hard-coded references to MySQL installation files
  • Fixed issue with table prefixes and columns/tables added by hooks
Upgrading is the same as any other IP.Board app: upload the new files, visit the Manage Applications & Modules page, and click the link to upgrade.

I theory, anything this finds at this point should really be extra.  I know there are some issues with settings on IP.Shoutbox hooks, it will probably find some extra settings for that even if you are up to date.  My advice is to uninstall the 2 IP.Shoutbox hooks, run this tool and clean out anything related to those hooks, and then re-import the hooks.  If you have any questions about anything else this tool might find, post it here and I'll do my best to help. ;)
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#4 M1r0

M1r0

    Novice

  • Members
  • PipPip
  • 15 posts
  • Location:Geneva
  • Real Name:Miro
  • IPB Version:v3.1.x

Posted 27 October 2009 - 01:02 AM

I'v got an error and I can't view the application page.

The error is this one :
System Error

Could not find Setup directory for the 'IRC Chat' application.

#5 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 27 October 2009 - 06:56 PM

Did you delete any files from the server after you installed that IRC Chat application?  There should be a /setup/versions/install/sql/ folder in that application's folder structure.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#6 Guardsman

Guardsman

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 246 posts
  • IPB Version:v2.3.x

Posted 28 October 2009 - 11:23 AM

It's not working Michael.

During install I had a screen full of database table error messages (did not exist).

I carried on regardless and the install completed.

Using the app I had several lines without text.

Selecting a line with text (eg BBCodes) resulted in a driver error:

 Date: Wed, 28 Oct 2009 11:17:14 +0000
 Error Number: 1064
 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 'ASC' at line 1
 IP Address: xx.xxx.xxx.x
 Page: /forum/admin/index.php?adsess=06c5966e841431db6d7b2d14b5f29811&app=dbmanager&&module=dbmanager&section=dbmanager&do=tool&tool=bbcode
 Debug: array (
  1 => 
  array (
	'file' => '/home/d/public_html/forum/ips_kernel/classDb.php',
	'line' => 1010,
	'function' => 'query',
	'class' => 'db_driver_mysql',
  ),
  3 => 
  array (
	'file' => '/home/d/public_html/forum/admin/applications_addon/other/dbmanager/modules_admin/dbmanager/dbmanager.php',
	'line' => 74,
	'function' => 'loadSiteData',
	'class' => 'dbManagerLibrary',
  ),
  4 => 
  array (
	'file' => '/home/d/public_html/forum/admin/applications_addon/other/dbmanager/modules_admin/dbmanager/dbmanager.php',
	'line' => 48,
	'function' => 'doTool',
	'class' => 'admin_dbmanager_dbmanager_dbmanager',
  ),
  5 => 
  array (
	'file' => '/home/d/public_html/forum/admin/sources/base/ipsController.php',
	'line' => 291,
	'function' => 'doExecute',
	'class' => 'admin_dbmanager_dbmanager_dbmanager',
  ),
)
 mySQL query error: SELECT * FROM ibf_ ORDER BY  AS

I decided to uninstall the app and got this error (so it won't uninstall):

 Date: Wed, 28 Oct 2009 11:17:52 +0000
 Error Number: 1146
 Error: Table 'db.ibf_tags_index' doesn't exist
 IP Address: xx.xxx.xxx.x
 Page: /forum/admin/index.php?adsess=06c5966e841431db6d7b2d14b5f29811&app=core&module=applications&section=applications&do=application_remove&app_id=21
 Debug: array (
  1 => 
  array (
	'file' => '/home/d/public_html/forum/ips_kernel/classDb.php',
	'line' => 1095,
	'function' => 'query',
	'class' => 'db_driver_mysql',
  ),
  3 => 
  array (
	'file' => '/home/d/public_html/forum/admin/applications/core/modules_admin/applications/applications.php',
	'line' => 1409,
	'function' => 'delete',
	'class' => 'db_main_mysql',
  ),
  4 => 
  array (
	'file' => '/home/d/public_html/forum/admin/applications/core/modules_admin/applications/applications.php',
	'line' => 107,
	'function' => 'applicationRemove',
	'class' => 'admin_core_applications_applications',
  ),
  5 => 
  array (
	'file' => '/home/d/public_html/forum/admin/sources/base/ipsController.php',
	'line' => 291,
	'function' => 'doExecute',
	'class' => 'admin_core_applications_applications',
  ),
)
 mySQL query error: DELETE FROM ibf_tags_index WHERE app='dbmanager'

Help?
Nobody reads this bit...

#7 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 28 October 2009 - 12:28 PM

I have no idea what that last error message means, this mod has nothing to do with a 'tags_index' table. ;)
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#8 Guardsman

Guardsman

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 246 posts
  • IPB Version:v2.3.x

Posted 28 October 2009 - 09:18 PM

Hmmm... and yet it won't uninstall?
Nobody reads this bit...

#9 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 29 October 2009 - 12:21 PM

This is resolved now, yes?
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#10 Guardsman

Guardsman

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 246 posts
  • IPB Version:v2.3.x

Posted 29 October 2009 - 12:32 PM

Not yet Michael. I'm at work right now. I'll take a look later.

BTW, I suspect tags_index is related to an old (2.x) IPBSeo mod. Why it should come to light during uninstall of your mod, I have no idea!
Nobody reads this bit...

#11 Guardsman

Guardsman

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 246 posts
  • IPB Version:v2.3.x

Posted 30 October 2009 - 12:42 PM

Now uninstalled via phpMyAdmin  ;)
Nobody reads this bit...

#12 M1r0

M1r0

    Novice

  • Members
  • PipPip
  • 15 posts
  • Location:Geneva
  • Real Name:Miro
  • IPB Version:v3.1.x

Posted 09 November 2009 - 01:54 PM

View PostMichael, on Oct 27 2009, 07:56 PM, said:

Did you delete any files from the server after you installed that IRC Chat application?  There should be a /setup/versions/install/sql/ folder in that application's folder structure.
No I didn't delete anything after have installed the IRC_Chat application.

If you would like to test the apps it is available here : http://forums.invisi...mp;showfile=378

Edited by M1r0, 09 November 2009 - 01:57 PM.


#13 Sprinkle

Sprinkle

    Novice

  • Members
  • PipPip
  • 16 posts
  • Real Name:Sprinkle
  • IPB Version:v3.0.x

Posted 13 December 2009 - 01:43 AM

I am also getting same error micheal like above member cannot open extra templates,bbcode just can open extra fields

#14 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 13 December 2009 - 01:46 AM

View PostMichael, on Oct 27 2009, 07:56 PM, said:

Did you delete any files from the server after you installed that IRC Chat application?  There should be a /setup/versions/install/sql/ folder in that application's folder structure.
Just saw this reply.

No, there shouldn't be a folder like that. If an application have no need for extra tables/columns, the folder will not exist (which is the case for the said application).

#15 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 09 March 2010 - 01:51 PM

Released version 1.0.1.  In this version, I fixed the issue about the application halting when certain other apps were missing a setup directory.  It now just gives you a warning at the top of the page about this, and lets you continue regardless.  I also hard-coded a couple additional IP.Board caches as being default even though they weren't stored in the customary location.  Plus I did one quick minor language update.  Also moved the application icon into the application directory instead of putting it out in the higher level admin directory/skin_cp directory.

To upgrade, just upload the new files, visit the Manage Applications & Modules page in the Admin CP, and click the link to upgrade from there.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#16 Vinay Prajapati

Vinay Prajapati

    Novice

  • Members
  • PipPip
  • 8 posts
  • Location:India
  • Real Name:Vinay Prajapati
  • IPB Version:v3.0.x

Posted 20 June 2010 - 07:49 PM

upgrade for 3.1?  ;)

#17 parvaty

parvaty

    Novice

  • Members
  • PipPip
  • 8 posts
  • Real Name:Parvaty
  • IPB Version:v3.0.x

Posted 20 July 2010 - 12:58 PM

Could not find Setup directory for the '(SOS30) Reputation Points' application.

im getting this erro
but i have the whole setup directory for the mod and im able to instal and uninstall it

even then its showing erro in DB manager ;)

#18 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 10 November 2010 - 08:52 PM

Updated to version 1.0.2 to include a few tweaks for newer versions of IPS apps, including IP.Nexus.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#19 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts
  • Location:Columbus, OH
  • Real Name:Michael McCune
  • IPB Version:v3.1.x
Contributor

Posted 02 December 2010 - 01:03 AM

Updated to version 1.0.3 to ensure IP.Content custom databases and IP.Board/IP.Downloads custom fields are not found as being extra.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users