Jump to content

[solved] free order fatal error 1.4.8.2


Recommended Posts

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?

post-50364-0-84956200-1339244940_thumb.png

Edited by adamus007p (see edit history)
Link to comment
Share on other sites

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

  • 3 weeks later...

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

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 by ciptanegara (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...
×
×
  • Create New...