alexcraciun Posted July 30, 2013 Share Posted July 30, 2013 (edited) Am intrebat si pe forumul englezesc, am crezut ca-s mai multe sanse sa fi intalnit cineva problema asta, se pare ca nu, n-am primit niciun raspuns in 3 zile. Cand accesez BO, apoi Customer si Shopping Carts, primesc eroarea de mai jos. A mai intalnit-o cineva? Si daca da, cum ati rezolvat-o? Multumesc! [PrestaShopException] Invalid address at line 346 in file classes/Address.php 340. if ($id_address) 341. { 342. $address = new Address((int)$id_address); 343. 344. if (!Validate::isLoadedObject($address)) 345. throw new PrestaShopException('Invalid address'); 346. } 347. else 348. { 349. // set the default address 350. $address = new Address(); AddressCore::initialize - [line 1550 - classes/Cart.php] - [1 Arguments] CartCore->getGiftWrappingPrice - [line 1465 - classes/Cart.php] - [1 Arguments] CartCore->getOrderTotal - [line 1264 - classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 744 - controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments] call_user_func_array - [line 294 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 143 - classes/helper/HelperList.php] - [0 Argument] HelperListCore->generateList - [line 1555 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->renderList - [line 1442 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - adminul/index.php] - [0 Argument] Edited July 30, 2013 by alexcraciun (see edit history) Link to comment Share on other sites More sharing options...
cristic Posted July 30, 2013 Share Posted July 30, 2013 Eroare apare in lista sau cand mergi pe o inregistrare anume? Link to comment Share on other sites More sharing options...
alexcraciun Posted July 30, 2013 Author Share Posted July 30, 2013 Nu ajung sa vad lista, asta e pagina primita cand incerc sa accesez Shopping Carts. Link to comment Share on other sites More sharing options...
costi43 Posted July 30, 2013 Share Posted July 30, 2013 dane adresa de web Link to comment Share on other sites More sharing options...
alexcraciun Posted July 30, 2013 Author Share Posted July 30, 2013 dane adresa de web Ai PM. Multumesc. Link to comment Share on other sites More sharing options...
costi43 Posted July 30, 2013 Share Posted July 30, 2013 eu am facut o comanda test si a functionat nu mia dat nici o eroare Link to comment Share on other sites More sharing options...
alexcraciun Posted July 30, 2013 Author Share Posted July 30, 2013 Magazinul functioneaza fara probleme. E vorba de BackOffice, singura problema pe care o am e cea expusa mai sus. Atunci cand incerc sa vad Shopping Carturile nefinalizate intr-o comanda... primesc eroarea. Link to comment Share on other sites More sharing options...
cristic Posted July 30, 2013 Share Posted July 30, 2013 Poti sa imi zici te rog ce apare la adresa asta? Link to comment Share on other sites More sharing options...
alexcraciun Posted July 30, 2013 Author Share Posted July 30, 2013 Poti sa imi zici te rog ce apare la adresa asta? [PrestaShopException] Invalid address at line 346 in file classes/Address.php 340. if ($id_address) 341. { 342. $address = new Address((int)$id_address); 343. 344. if (!Validate::isLoadedObject($address)) 345. throw new PrestaShopException('Invalid address'); 346. } 347. else 348. { 349. // set the default address 350. $address = new Address(); AddressCore::initialize - [line 1550 - classes/Cart.php] - [1 Arguments] CartCore->getGiftWrappingPrice - [line 1465 - classes/Cart.php] - [1 Arguments] CartCore->getOrderTotal - [line 1264 - classes/Cart.php] - [2 Arguments] CartCore::getTotalCart - [line 744 - controllers/admin/AdminCartsController.php] - [3 Arguments] AdminCartsControllerCore->getOrderTotalUsingTaxCalculationMethod - [line - ] - [2 Arguments] call_user_func_array - [line 294 - classes/helper/HelperList.php] - [2 Arguments] HelperListCore->displayListContent - [line 143 - classes/helper/HelperList.php] - [0 Argument] HelperListCore->generateList - [line 1555 - classes/controller/AdminController.php] - [2 Arguments] AdminControllerCore->renderList - [line 1442 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->initContent - [line 167 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - adminul/index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
costi43 Posted July 31, 2013 Share Posted July 31, 2013 la mine apare adresa de logare in BO Link to comment Share on other sites More sharing options...
alexcraciun Posted August 3, 2013 Author Share Posted August 3, 2013 Am rezolvat dupa truncate ps_cart. Se pare ca erau ceva probleme de la teste facute inaintea ultimelor modificari. 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