ayselafsar / dicomviewer

DICOM Viewer in Nextcloud
https://apps.nextcloud.com/apps/dicomviewer
GNU Affero General Public License v3.0
229 stars 53 forks source link

Dicom viewer error #106

Closed Harrykuch closed 8 months ago

Harrykuch commented 8 months ago

Hi. I open the dicom file on my server. The error appears in a new window:

Internal Server Error The request could not be processed by the server. If this happens again, send the server administrator a detailed message about what happened below. Detailed information can be found in the server log.

Client details: Desktop Win 11 64b Chrome 123.0.6312.58 Server details: Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 Nextcloud Hub 7 (28.0.3)

Nextcloud log: ValueError Path cannot be empty foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/templates/viewer.php#12 foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/lib/Controller/DisplayController.php#51

2024-03-25_13-07-50 image image

What to do?

ayselafsar commented 8 months ago

Duplicate of #103 Fixed by #105

Argon267 commented 8 months ago

Getting still the same error after update:

ValueError - Path cannot be empty foreach() argument must be of type array|object, string given at /var/www/nextcloud/apps/dicomviewer/templates/viewer.php#12

ayselafsar commented 8 months ago

Confirmed that we have missed to fix it in that file, will apply a fix soon.

Harrykuch commented 7 months ago

I tested the application. The viewer is working. Thank you! 👍