selva123 Posted December 26, 2021 Share Posted December 26, 2021 Bonjour, Je rencontre un problème lorsque je je clique sur commande/facture le site m'affiche "The server returned a "500 Internal Server Error". Toutes les catégories qui se trouve dans "commande" s'ouvre sauf la facture je sais pas pourquoi , Link to comment Share on other sites More sharing options...
Mediacom87 Posted December 26, 2021 Share Posted December 26, 2021 mode debug : https://www.prestatoolbox.fr/content/24-messages-erreurs-prestashop Link to comment Share on other sites More sharing options...
selva123 Posted December 26, 2021 Author Share Posted December 26, 2021 merci @Mediacom87 , je vois tt les erreurs mais je vois pas comment résoudre , est ce qu' il existe un moyen pour réinstaller la "Facture" avec le module ? in vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php (line 568) Finder->getIterator()in src/Core/File/InvoiceModelFinder.php (line 73) InvoiceModelFinder->find()in src/Core/Proxy/CachedFileFinderProxy.php (line 60) CachedFileFinderProxy->find()in src/Core/Form/ChoiceProvider/InvoiceModelByNameChoiceProvider.php (line 61) InvoiceModelByNameChoiceProvider->getChoices()in src/PrestaShopBundle/Form/Admin/Sell/Order/Invoices/InvoiceOptionsType.php (line 107) InvoiceOptionsType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => 'Admin.Orderscustomers.Feature', 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'help' => null))in vendor/symfony/symfony/src/Symfony/Component/Form/ResolvedFormType.php (line 126) ResolvedFormType->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => 'Admin.Orderscustomers.Feature', 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'help' => null))in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/DataCollector/Proxy/ResolvedTypeDataCollectorProxy.php (line 95) ResolvedTypeDataCollectorProxy->buildForm(object(FormBuilder), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => 'Admin.Orderscustomers.Feature', 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'method' => 'POST', 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'error_mapping' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'attr' => array(), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'upload_max_size_message' => object(Closure), 'validation_groups' => null, 'constraints' => array(), 'help' => null))in vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php (line 80) FormFactory->createNamedBuilder('invoice_options', object(ResolvedTypeDataCollectorProxy), null, array())in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php (line 101) FormBuilder->create('invoice_options', 'PrestaShopBundle\\Form\\Admin\\Sell\\Order\\Invoices\\InvoiceOptionsType', array())in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php (line 255) FormBuilder->resolveChildren()in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php (line 202) FormBuilder->getForm()in src/Core/Form/FormHandler.php (line 114) FormHandler->getForm()in src/PrestaShopBundle/Controller/Admin/Sell/Order/InvoicesController.php (line 57) InvoicesController->indexAction(object(Request))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151) HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68) HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200) Kernel->handle(object(Request), 1, false)in admin1070/index.php (line 86) Link to comment Share on other sites More sharing options...
Mediacom87 Posted December 26, 2021 Share Posted December 26, 2021 Avez vous essayé de vider le cache manuellement ? version PrestaShop ? version PHP ? Link to comment Share on other sites More sharing options...
selva123 Posted December 27, 2021 Author Share Posted December 27, 2021 (edited) Bonsoir, J'ai vider le cache manullement , la Version de PHP : 7.3.32 et Version de presta : 1.7 , je suis allée dans information je vois ça : Certains fichiers PrestaShop sont absents de votre serveur.<br/>(/pdf/order-return.tpl) Fichiers manquants (42) pdf/supply-order.addresses-tab.tpl pdf/header.tpl pdf/invoice-b2b.tpl pdf/supply-order-header.tpl pdf/invoice.summary-tab.tpl pdf/delivery-slip.tpl pdf/supply-order.product-tab.tpl pdf/delivery-slip.style-tab.tpl pdf/delivery-slip.summary-tab.tpl pdf/delivery-slip.payment-tab.tpl pdf/invoice.style-tab.tpl pdf/invoice.addresses-tab.tpl pdf/order-slip.product-tab.tpl pdf/order-return.summary-tab.tpl pdf/invoice.tax-tab.tpl pdf/footer.tpl pdf/delivery-slip.product-tab.tpl pdf/order-return.product-tab.tpl pdf/invoice.payment-tab.tpl pdf/supply-order.tpl pdf/order-slip.payment-tab.tpl pdf/invoice.note-tab.tpl pdf/order-return.conditions-tab.tpl pdf/invoice.tpl pdf/supply-order-footer.tpl pdf/delivery-slip.addresses-tab.tpl pdf/invoice.total-tab.tpl pdf/order-slip.tpl pdf/invoice.shipping-tab.tpl pdf/pagination.tpl pdf/order-slip.summary-tab.tpl pdf/index.php pdf/order-return.tpl pdf/supply-order.tax-tab.tpl pdf/invoice.product-tab.tpl pdf/order-slip.total-tab.tpl pdf/order-return.addresses-tab.tpl pdf/supply-order.total-tab.tpl pdf/.htaccess var/SymfonyRequirements.php var/bootstrap.php.cache var/.htaccess Fichiers modifiés (1) admin/import/index.php Comment on fait pour le rétablir svp , Edited December 28, 2021 by selva123 (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted December 29, 2021 Share Posted December 29, 2021 récupérez l'archive de votre version PrestaShop originelle sur le site PrestaShop. Link to comment Share on other sites More sharing options...
selva123 Posted January 2, 2022 Author Share Posted January 2, 2022 merci beaucoup j'ai récupérer l'archive ça corriger parfaitement merci @Mediacom87 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now