Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Images #126

Description

@fjfleury

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions