cgermanb Posted July 15, 2020 Share Posted July 15, 2020 (edited) Hi people, someone can help me? I install a modulo for transport and when I save the changes the page show 500 Internal Server Error and the apache logs show: [Wed Jul 15 15:26:28.429629 2020] [proxy_fcgi:error] [pid 1622:tid 140144623470336] [client 190.210.223.114:43729] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: default_packet_select in /modules/enviopack/classes/EpackConfig.php on line 227\n', referer: /administration/index.php/improve/modules/manage?_token=W6WAilBQY7KFyJ4GoA-PTZXEwAybhaFGZ7nb8glHC_I I try uninstall the modulo and reinstaling but the same error appears. I check permissions and try with 775 with the same result Edited July 20, 2020 by cgermanb (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2020 Share Posted July 15, 2020 This is a bug in the module. Contact the module developer. It does not have a variable defined in the EpackConfig.php file. Link to comment Share on other sites More sharing options...
cgermanb Posted July 15, 2020 Author Share Posted July 15, 2020 I dont sure, before to this page, I have one for test and there works fine, same version Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2020 Share Posted July 15, 2020 You probably have debug mode turned on in one e-shop and debug mode turned off in the other. You must delete the dev and prod folders from the ./var/cache folder Link to comment Share on other sites More sharing options...
cgermanb Posted July 15, 2020 Author Share Posted July 15, 2020 I delete both foldes after unisnstall the module, then I reinstall the module but the problem persist. Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2020 Share Posted July 15, 2020 (edited) Contact the module developer. You do not write the difference between the versions of Prestashop that you have. You write little information. Realize we can't see what you see on your computer! Edited July 15, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
cgermanb Posted July 15, 2020 Author Share Posted July 15, 2020 (edited) this in the logs of presta: [2020-07-15 11:56:53] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedMethodException: "Attempted to call an undefined method named "add_ps_carrier" of class "EpackCarrierManager". Did you mean to call e.g. "addEpCarrier" or "addPsCarrier"?" at /modules/enviopack/classes/EpackConfig.php line 380 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedMethodException(code: 0): Attempted to call an undefined method named \"add_ps_carrier\" of class \"EpackCarrierManager\".\nDid you mean to call e.g. \"addEpCarrier\" or \"addPsCarrier\"? a t modules/enviopack/classes/EpackConfig.php:380)"} [] Edited July 20, 2020 by cgermanb (see edit history) Link to comment Share on other sites More sharing options...
cgermanb Posted July 15, 2020 Author Share Posted July 15, 2020 ok thank you, the version are the same 1.7.6.5 Link to comment Share on other sites More sharing options...
marianomadou Posted July 20, 2020 Share Posted July 20, 2020 Hola, es un problema con el módulo de envío pack, claramente no existe el método de clase add_ps_carrier y cuando lo llama en la linea 380 de EpackConfig.php revienta. Estoy en contacto con la gente de soporte de Envío Pack para que arreglen ese bug horrible lo mas pronto posible. Link to comment Share on other sites More sharing options...
marianomadou Posted July 20, 2020 Share Posted July 20, 2020 Bueno el error es la llamada al método. si reemplazas la linea 380 de EpackConfig.php por esta: $ps_carrier_id = $this->EpackCarrierManager->addPsCarrier("Envio a sucursal", Funciona. Testeado. Link to comment Share on other sites More sharing options...
cgermanb Posted July 20, 2020 Author Share Posted July 20, 2020 Gracias Mariano! esta tarde pruebo y te cuento! Link to comment Share on other sites More sharing options...
cgermanb Posted July 20, 2020 Author Share Posted July 20, 2020 (edited) Buenas, ese error desaparecio y me aparecieron las opciones de envio en transporte, pero no aparecen como opcion en el carrito y en los logs hay un nuevo error [pid 17754:tid 139939219924736] [client 190.210.223.114:15340] AH01071: Got error 'PHP message: PHP Notice: Undefined property: OrderController::$step in /modules/enviopack/controllers/hook/getOrderShippingCost.php on line 55\nPHP message: PHP Notice: Undefined property: OrderController::$step in modules/enviopack/controllers/hook/getOrderShippingCost.php on line 55\n' Edited July 20, 2020 by cgermanb (see edit history) Link to comment Share on other sites More sharing options...
HeineFR Posted July 20, 2020 Share Posted July 20, 2020 ¡Atención! su directorio de administración no debe comunicarse en un foro público y no debe ser simple, debe contener una sucesión de caracteres secretos que sin duda le permita identificarse. Link to comment Share on other sites More sharing options...
cgermanb Posted July 20, 2020 Author Share Posted July 20, 2020 27 minutes ago, HeineFR said: ¡Atención! su directorio de administración no debe comunicarse en un foro público y no debe ser simple, debe contener una sucesión de caracteres secretos que sin duda le permita identificarse. gracias, ahi lo modifique Link to comment Share on other sites More sharing options...
marianomadou Posted July 20, 2020 Share Posted July 20, 2020 la verdad que no tiempo ahora como para ponerme a revisar todo el código, solamente lo hice hoy porque un cliente me pidió la instalacion de enviopack. Ademas intenté comunicarme, infructuosamente, con gente de soporte de la empresa para que provean un modulo que funcione. No entiendo como hace la gente que ya lo tiene instalado (?) 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