Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 6, 20222 yr In the new version of one of my apps, I want to update a new field that I have created (Database Schema) with a value. I used the upgrade.php file and wrote the necessary codes in the step1 method, but it does not work. what should I do?
September 6, 20222 yr Have you increased the long version and tried to upgrade? You need to install the old version of the app somewhere else and then upload the new version. Edited September 6, 20222 yr by Adriano Faria
September 6, 20222 yr Author 11 minutes ago, Adriano Faria said: Have you increased the long version and tried to upgrade? No, i tried on my live website that had old version. didn't work 12 minutes ago, Adriano Faria said: You need to install the old version of the app somewhere else and then upload the new version. I did, but it doesn't work.
September 6, 20222 yr If you didn't increase the long version, it won't upgrade. Basically because you're installing/upgrading to the same version. In that case, the upgrade.php won't run.
September 6, 20222 yr Author 4 minutes ago, Adriano Faria said: If you didn't increase the long version, it won't upgrade. Basically because you're installing/upgrading to the same version. In that case, the upgrade.php won't run. so what should i do ?
September 6, 20222 yr Solution In the Dev Center, add the upgrade.php in the Version currently being developed version then build application and choose Build New Version. The ID Number (long version) should be higher than the version you have in marketplace. You should change the Version (human version) too but that's not required. Save. Download. Test in another install.
September 6, 20222 yr Author I did all these things. I think there is a conflict. I'm going to make a new version and try again. anyway, thanks for your reply.
September 6, 20222 yr Author 12 minutes ago, Adriano Faria said: In the Dev Center, add the upgrade.php in the Version currently being developed version then build application and choose Build New Version. The ID Number (long version) should be higher than the version you have in marketplace. You should change the Version (human version) too but that's not required. Save. Download. Test in another install. SOLVED! The issue was with the ID Number. Thanks