Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images #126

Open
fjfleury opened this issue Feb 7, 2024 · 0 comments
Open

Images #126

fjfleury opened this issue Feb 7, 2024 · 0 comments

Comments

@fjfleury
Copy link

fjfleury commented Feb 7, 2024

Dolibarr 18.04, Woosync 4.1.74

Nous testons les nouvelles fonctionnalités pour le transfert d'image de dtoe. La fonction de variantes produits est active. La création de liens et l'accès via document.php fonctionne correctement.

http://www.mondolibar.com/document.php?hashp=F4A2TdpSS7PaFw99480x8YAjdfohJ8rM --> j'obtiens un fichier JUP-LTX-CRAYON-REV-Jupe-Crayon-Reversible-All-Side.jpg.png

Par contre le transfert a woocommerce semble problématique. J'obtiens un 404 avec le lien suivant :

"GET //custom//ecommerceng//document//F4A2TdpSS7PaFw99480x8YAjdfohJ8rM//JUP-LTX-CRAYON-REV-Jupe-Crayon-Reversible-All-Side.jpg HTTP/1.1" 404 502

Le message debug de dolibarr dit :
//www.mondolibar.com/custom/ecommerceng/document/F4A2TdpSS7PaFw99480x8YAjdfohJ8rM/JUP-LTX-CRAYON-REV-Jupe-Crayon-Reversible-All-Side.jpg.png

le .htacces contient RewriteRule (.)/. ../../../document.php?hashp=$1 [NC]

Je n'arrive pas a déterminer si il s'agit d'un bug ou d'une erreur de configuration. le .htaccess ne semble pas convertir correctement l'url pour l'envoyer a document.php et l'url /custom/decommerceng/document/HASH ne devrait pas contenir le nom de l'image ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant