adamus007p Posted June 9, 2012 Share Posted June 9, 2012 (edited) I was trying to update my shop, now there are other errors.... which stop me to update the shop. When I want to order free samples I have fatal error. Same thing in the new fresh shop and from update, in different servers and in different browsers. http://forge.prestas...owse/PSCFI-5878 I make a test and in 1.4.9 there are same/other problems with it. Do you have any solution? Edited July 10, 2012 by adamus007p (see edit history) Link to comment Share on other sites More sharing options...
Broceliande Posted June 12, 2012 Share Posted June 12, 2012 I was trying to update my shop, now there are other errors.... which stop me to update the shop. When I want to order free samples I have fatal error. Same thing in the new fresh shop and from update, in different servers and in different browsers. http://forge.prestas...owse/PSCFI-5878 I make a test and in 1.4.9 there are same/other problems with it. Do you have any solution? Hi, i just posted a working solution on forge (pls just look in comments) : http://forge.prestashop.com/browse/PSCFI-5887 Link to comment Share on other sites More sharing options...
heliairmonaco Posted July 4, 2012 Share Posted July 4, 2012 Hello Broceliande I ve got the same problem. I ve seen your tracking source but the link to the file doesn't works : Forbidden You don't have permission to access /viewrep/PrestaShop_v.1.4.x/controllers/ParentOrderController.php on this server. Best regards Link to comment Share on other sites More sharing options...
adamus007p Posted July 10, 2012 Author Share Posted July 10, 2012 (edited) 0€ payment work reorder ok solved Edited July 10, 2012 by adamus007p (see edit history) Link to comment Share on other sites More sharing options...
ciptanegara Posted July 11, 2012 Share Posted July 11, 2012 (edited) 0€ payment work reorder ok solved \ I ve the same problem adamus007p. can you tell us, what did you do to fix this problem.. Thank you Never Mind, it works now. As Broceliande said..just open folder classes/paymentmodule.php..edit the paymentmodule.php, about line 91..find and replace with public function validateOrder($id_cart, $id_order_state, $amountPaid, $paymentMethod = 'Unknown', $message = NULL, $extraVars = array(), $currency_special = NULL, $dont_touch_amount = false, $secure_key = false) { global $cart; $cart = new Cart((int)($id_cart)); // Is the payment module still active ? if (!$this->active && !(get_class($this)=='FreeOrder')) die(Tools::displayError()); Edited July 11, 2012 by ciptanegara (see edit history) Link to comment Share on other sites More sharing options...
zackv1 Posted July 16, 2012 Share Posted July 16, 2012 Just replace the attached ParentOrderController.php with the one in your controller/ParentOrderController.php ParentOrderController.php 1 Link to comment Share on other sites More sharing options...
SuperCharlie Posted August 7, 2012 Share Posted August 7, 2012 Thanks for the updated file Zack. I tried it on 1.4.8.2 and it looks to work. Much Appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts