George Peppard Posted June 15, 2022 Share Posted June 15, 2022 I am trying to add a new version of a file and delete the currently uploaded file, replacing it with a URL. When trying to use the "Add files by URL" button the "linked files" text box is disabled (not sure why, I have permission to do this). If I inspect element the page and re-enable the textbox and insert the URL upon saving the file I am greeted with the following error. Error: Call to a member function filesize() on null (0) #0 /var/www/community.vamsys.io/ips_f2440/system/Dispatcher/Controller.php(90): IPS\downloads\modules\front\downloads\_view->newVersion() #1 /var/www/community.vamsys.io/ips_f2440/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #2 /var/www/community.vamsys.io/ips_f2440/applications/downloads/modules/front/downloads/view.php(62): IPS\Content\_Controller->execute() #3 /var/www/community.vamsys.io/ips_f2440/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\front\downloads\_view->execute() #4 /var/www/community.vamsys.io/ips_f2440/index.php(13): IPS\_Dispatcher->run() #5 {main} Does anyone know why this may be happening? Many thanks Link to comment Share on other sites More sharing options...
Adriano Faria Posted June 15, 2022 Share Posted June 15, 2022 Just now, George Peppard said: Does anyone know why this may be happening? Because you’re forcing something you don’t permission or something? If it is disabled, probably there’s a reason. You should try to get help with it. Link to comment Share on other sites More sharing options...
Jim M Posted June 15, 2022 Share Posted June 15, 2022 3 minutes ago, George Peppard said: When trying to use the "Add files by URL" button the "linked files" text box is disabled (not sure why, I have permission to do this). If I inspect element the page and re-enable the textbox and insert the URL upon saving the file I am greeted with the following error. I would ensure that you're having full access to this before moving forward with any further error as simply enabling this via developer tools would not fully provide you with access. If you would like us to take a look at this, please provide access via the Client Area to your ACP for us to take a look plus please provide us your display name. Link to comment Share on other sites More sharing options...
George Peppard Posted June 15, 2022 Author Share Posted June 15, 2022 Thanks both for your responses. 3 hours ago, Jim M said: I would ensure that you're having full access to this before moving forward with any further error as simply enabling this via developer tools would not fully provide you with access. When creating a new file from scratch the textbox is enabled and does work, which would imply that I do have permission to perform the functionality. My primary group does have the "Downloads > Can submit URLs?" permission enabled. 3 hours ago, Jim M said: If you would like us to take a look at this, please provide access via the Client Area to your ACP for us to take a look plus please provide us your display name. All done - my display name on the installation is George Peppard (there's a couple of accounts with that name, the account I was using is the one with the administrator primary group). Thanks in advance! Link to comment Share on other sites More sharing options...
Stuart Silvester Posted June 15, 2022 Share Posted June 15, 2022 Thank you for letting us know, I was able to reproduce the issue. I have created an internal bug report so we can fix this for an future release. When you only allow a single file to be uploaded, the linked field is disabled however it isn't re-enabling when you delete the uploaded file. George Peppard and SeNioR- 1 1 Link to comment Share on other sites More sharing options...
Lukas Jankauskas Posted May 21 Share Posted May 21 On 6/15/2022 at 10:13 PM, Stuart Silvester said: Thank you for letting us know, I was able to reproduce the issue. I have created an internal bug report so we can fix this for an future release. When you only allow a single file to be uploaded, the linked field is disabled however it isn't re-enabling when you delete the uploaded file. Just curious if there's been any progress with it, as it still 'works' the same - when multiple files are not allowed, creating a revision does not re-enable the URL box as you've mentioned. G17 Media 1 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted May 22 Share Posted May 22 There still appears to be an open issue on this Link to comment Share on other sites More sharing options...
Lukas Jankauskas Posted June 1 Share Posted June 1 Probably related, but when creating a revision on a download which was set up via external URL - it will not save if the URL has not been changed. Marc Stridgen 1 Link to comment Share on other sites More sharing options...
Recommended Posts