PDA

View Full Version : How to stop the drop tables code.


Gimmick
04-23-2008, 10:17 PM
Hi I have an xml file that has install code ... and then uninstall code.

the problem is when I install the addon it installed, but within a minute deletes all its tables in the sql. from looking at it, the drop tables are in the uninstall. How can i comment out these for a trial install.

I deleted all things with drop in it! and that actually installed what I wanted, but then deleted the forum tables and left just inself!

any help appreciated... xml available if needed

Thanks

Marco van Herwaarden
04-24-2008, 07:08 AM
Tables are not just dropped without a reason. There must be some code in that modification that still delete the tables. This should not be the uninstall code as that only runs when you uninstall the modification.

Gimmick
04-24-2008, 05:48 PM
Marco if I post the code here, will you take a look to see if u see anything off with it? I am at an end and pretty desperate

Marco van Herwaarden
04-25-2008, 08:00 AM
Well without seeing the code, we are just guessing.