When installing an infusion that is not already installed, the PHP_fusion installer executes the inf_newtable from the infusion.php file of the infusion.
When updating an infusion that already is installed, the installer checks the version number. When new version has higher version, only the alter_table are executed.
In V9.03.50 when installing a new infusion the installer executes both the inf_newtable and the inf_altertable.
This is given errors, because the newly added fields in the altertable section are also defined in the newtable section in case for a new install.
So when executing the altertable after executing the newtable section, you got errors for duplicate fieldnames.
It's not only for v7 -> v9. I assume you are still using old v7 infusion API.
If you have infusion v1.1 and you want to add new tables you can add upgrade/1.2.upgrade.inc file with new tables. Then in Infusions page click to "Upgrade".
This is how the new v9 upgrade system works.
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Please read and comply with the Code of Conduct
You can view all discussion threads in this forum. You cannot set up a bounty in this discussion thread. You can start a new discussion thread in this forum. You cannot reply in this discussion thread. You cannot start on a poll in this forum. You cannot upload attachments in this forum. You can download attachments in this forum. You cannot up or down-vote on the post in this discussion thread.