Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
LaCollision Posted September 14, 2018 Posted September 14, 2018 Hi! I'm compiling an app that has resources in its dev directory. (for instance myapp/dev/resources/front/myfolder1/myfolder2/…). But I'm facing a very annoying issue: randomly, resources are not compiled in the /uploads/set_resources directory… so they are not accessible. It's giving me headaches! I don't know what to do… Have you ever experienced such an issue? It may looks like it's because my dev/resources directory has subfolders in it, but I'm not sure. It's so random 😭 Thanks for your help! 🙏🏼
LaCollision Posted September 14, 2018 Author Posted September 14, 2018 I've just tried to remove all subfloders in the resources directory… but no luck, the resources are still not compiled. Any hint? Thank you!
bfarber Posted September 24, 2018 Posted September 24, 2018 Are the resources missing from your app export, or is exporting your app timing out or similar?
LaCollision Posted September 28, 2018 Author Posted September 28, 2018 On 9/24/2018 at 6:52 PM, bfarber said: Are the resources missing from your app export, or is exporting your app timing out or similar? Hi, The resources are missing from the app export, but only after a certain point. Here are the explanations of what happens: - At first, everything works well 🙂 - Then, each time I compile my app, my resources are duplicated, but only for the Default Theme (ID # 1) (weird ?). The "manage resources" page of the Default theme contains my app resources duplicated as many times as I have compiled my app. This issue only happens for the Default theme (ID #1), and not for my personal customized theme. - everything works well until I have recompiled my app maybe 50 or 100 times – at this time, the Default Theme has maybe 150 pages of resources, containing my app resources duplicated many times. - Then, when reaching this point, the app export starts to not contain my theme resources anymore – maybe because of the bug above. For everything to work again, I've found a workaround: - I delete the Default Theme (ID #1). - I recreate a new Default Theme. But there is another bug in Invision about having deleted the Theme ID #1 (I can't compile my app anymore). So, I've also found another workaround, that I've explained in this topic: That's a lot of issues 🤯 Thanks for your help,
bfarber Posted September 28, 2018 Posted September 28, 2018 I'm trying to get a grasp on the issues you are facing here. It sounds like the real problem is that when you compile your application, it's duplicating any resources that are imported into the default theme. If that were resolved, then your overall issues are resolved, is that right?
LaCollision Posted September 28, 2018 Author Posted September 28, 2018 8 minutes ago, bfarber said: I'm trying to get a grasp on the issues you are facing here. It sounds like the real problem is that when you compile your application, it's duplicating any resources that are imported into the default theme. If that were resolved, then your overall issues are resolved, is that right? Hi! Yes absolutely, it looks like the root of all Evil! Then, the 2nd Evil is maybe being unable to compile the app when the Default Theme with ID #1 has been deleted Thanks!
bfarber Posted October 1, 2018 Posted October 1, 2018 I've logged a bug report for us to investigate further.
Sonya* Posted November 19, 2018 Posted November 19, 2018 Is there any solution for this? I am missing images from my resource folder as well. Can I upload them manually somewhere to resolve the issue right now? Sorry, I have tested it on the old version of the board, mea culpa. In the newest version (4.3.6) works as designed.
DSystem Posted November 20, 2018 Posted November 20, 2018 I'm having problems here that seems to be related to this. Sometimes when I install new application or plugin, several images of the theme disappear. To work around the problem always before installing new application I make a backup of the theme. If the images disappear, I restore the backup I made and everything returns to normal. Note I use the IPS default theme with minor modifications.
bfarber Posted November 20, 2018 Posted November 20, 2018 The bug LaCollision reported is fixed for 4.4. I'm not certain if it's the same issue you are reporting here.
Millipede Posted November 20, 2018 Posted November 20, 2018 I have the same as DSyste. It's as if most/all images in the theme's resources get deleted. It doesn't happen when installing/updating every plugin or app, and I'm not even 100% sure it's only when installing/updating a plugin/app or if it happens for some other reason. I did open a support ticket about it, but was told to wait till it happens again, and to then not restore any missing images, so that they can investigate it... the problem with that is, that whilst waiting for them to investigate, I'll be missing images (such as the profile cover image, etc), it's not a big deal but would be a slight annoyance.
LaCollision Posted November 20, 2018 Author Posted November 20, 2018 5 minutes ago, bfarber said: The bug LaCollision reported is fixed for 4.4. I'm not certain if it's the same issue you are reporting here. Great, thank you! Is the bug of not being able to compile an app without a theme id = 1 also fixed? Thanks again
bfarber Posted November 20, 2018 Posted November 20, 2018 10 minutes ago, LaCollision said: Great, thank you! Is the bug of not being able to compile an app without a theme id = 1 also fixed? Thanks again I did not make any changes related to that (it's quite the task even getting my development environment to that point tbh without breaking other things), but honestly my guess is you just need to go create a constants.php and define 'DEFAULT_THEME_ID'. This is set to 1 by default, but if your default theme is different because you deleted id 1, then you need to adjust this.
LaCollision Posted November 20, 2018 Author Posted November 20, 2018 12 minutes ago, bfarber said: I did not make any changes related to that (it's quite the task even getting my development environment to that point tbh without breaking other things), but honestly my guess is you just need to go create a constants.php and define 'DEFAULT_THEME_ID'. This is set to 1 by default, but if your default theme is different because you deleted id 1, then you need to adjust this. That's an easy workaround! Great, thank you! 🤗
Jon Erickson Posted December 22, 2018 Posted December 22, 2018 Is there anyway to fix this in the mean time? I am compiling my application and missing several resources from the set_resources folder. Also, it is effecting my clients. The theme.xml contains all the appropriate resources, but from some reason, they are missing resource in their set_resources folder as well.
LaCollision Posted March 11, 2019 Author Posted March 11, 2019 On 11/20/2018 at 3:51 PM, bfarber said: The bug LaCollision reported is fixed for 4.4. I'm not certain if it's the same issue you are reporting here. Hi @bfarber, Thanks! I can confirm that in 4.4, compiling an app doesn't duplicate all the app resources in the default theme. 🎉 However, I now have another bug: when I compile my app, all my app resources disappear from my custom theme… and my app resources are only present in the default theme. The only fix that I've found is to remove my custom theme, and re-import it. However, as soon as I recompile my app, all my app resources again disappear from my custom theme (but not from the default theme). So it appears that we now have the original bug in reverse 🙂 Do you have an idea about where this could come from? Thank you for you help!
bfarber Posted March 11, 2019 Posted March 11, 2019 My recommendation is to submit a ticket. I happened to get a notification of your reply and see this, but you should report issues through the ticket system so we can ensure they are properly addressed.
LaCollision Posted March 11, 2019 Author Posted March 11, 2019 3 hours ago, bfarber said: My recommendation is to submit a ticket. I happened to get a notification of your reply and see this, but you should report issues through the ticket system so we can ensure they are properly addressed. Yes, thank you! I tried to open one 😅 Ticket #1032609 Apparently, it may have been corrected in 4.4.2, but not for sure. Thanks!
Sonya* Posted June 17, 2019 Posted June 17, 2019 I had the issue right now after installing a new app. Large amount of theme resources have disappeared. I had to reupload the theme to solve the issue. Unfortunately opening a ticket and waiting for investigation is not an option here. It's large community with lot of users that see the site "corrupted" without resources.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.