Upload image routine broken ? #1494

Closed
opened 2026-02-05 01:03:08 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jlongo on GitHub (Jan 13, 2020).

Can't upload images or files.

On Editor, trying to upload something it acepts the image or file, in case of image it appears during upload and returns success upload but only appears image name with broken image.

This simptom also occurs on profile image, where on the moment of validating the chosen image, it appears ok, but refreshing the page or acessing later, the image is gone
image

image

Its not a permission problem because i made a small script to upload files to uploads folder and it works ok.

Suspecting maybe a problem with subfolder instalation i made a clean install on last xampp version, but the problem is exactly the same.

Locking on logs, can't see nothing related neither errors on apache logs

Originally created by @jlongo on GitHub (Jan 13, 2020). Can't upload images or files. On Editor, trying to upload something it acepts the image or file, in case of image it appears during upload and returns success upload but only appears image name with broken image. This simptom also occurs on profile image, where on the moment of validating the chosen image, it appears ok, but refreshing the page or acessing later, the image is gone ![image](https://user-images.githubusercontent.com/1572402/72266507-66cb4780-3616-11ea-9965-fe7382c61037.png) ![image](https://user-images.githubusercontent.com/1572402/72266569-8b272400-3616-11ea-8d9c-e2ab6c67e239.png) Its not a permission problem because i made a small script to upload files to uploads folder and it works ok. Suspecting maybe a problem with subfolder instalation i made a clean install on last xampp version, but the problem is exactly the same. Locking on logs, can't see nothing related neither errors on apache logs
Author
Owner

@jlongo commented on GitHub (Jan 14, 2020):

Sorry... solved... some misconfiguration (install on subfolder). Latter i found that images are placed on public/uploads dir on BookStack folder. Symbolic link solved that.

@jlongo commented on GitHub (Jan 14, 2020): Sorry... solved... some misconfiguration (install on subfolder). Latter i found that images are placed on public/uploads dir on BookStack folder. Symbolic link solved that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1494