Adriano Faria Posted December 3 Author Posted December 3 (edited) These fields appear only when submitting the file. Anyway, that's my category settings: So for the video below, I don't even use the UPLOAD field in the file category. I uploaded a new version, changed nothing, and hit save. After a hard-refresh, the category image is gone: I disabled the Save Previous Version? option but it doesn't make any difference. The next step is to upload a new version and remove all screenshots. Save. Upload a new version with the screenshots. Edited December 3 by Adriano Faria
Esther E. Posted December 3 Posted December 3 Thanks. I'll let you know if I'm able to replicate this. Adriano Faria 1
Adriano Faria Posted December 3 Author Posted December 3 Not sure how to help. I disabled all 3rd-party apps I'm using; the same. That's what I'm using:
Esther E. Posted December 3 Posted December 3 Grasping at straws here, but what happens if you switch to PHP 8.2?
Adriano Faria Posted December 3 Author Posted December 3 15 minutes ago, Esther E. said: Grasping at straws here, but what happens if you switch to PHP 8.2? I'll change it later and will reply here. Esther E. 1
Adriano Faria Posted December 3 Author Posted December 3 53 minutes ago, Esther E. said: Grasping at straws here, but what happens if you switch to PHP 8.2? Unfortunately, the same with PHP 8.1 and 8.2.
Adriano Faria Posted December 3 Author Posted December 3 @EliasM, is your board a fresh install or an upgrade from 4.7.1*? @Esther E. Could it be by any chance any file from IPS 4 interfering somehow? Yep, I know it sounds absolutely vague but I’m out of ideas here.
Hatsu Posted December 3 Posted December 3 Are the screenshots deleted or just not found? Perhaps the URL is messed up and/or a character set problem? I tried it on my dev site (upgraded from v4, no issues. PHP 8.3).
EliasM Posted December 3 Posted December 3 (edited) 25 minutes ago, Adriano Faria said: is your board a fresh install or an upgrade from 4.7.1*? Upgrade, but I remember that the problem occurs with a new installation The problem does not occur immediately after modifying the file, it may take a few hours I tried it today on a new install, And the problem happened hours later Edited December 3 by EliasM
Adriano Faria Posted December 3 Author Posted December 3 1 hour ago, Hatsu said: Are the screenshots deleted or just not found? Perhaps the URL is messed up and/or a character set problem? I tried it on my dev site (upgraded from v4, no issues. PHP 8.3). All titles are in English only. 1 hour ago, EliasM said: Upgrade, but I remember that the problem occurs with a new installation The problem does not occur immediately after modifying the file, it may take a few hours I tried it today on a new install, And the problem happened hours later I tried only on my upgrade board.
Esther E. Posted December 4 Posted December 4 This is going to end up being one of those issues that takes days to find and seconds to fix. EliasM 1
Hatsu Posted December 4 Posted December 4 @Adriano Faria the screenshots are getting physically deleted or are still there on your server but 404ed?
Adriano Faria Posted December 4 Author Posted December 4 (edited) 5 hours ago, Hatsu said: @Adriano Faria the screenshots are getting physically deleted or are still there on your server but 404ed? Looking closer now, the file is definitively deleted, that's why it doesn't appear on the category view. It isn't on file view: The file appeared in 3rd place. Now it's gone. EDIT: but it appears on the UPLOAD NEW VERSION screen: The file is there: So Esther, maybe it is worth checking by the primary_screenshot, etc. Edited December 4 by Adriano Faria SeNioR- 1
Esther E. Posted December 4 Posted December 4 If you disable posting to the forums, does the issue still occur?
Adriano Faria Posted December 4 Author Posted December 4 13 minutes ago, Esther E. said: If you disable posting to the forums, does the issue still occur? It does. Disabled the category option, uploaded a new version, screenshot is gone.
Management Matt Posted December 4 Management Posted December 4 I can't reproduce this either, and I've really tried. Next time it happens, please let us know ASAP (mmecham@invisionpower.com) or DM and I'll take a look at your site before your restore the screenshots to see what may be going on. From what I can gather, the template does have an <img> tag, but the image URL no longer exists, yet all the uploaded images are still attached to the record, so I'm really unsure what is going on. SeNioR- 1
Daniel F Posted December 4 Posted December 4 Is there anything useful logged in the core_file_logs database table? Usually it should have a hint to see which function triggered the deletion
Management Matt Posted December 4 Management Posted December 4 I think Esther may be onto something locally.
Esther E. Posted December 4 Posted December 4 Would be very very helpful if I could look at it when it's broken.
Adriano Faria Posted December 4 Author Posted December 4 (edited) 24 minutes ago, Daniel F said: Is there anything useful logged in the core_file_logs database table? Usually it should have a hint to see which function triggered the deletion Mobile device now. Hope it helps. LOG_DATA: Quote [{"line":1355,"function":"delete","class":"IPS\\File\\FileSystem"},{"line":128,"function":"newVersion","class":"IPS\\downloads\\modules\\front\\downloads\\view"},{"line":125,"function":"execute","class":"IPS\\Dispatcher\\Controller"},{"line":120,"function":"execute","class":"IPS\\Content\\Controller"},{"line":169,"function":"execute","class":"IPS\\downloads\\modules\\front\\downloads\\view"},{"line":16,"function":"run","class":"IPS\\Dispatcher"}] Not sure if this were triggered when I deleted all screenshots after saving with the problem. I’ll have to test it out later when I reach my PC. This one too is related to file screenshot: Quote {"method":"FileSystem","configuration_id":1} DOES_NOT_EXIST in LOG_MSG for this one. Edited December 4 by Adriano Faria
Management Matt Posted December 4 Management Posted December 4 13 minutes ago, Kirill Gromov said: Same bug Is this broken now? Yeah, we have no idea. @Adriano Faria let us know when its in a broken state again and let us take a look before editing/fixing the broken files.
Adriano Faria Posted December 4 Author Posted December 4 5 minutes ago, Matt said: Yeah, we have no idea. @Adriano Faria let us know when its in a broken state again and let us take a look before editing/fixing the broken files. What do you need? ACP access or URL only? I can upload a new version now just to break it.
Recommended Posts