PDA

View Full Version : Accidently Uninstalled vBa Links Directory. How can I fix this?


shalliday
04-05-2009, 12:30 PM
I accidentally selected the wrong plugin (vBa Links) within the admin product manager and uninstalled our vBa Links Directory. I checked the mysql database and all of the vBa links directory entries appear to be still there.

My question is: How can I proceed to restore the vBa Links directory back to the way it was before I accidentally uninstalled it?

PhilMcKrackon
04-05-2009, 12:53 PM
If I remember correctly, the install script will see that the tables already exist and skip that part of the installation phase. As usual - make a backup before you do this as I may be mistaken ...

Our Sponsors
 

shalliday
04-06-2009, 04:37 AM
I'll give that a try. Thank you very much for the help!

shalliday
04-06-2009, 05:21 AM
I made a backup and tried to run the install script. I received an error stating the it was already installed. I then ran the upgrade script. Still did not work so I then ran the maintenance scripts and still no do. Same error - database has encountered a problem. Rechecked the mysql database and vBa links info is still there. No idea what to try next. I hdid open a support ticket couple of days ago but no word or reply yet. Any suggestions?

Our Sponsors
 

Brian
04-06-2009, 11:22 AM
vB's product system probably removed all of the phrase groups and such... The easiest way to get things back would probably be to make a backup of all of the 'adv_links*' tables as well as the 'adv_setting' and 'adv_settinggroup' tables. Then use the admincp/vbalinks_install.php file to Uninstall the software, re-install, and the restore the database tables you just backed up.

shalliday
04-08-2009, 05:08 PM
Thank you Brian,

Followed your instructions as outlined above and now the links section is back online all of the category information is missing. Did I miss something? Is there another table that needs to be restored?

Brian
04-08-2009, 05:34 PM
Are they showing if you go to Admin CP => vBa Links => Manage Categories? If so, just click the 'Update Order' button there and see if that restores them. Categories are stored in a cache, so it's likely that just needs to be updated.

shalliday
04-09-2009, 12:05 PM
Thank you very much Brian! The categories are now back although it seems I have lost my directory settings. Would there be by chance a way I could recover those as well?

Brian
04-13-2009, 01:19 PM
The easiest way to get things back would probably be to make a backup of all of the 'adv_links*' tables as well as the 'adv_setting' and 'adv_settinggroup' tables. Then use the admincp/vbalinks_install.php file to Uninstall the software, re-install, and the restore the database tables you just backed up.

Did you restore the adv_setting and adv_settinggroup tables? As long as those were restored then your settings should still have the same values that were set before.