Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

2.0RC1 mod issue re: database tables

Aloittaja KahneFan, helmikuu 12, 2009, 08:13:20 IP

« edellinen - seuraava »

KahneFan

I'm not sure if this is a 2.0x issue, but when uninstalling certain mods and then trying to reinstall them an error results.

Lainaa
Table '{table name here}' doesn't exist

I have experienced this with "Rate That Topic" as well as "Simple Portal". RTT I might think it was a mod problem, but SP leads me to believe it's a 2.0x issue.

I have found that upon receiving the error message, the table actually does exist, but you have to manually delete the table from the db in order to reinstall the mod. It's as though the table isn't being deleted upon uninstall, or is not being skipped upon reinstall.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

eclipsenow

Just add a button or 2 to your main navigation bar, and link to Wordpress for your portal. Keep SMF "Vanilla", keep Wordpress for your portal and other needs, and you'll be able to have the latest version of each without ever having compatibility issues again.  ;D
* Please don't PM me for help, I DON'T KNOW ANYTHING ANYWAY!
* Please tick your thread as "resolved" when after you have implemented solutions to your problem

Eclipse Now predicts...
2015: Airlines bankrupt, freight routes collapse, agricultural crisis and the "Greater Depression" begins. Welcome to the end of the oil age!  (We had better leave oil before it leaves us!)

KahneFan

...or I could use SP, since I've had no issues with it and have enjoyed it while I've had it :D

The question was if there might be a bug with 2.0x.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Antechinus

Are you trying to use the upgrade script to reinstall the mods? I wouldn't. I'd make sure they were well and truly uninstalled (including db tables) before upgrading to RC1, and then reinstall them after the upgrade is complete.

KahneFan

No, this was after an upgrade. SP was during and after. RTT was all done after the upgrade. So, it is possible that my upgrade may have had an error which is causing this, I'm not sure.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Antechinus


KahneFan

I have a test board, but I don't really want to install any mods on it, since I use it for theme (don't want to muck up theme code). I may install a 2nd test site (fresh) to test this on.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

karlbenson


Rumbaar

I would say it's the fault of the mod creator.  Which isn't check to see if the table/field is already present and skipping the new install part of the mod install procedure.

You should take this up with any mod author that you encounter it on.  By rights if you un-install a mod it should remove it's table/fields as well.  But this might be so in future it can be added back and you'll still have the data.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: