Broken Uploaded Image Links - Articles And Logos

0

The images of the articles or logos for the tickets that are uploaded to the system via upload combo are not displayed correctly, it seems that the link to the images is broken.

Is it necessary to assign permissions via FTP to the "public/images" folder? Or perform any other additional configuration?

We have also created a user role called "director" with all possible permissions and when the user connects it does not let him manage the locations. We can only create or modify locations from the main administrator account.

EDIT: I have tried the solution that was given to another MPS user but it still does not work, we have executed the php artisan command both from the URL in "commands" and in our Plesk from the Lavarel application manager but it indicates that the link already exists .

https://tecdiary.net/support/question/avatar-not-showing-when-uploading-images

"Hello,

Please run php artisan storage: link or login as super then visit the /commands/storage_link in browser to run the command.

Thank you"

Thanks

Question Resolved For: Modern Point of Sale Solution 0 Votes 6 Answers 490 Views
Asked by MAG Digital Agency 1 year ago

0

Answered by Mian Saleem

Hello,

Another user has the same image display issues.

Please try manually deleting the public/storage and public/images and then run php -d memory_limit=128M artisan storage:link --force

Thank you

0

Answered by MAG Digital Agency 1 year ago

Screen

0

Answered by Mian Saleem 1 year ago

Hello,

I think that command doesn't force the links but only creates if they didn't exist.

Please try php artisan storage:link --force and let me know the output.

Thank you

0

Answered by MAG Digital Agency 1 year ago

Hi

php artisan storage:link --force

ERROR The [public/storage] link already exists.

ERROR The [public/images] link already exists.

Nothing happen, need help with this problem, thx!

0

Answered by MAG Digital Agency 1 year ago

Hello, we have already solved it. In case any other user is interested, when we unzipped the MPS ZIP, it gave us an error in the storage/link directory (it didn't exist), as we manually uploaded it to the server after executing the PHP Artisan commands it indicated that it already existed, We just removed them, ran the PHP artisan command again, and it works fine.

Thanks

0

Answered by MAG Digital Agency 1 year ago

What a coincidence we were just investigating and we solved it at the same time that they gave us the answer here, anyway, thank you very much.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.