Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 9Feb 9 Adding new files with screenshots works as expected. If I add a new version and a new screenshot it still works as expected. But if something is modified and the screenshot is not changed, it removes the existing screenshot & creates a new image, but still links to the original image that has been deleted. That causes this error:[[Template downloads/front/view/view is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]I have no customizations on the site and am using the default theme.Here's the log file:RuntimeException::0#0 /static/templates/downloads_front_view.php(3168): IPS\File\FileSystem->getImageDimensions()#1 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_view->view()#2 /applications/downloads/modules/front/downloads/view.php(325): IPS\Theme\SandboxedTemplate->__call()#3 /system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\view->manage()#4 /system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute()#5 /applications/downloads/modules/front/downloads/view.php(121): IPS\Content\Controller->execute()#6 /system/Dispatcher/Dispatcher.php(169): IPS\downloads\modules\front\downloads\view->execute()#7 /index.php(16): IPS\Dispatcher->run()#8 {main}I can see where the new screenshot file is being created, but it doesn't appear to change the link to that.
February 11Feb 11 Management On 2/9/2025 at 4:43 PM, Savant said:Adding new files with screenshots works as expected. If I add a new version and a new screenshot it still works as expected. But if something is modified and the screenshot is not changed, it removes the existing screenshot & creates a new image, but still links to the original image that has been deleted. That causes this error:[[Template downloads/front/view/view is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]I have no customizations on the site and am using the default theme.Here's the log file:RuntimeException::0#0 /static/templates/downloads_front_view.php(3168): IPS\File\FileSystem->getImageDimensions()#1 /system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_view->view()#2 /applications/downloads/modules/front/downloads/view.php(325): IPS\Theme\SandboxedTemplate->__call()#3 /system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\view->manage()#4 /system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute()#5 /applications/downloads/modules/front/downloads/view.php(121): IPS\Content\Controller->execute()#6 /system/Dispatcher/Dispatcher.php(169): IPS\downloads\modules\front\downloads\view->execute()#7 /index.php(16): IPS\Dispatcher->run()#8 {main}I can see where the new screenshot file is being created, but it doesn't appear to change the link to that.If you PM me with the site this occurs on, and make sure your ACP/FTP information is up to date in the client area, I can take a look for you.
February 11Feb 11 It seems to be fixed in 5.0.1. I'm not having this issue anymore when editing/uploading a new version.
February 11Feb 11 8 hours ago, Marc said:Thanks for letting us know :)Spoke too soon. After uploading a new version:This (and others 353 files) were submitted prior to 5.0.1. I can't reproduce the issue in a file submitted on 5.0.1. Tue, 11 Feb 2025 21:08:58 +0000 RuntimeException::0 #0 /home/sosinvisioncom/public_html/static/templates/downloads_front_view.php(3168): IPS\File\FileSystem->getImageDimensions() #1 /home/sosinvisioncom/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_view->view() #2 /home/sosinvisioncom/public_html/applications/downloads/modules/front/downloads/view.php(331): IPS\Theme\SandboxedTemplate->__call() #3 /home/sosinvisioncom/public_html/system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\view->manage() #4 /home/sosinvisioncom/public_html/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute() #5 /home/sosinvisioncom/public_html/applications/downloads/modules/front/downloads/view.php(121): IPS\Content\Controller->execute() #6 /home/sosinvisioncom/public_html/system/Dispatcher/Dispatcher.php(169): IPS\downloads\modules\front\downloads\view->execute() #7 /home/sosinvisioncom/public_html/index.php(16): IPS\Dispatcher->run() #8 {main}@Matt Edited February 11Feb 11 by Adriano Faria
February 11Feb 11 11 minutes ago, Adriano Faria said:Spoke too soon. After uploading a new version:This (and others 353 files) were submitted prior to 5.0.1. I can't reproduce in a file submitter on 5.0.1. Tue, 11 Feb 2025 21:08:58 +0000 RuntimeException::0 #0 /home/sosinvisioncom/public_html/static/templates/downloads_front_view.php(3168): IPS\File\FileSystem->getImageDimensions() #1 /home/sosinvisioncom/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_downloads_front_view->view() #2 /home/sosinvisioncom/public_html/applications/downloads/modules/front/downloads/view.php(331): IPS\Theme\SandboxedTemplate->__call() #3 /home/sosinvisioncom/public_html/system/Dispatcher/Controller.php(139): IPS\downloads\modules\front\downloads\view->manage() #4 /home/sosinvisioncom/public_html/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute() #5 /home/sosinvisioncom/public_html/applications/downloads/modules/front/downloads/view.php(121): IPS\Content\Controller->execute() #6 /home/sosinvisioncom/public_html/system/Dispatcher/Dispatcher.php(169): IPS\downloads\modules\front\downloads\view->execute() #7 /home/sosinvisioncom/public_html/index.php(16): IPS\Dispatcher->run() #8 {main}@MattExactly, the same error happens to me
February 12Feb 12 Management 11 hours ago, T. Batuhan BULGURLULAR said:@Matt the same error happens to me :/Make sure your details are up to date in the client area and I'll take a look.