[Prepaid Credit] 500 server error?
Posted:
Sun Mar 01, 2015 10:57 am
by mail_4709
Hi,
After clicking the buy button in a product (buying with credits) 500 Server Error appears.
The server log says this:
Property Order->payment is empty at line 866 in file classes/ObjectModel.php
Re: [Prepaid Credit] 500 server error?
Posted:
Sun Mar 01, 2015 2:27 pm
by shokinro
if you are using PrestaShop 1.6.0.13 or 1.6.0.12, there are some bugs in PrestaShop, that can not install the module override classes correctly.
See here for more details. So it is better to wait the bugs fixed or use older version of the modules.
Bug report
http://forge.prestashop.com/browse/PSCSX-4773To Fix
https://github.com/PrestaShop/PrestaSho ... 426955500eBug report
http://forge.prestashop.com/browse/PSCSX-4794
Re: [Prepaid Credit] 500 server error?
Posted:
Sun Mar 01, 2015 9:19 pm
by mail_4709
Well, I'm using 1.6.0.11, so I'm not sure if this fix is applicable. Also this is almost a clean install, with the following changes:
- I removed all payment gateways and installed an external one,
- I translated some strings of the Prepaid Credit module using the backend translation feature,
- I modified some css of the template.
Re: [Prepaid Credit] 500 server error?
Posted:
Mon Mar 02, 2015 3:55 pm
by mail_4709
Problem solved. Previously I missed some strings during translation. As it turns out, ALL strings must be translated for the plugin to work correctly. I'm surprised there's no Prestashop mechanism to counteract that (such as replacing the untranslated strings with original ones).
Re: [Prepaid Credit] 500 server error?
Posted:
Tue Mar 03, 2015 3:37 am
by shokinro
I am glad you got it worked and thanks for your feedback.