Open thomasbromehead opened 10 months ago
Je complète avec la stacktrace ici
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "webp_home" as such route does not exist.").
at src/PrestaShopBundle/Resources/views/Admin/layout.html.twig:37
at Twig\Template->displayWithErrorHandling(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false)), 'theme' => object(Theme), 'default_currency' => object(Currency), 'default_currency_symbol' => '€', 'root_url' => '/', 'js_translatable' => array(), 'app' => object(AppVariable), 'webpack_server' => false, 'multistore_field_prefix' => 'multistore_'), array('javascripts' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_javascripts'), 'translate_javascripts' => array(object(__TwigTemplate_58cb17ad3c6786df8730381b6d6625f8701a4b5cb4700cdb0e55aa0dd289eac9), 'block_translate_javascripts'), 'content_header' => array(object(__TwigTemplate_58cb17ad3c6786df8730381b6d6625f8701a4b5cb4700cdb0e55aa0dd289eac9), 'block_content_header'), 'session_alert' => array(object(__TwigTemplate_58cb17ad3c6786df8730381b6d6625f8701a4b5cb4700cdb0e55aa0dd289eac9), 'block_session_alert'), 'sidebar_right' => array(object(__TwigTemplate_58cb17ad3c6786df8730381b6d6625f8701a4b5cb4700cdb0e55aa0dd289eac9), 'block_sidebar_right'), 'stylesheets' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_stylesheets'), 'content' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_content'), 'orders_kpi' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_orders_kpi'), 'order_grid_row' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_order_grid_row')))
(vendor/twig/twig/src/Template.php:420)
at Twig\Template->display(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false)), 'theme' => object(Theme), 'default_currency' => object(Currency), 'default_currency_symbol' => '€', 'root_url' => '/', 'js_translatable' => array(), 'app' => object(AppVariable), 'webpack_server' => false, 'multistore_field_prefix' => 'multistore_'), array('stylesheets' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_stylesheets'), 'content' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_content'), 'orders_kpi' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_orders_kpi'), 'order_grid_row' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_order_grid_row'), 'javascripts' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_javascripts')))
(var/cache/dev/twig/fb/fbc270f903c13aab6762666ab08dd7fd757b642b129cecd861200dced922324a.php:45)
at __TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5->doDisplay(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false)), 'theme' => object(Theme), 'default_currency' => object(Currency), 'default_currency_symbol' => '€', 'root_url' => '/', 'js_translatable' => array(), 'app' => object(AppVariable), 'webpack_server' => false, 'multistore_field_prefix' => 'multistore_'), array('stylesheets' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_stylesheets'), 'content' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_content'), 'orders_kpi' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_orders_kpi'), 'order_grid_row' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_order_grid_row'), 'javascripts' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_javascripts')))
(vendor/twig/twig/src/Template.php:453)
at Twig\Template->displayWithErrorHandling(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false)), 'theme' => object(Theme), 'default_currency' => object(Currency), 'default_currency_symbol' => '€', 'root_url' => '/', 'js_translatable' => array(), 'app' => object(AppVariable), 'webpack_server' => false, 'multistore_field_prefix' => 'multistore_'), array('stylesheets' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_stylesheets'), 'content' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_content'), 'orders_kpi' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_orders_kpi'), 'order_grid_row' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_order_grid_row'), 'javascripts' => array(object(__TwigTemplate_0933c9ebe5e5ec9fb692a7be76cd5a0cf8a450b3ee497b766cde782053e6b8c5), 'block_javascripts')))
(vendor/twig/twig/src/Template.php:420)
at Twig\Template->display(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false))))
(vendor/twig/twig/src/Template.php:432)
at Twig\Template->render(array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false))))
(vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:50)
at Symfony\Bridge\Twig\TwigEngine->render('@PrestaShop/Admin/Sell/Order/Order/index.html.twig', array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false))))
(vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:286)
at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@PrestaShop/Admin/Sell/Order/Order/index.html.twig', array('orderGrid' => array('id' => 'order', 'name' => 'Commandes', 'filter_form' => object(FormView), 'form_prefix' => 'order', 'columns' => array(array('id' => 'orders_bulk', 'name' => null, 'type' => 'bulk_action', 'options' => array('bulk_field' => 'id_order')), array('id' => 'id_order', 'name' => 'ID', 'type' => 'identifier', 'options' => array('sortable' => true, 'with_bulk_field' => false, 'bulk_field' => null, 'preview' => object(PreviewColumn), 'clickable' => false, 'identifier_field' => 'id_order')), array('id' => 'reference', 'name' => 'Référence', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'reference')), array('id' => 'new', 'name' => 'Nouveau client', 'type' => 'boolean', 'options' => array('clickable' => true, 'field' => 'new', 'true_name' => 'Oui', 'false_name' => 'Non')), array('id' => 'country_name', 'name' => 'Livraison', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'country_name')), array('id' => 'customer', 'name' => 'Client', 'type' => 'disableable_link', 'options' => array('sortable' => true, 'icon' => null, 'button_template' => false, 'color_template' => 'primary', 'clickable' => false, 'field' => 'customer', 'route' => 'admin_customers_view', 'route_param_name' => 'customerId', 'route_param_field' => 'id_customer', 'target' => '_blank', 'disabled_field' => 'deleted_customer')), array('id' => 'total_paid_tax_incl', 'name' => 'Total', 'type' => 'order_price', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'total_paid_tax_incl', 'is_paid_field' => 'paid')), array('id' => 'payment', 'name' => 'Paiement', 'type' => 'data', 'options' => array('sortable' => true, 'clickable' => true, 'field' => 'payment')), array('id' => 'osname', 'name' => 'État', 'type' => 'choice', 'options' => array('sortable' => true, 'clickable' => false, 'color_field' => 'color', 'record_route_params' => array('id_order' => 'orderId'), 'field' => 'current_state', 'route' => 'admin_orders_list_update_status', 'choice_provider' => object(OrderStateByIdChoiceProvider))), array('id' => 'date_add', 'name' => 'Date', 'type' => 'date_time', 'options' => array('sortable' => true, 'clickable' => true, 'format' => 'd/m/Y H:i:s', 'empty_data' => '', 'field' => 'date_add')), array('id' => 'actions', 'name' => 'Actions', 'type' => 'action', 'options' => array('actions' => object(RowActionCollection)))), 'column_filters' => array('id_order' => array('id_order'), 'reference' => array('reference'), 'new' => array('new'), 'customer' => array('customer'), 'total_paid_tax_incl' => array('total_paid_tax_incl'), 'payment' => array('payment'), 'osname' => array('osname'), 'date_add' => array('date_add'), 'actions' => array('actions'), 'country_name' => array('country_name')), 'actions' => array('grid' => array(array('id' => 'export', 'name' => 'Exporter', 'icon' => 'cloud_download', 'type' => 'link', 'options' => array('route_params' => array(), 'route' => 'admin_orders_export')), array('id' => 'common_refresh_list', 'name' => 'Rafraîchir la liste', 'icon' => 'refresh', 'type' => 'simple', 'options' => array()), array('id' => 'common_show_query', 'name' => 'Voir la requête SQL', 'icon' => 'code', 'type' => 'simple', 'options' => array()), array('id' => 'common_export_sql_manager', 'name' => 'Exporter vers le gestionnaire SQL', 'icon' => 'storage', 'type' => 'simple', 'options' => array())), 'bulk' => array(array('id' => 'change_order_status', 'name' => 'Changer l\'état de la commande', 'type' => 'modal_form_submit', 'options' => array('submit_route' => 'admin_orders_change_orders_status', 'modal_id' => 'changeOrdersStatusModal')), array('id' => 'open_tabs', 'name' => 'Ouvrir dans de nouveaux onglets', 'type' => 'button', 'options' => array('attributes' => array('data-route' => 'admin_orders_view', 'data-route-param-name' => 'orderId', 'data-tabs-blocked-message' => 'Il semble que vous ayez dépassé le nombre d\'onglets autorisés. Vérifiez les paramètres de votre navigateur pour ouvrir plusieurs onglets.'), 'class' => 'open_tabs')))), 'data' => array('records' => object(RecordCollection), 'records_total' => 4622, 'query' => 'SELECT CONCAT(LEFT(cu.`firstname`, 1), \'. \', cu.`lastname`) AS `customer`, o.id_order, o.reference, o.total_paid_tax_incl, os.paid, osl.name AS osname, o.id_currency, cur.iso_code, o.current_state, o.id_customer, cu.`id_customer` IS NULL as `deleted_customer`, os.color, o.payment, s.name AS shop_name, o.date_add, cu.company, cl.name AS country_name, o.invoice_number, o.delivery_number, (SELECT IF(count(so.id_order) > 0, 0, 1) FROM myp4x4_orders so WHERE (so.id_customer = o.id_customer) AND (so.id_order < o.id_order) LIMIT 1) AS new FROM myp4x4_orders o LEFT JOIN myp4x4_customer cu ON o.id_customer = cu.id_customer LEFT JOIN myp4x4_currency cur ON o.id_currency = cur.id_currency INNER JOIN myp4x4_address a ON o.id_address_delivery = a.id_address LEFT JOIN myp4x4_order_state os ON o.current_state = os.id_order_state LEFT JOIN myp4x4_shop s ON o.id_shop = s.id_shop INNER JOIN myp4x4_country c ON a.id_country = c.id_country INNER JOIN myp4x4_country_lang cl ON c.id_country = cl.id_country AND cl.id_lang = 1 LEFT JOIN myp4x4_order_state_lang osl ON os.id_order_state = osl.id_order_state AND osl.id_lang = 1 WHERE o.`id_shop` IN (\'1\') ORDER BY o.`date_add` desc LIMIT 100'), 'pagination' => array('offset' => null, 'limit' => 100), 'sorting' => array('order_by' => 'date_add', 'order_way' => 'desc'), 'filters' => array(), 'attributes' => array('is_empty_state' => false), 'view_options' => array()), 'help_link' => '/admin931ovurlw/index.php/common/sidebar/https%253A%252F%252Fhelp.prestashop.com%252Ffr%252Fdoc%252FAdminOrders%253Fversion%253D1.7.8.9%2526country%253Dfr/Aide?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'enableSidebar' => true, 'changeOrderStatusesForm' => object(FormView), 'orderKpi' => object(KpiRow), 'layoutHeaderToolbarBtn' => array('add' => array('href' => '/admin931ovurlw/index.php/sell/orders/new?_token=s8wczCIsUzYkEzRp44gXveKucuYKGhuJTHbGvWiGpOU', 'desc' => 'Ajouter une commande', 'icon' => 'add_circle_outline', 'disabled' => false))))
(src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php:155)
at PrestaShopBundle\Controller\Admin\Sell\Order\OrderController->indexAction(object(Request), object(OrderFilters))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false)
(admin931ovurlw/index.php:82)
Salut
Tu peux tenter de supprimer le dossier /var/cache/prod ou dev en fonction du mode de debug actif ?
Déjà fait sans résultat malheuresement
J'ai toujours la même exception en après m'être loggé dans l'admin An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "webp_home" as such route does not exist."). [Twig\Error\RuntimeError 0]
Je vais regarder de mon côté
En attendant supprime le module depuis le dossier modules j'ai pas meilleure solution rapide
Hello, J'ai sorti une release qui fixerait le soucis selon la doc de Presta, j'ai pas réussi à reproduire de mon côté
https://github.com/MdnAgency/prestashop-mdn_webp/releases/tag/v1.0.1
Je te laisse supprimer l'ancienne version & tester celle-ci
Salut Loris, J’ai supprimé l’ancienne version et mis la nouvelle mais tjs pas… Aie… Je suis dev Ruby pas PHP mais je vais essayer de me démerder, je télécharge le code et je vais le foutre dans un docker et voir si j’arrive à reproduire. Hier j’ai pu installer le module sans soucis sur une image 1.7.8.9-apache… Très embêté quand même pour mon employeur. Tiens-moi au courant si tu trouves quelque chose, malheureusement le code n’était pas versionné donc je peux pas revenir en arrière et l’erreur persiste même sans le module. Le site est en mode DEBUG donc tu peux voir les erreurs, je me prends tjs la undefined route webp_home après m’être loggé dans l’admin. Mon tel: 07 69 960 395
Le 21 déc. 2023 à 09:01, Loris Pinna @.***> a écrit :
Hello, J'ai sorti une release qui fixerait le soucis selon la doc de Presta, j'ai pas réussi à reproduire de mon côté
https://github.com/MdnAgency/prestashop-mdn_webp/releases/tag/v1.0.1 https://github.com/MdnAgency/prestashop-mdn_webp/releases/tag/v1.0.1 Je te laisse supprimer l'ancienne version & tester celle-ci
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865820038, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW47COEVNO2U7NRS2EBTYKPUFFAVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHAZDAMBTHA. You are receiving this because you commented.
Supprime totalement le contenu des deux caches, /var/cache/dev & /var/cache/prod & dis moi si ca persiste. Si oui, faudra peut être aussi que tu checks dans la db la table ps_tabs et voir si la route webp est encore dedans
Ok je fais ça
Le 21 déc. 2023 à 09:37, Loris Pinna @.***> a écrit :
Supprime totalement le contenu des deux caches, /var/cache/dev & /var/cache/prod & dis moi si ca persiste. Si oui, faudra peut être aussi que tu checks dans la db la table ps_tabs et voir si la route webp est encore dedans
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865865543, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW46OER5HN7I7BJWLZOLYKPYL3AVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHA3DKNJUGM. You are receiving this because you commented.
Bon j’ai supprimé le contenu des deux, j’ai à nouveau mon admin mais toujours la ContextErrorException. Je check la db
Le 21 déc. 2023 à 09:37, Loris Pinna @.***> a écrit :
Supprime totalement le contenu des deux caches, /var/cache/dev & /var/cache/prod & dis moi si ca persiste. Si oui, faudra peut être aussi que tu checks dans la db la table ps_tabs et voir si la route webp est encore dedans
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865865543, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW46OER5HN7I7BJWLZOLYKPYL3AVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHA3DKNJUGM. You are receiving this because you commented.
Salut Loris, Je n’ai pas la table ps_tabs...
Le 21 déc. 2023 à 09:37, Loris Pinna @.***> a écrit :
Supprime totalement le contenu des deux caches, /var/cache/dev & /var/cache/prod & dis moi si ca persiste. Si oui, faudra peut être aussi que tu checks dans la db la table ps_tabs et voir si la route webp est encore dedans
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865865543, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW46OER5HN7I7BJWLZOLYKPYL3AVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHA3DKNJUGM. You are receiving this because you commented.
ps_tab ?
Non plus, _tab oui et j’y ai bien trouvé une référence à votre module.
Le 21 déc. 2023 à 10:11, Loris Pinna @.***> a écrit :
ps_tab ?
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865908416, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW44X2KDKTQDWLEBA3ATYKP4KNAVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHEYDQNBRGY. You are receiving this because you commented.
T'as tenté de supprimer la référence dedans ?
Fait, Toujours coincé avec ma ContextErrorException… Je suis entrain de télécharger le code (sans fibre…), pour l’instant. Peux-tu me dire si j’ai besoin de tout ça… je suis en ftp et il continue à me rajouter des fichiers, ça va prendre une éternité…
Le 21 déc. 2023 à 10:23, Loris Pinna @.***> a écrit :
T'as tenté de supprimer la référence dedans ?
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865925004, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW4YSKGTM7BB7XGBCGYTYKP5XVAVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHEZDKMBQGQ. You are receiving this because you commented.
# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# https://www.prestashop.com - https://www.prestashop.com/forums
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
RewriteEngine on
#Domain: www.montpellier4x4.com
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
# Images
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$1$3 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$1$4 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$1$5 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$1$6 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$1$7 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$1$8 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])([\d])(?:\-[\w-]*)?)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$8/$1$9 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^c/([\d]+)(\-[\.*\w-]*)/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^c/([a-zA-Z_-]+)(-[\d]+)?/.+(\.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
# AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ %{ENV:REWRITEBASE}js/jquery/plugins/fancybox/images/$1.$2 [L]
# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^.*$ - [NC,L]
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
<FilesMatch "\.pdf$">
Header set Content-Disposition "Attachment"
Header set X-Content-Type-Options "nosniff"
</FilesMatch>
</IfModule>
<Files composer.lock>
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Files>
#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404
# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
Bon c’est revenu, je sais pas si tu as fait quelque chose de plus…? Je suis tenté de pousser notre code sur GitHub et te laisser l’installer, si ça marche pas de ton côté on laisse tomber sinon je retente une Install sur notre serveur de dev et pas direct en prod comme j’ai fait là…
Le 21 déc. 2023 à 10:48, Loris Pinna @.***> a écrit :
`
Domain: www.montpellier4x4.com http://www.montpellier4x4.com/
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
Images
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$1$3 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$1$4 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$1$5 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$1$6 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$1$7 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$1$8 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$8/$1$9 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^c/([\d]+)(-[.\w-]*)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L] RewriteCond %{HTTPHOST} ^www.montpellier4x4.com$ RewriteRule ^c/([a-zA-Z-]+)(-[\d]+)?/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ %{ENV:REWRITEBASE}js/jquery/plugins/fancybox/images/$1.$2 [L]
Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^.$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^.$ %{ENV:REWRITEBASE}index.php [NC,L]
AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType font/woff2 .woff2
<FilesMatch ".(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*"
<FilesMatch ".pdf$"> Header set Content-Disposition "Attachment" Header set X-Content-Type-Options "nosniff"
Apache 2.2 Order deny,allow Deny from all
Apache 2.4
Require all denied If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404
end Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
`
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865958924, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW43Z3NNYJQSNILLUZG3YKQAVNAVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHE2TQOJSGQ. You are receiving this because you commented.
Bonjour Loris, Je vais retenter d’installer le module webp. Nous sommes en php 7.3 et Presta 1.7.8.9, avez-vous déjà testé cette config? Merci bien, Thomas B
Le 21 déc. 2023 à 10:48, Loris Pinna @.***> a écrit :
`
Domain: www.montpellier4x4.com http://www.montpellier4x4.com/
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L]
Images
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$1$3 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$1$4 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$1$5 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$1$6 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$1$7 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$1$8 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^(([\d])([\d])([\d])([\d])([\d])([\d])([\d])(?:-[\w-])?)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/p/$2/$3/$4/$5/$6/$7/$8/$1$9 [L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^c/([\d]+)(-[.\w-]*)/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L] RewriteCond %{HTTPHOST} ^www.montpellier4x4.com$ RewriteRule ^c/([a-zA-Z-]+)(-[\d]+)?/.+(.(?:jpe?g|webp|png|avif))$ %{ENV:REWRITEBASE}img/c/$1$2$3 [L]
AlphaImageLoader for IE and fancybox
RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ %{ENV:REWRITEBASE}js/jquery/plugins/fancybox/images/$1.$2 [L]
Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^.$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.montpellier4x4.com$ RewriteRule ^.$ %{ENV:REWRITEBASE}index.php [NC,L]
AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType font/woff2 .woff2
<FilesMatch ".(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*"
<FilesMatch ".pdf$"> Header set Content-Disposition "Attachment" Header set X-Content-Type-Options "nosniff"
Apache 2.2 Order deny,allow Deny from all
Apache 2.4
Require all denied If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404
end Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
`
— Reply to this email directly, view it on GitHub https://github.com/MdnAgency/prestashop-mdn_webp/issues/3#issuecomment-1865958924, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE2MW43Z3NNYJQSNILLUZG3YKQAVNAVCNFSM6AAAAABA46XP66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHE2TQOJSGQ. You are receiving this because you commented.
Cordialement Thomas B
www.montpellier4x4.com www.facebook.com/montpellier4x4
MONTPELLIER 4X4 Z.A de la Clau 8 Rue André Marie Ampère 34770 GIGEAN Tél : 04 67 43 07 61
Bonjour Loris,
Je me prends une 500 après installation sur mon prestashop en 1.7.8.9:
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "webp_home" as such route does not exist.").
Si vous voulez voir la stack trace le mode debug est activé sur mon site à l'instant.
Je n'arrive pas non plus à accéder à l'admin
https://www.montpellier4x4.com/