NexoPOS icon indicating copy to clipboard operation
NexoPOS copied to clipboard

[Issue] Barcode image 404 error

Open Machaeon opened this issue 1 year ago • 2 comments

Barcodes are not displayed due to image loading error

To Reproduce Steps to reproduce the behavior:

  1. Go to Inventory - Print labels
  2. Select a product
  3. Click Apply setting

NexoPOS vesrion: 5.2.3 nexo-bar

Machaeon avatar Apr 23 '24 16:04 Machaeon

Hi, sorry for the delay, you might need to create a symlink. This should guide:

https://my.nexopos.com/en/documentation/troubleshooting/broken-media-images

Blair2004 avatar May 14 '24 21:05 Blair2004

Thank you for your reply. I did a new installation using Laragon. Nexo is installed in the folder D:/laragon/www/nexopos My auto.nexopos.local.conf looks like this:

<VirtualHost *:80> 
    DocumentRoot "D:/laragon/www/nexopos/public"
    ServerName nexopos.local
    ServerAlias *.nexopos.local
    <Directory "D:/laragon/www/nexopos/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

I access the system at the url http://nexopos.local Executing php artisan storage:link I get this message: ERROR The [D:\laragon\www\nexopos\public\storage] link already exists. However, the barcode images are still giving a 404 error. I deleted the existing symlink and recreated it and got the message: INFO The [D:\laragon\www\nexopos\public\storage] link has been connected to [D:\laragon\www\nexopos\storage\app/public]. The problem persists.

Machaeon avatar May 15 '24 13:05 Machaeon

Screenshot 2024-06-13 at 10 38 35 Seems no longer applicable to v5.2.4 ? Update needed ? Let us know

Blair2004 avatar Jun 13 '24 09:06 Blair2004

For me, the problem persists in version 5.2.5. Uploaded media is displayed normally.

Machaeon avatar Jun 13 '24 17:06 Machaeon

Zip your project (exclude the vendors and node_modules directories) to contact[at]nexopos[dot]com.

If you're a premium user email us by the same mean, will take a look at your setup.

Kind regards

Blair2004 avatar Jun 13 '24 19:06 Blair2004

@Blair2004, thank you for your reply. Mailed you link to zip. products\barcodes folder in storage was created manually

Machaeon avatar Jun 14 '24 08:06 Machaeon