johnjinblue Posted April 24, 2013 Share Posted April 24, 2013 Hi Hope I can get help for my new website westmall.com.au. When a customer uses voucher to pay, the check out stopped after step 4 (before step 5 of payment) The error is http 500, the link shows as below (after I click next from step 4) http://westmall.com.au/index.php?controller=order&multi-shipping= I deleted everything and reinstalled v1.5.4, multi store / multi shop, the error still remains. also there is a new record created automatically under (back office)cart rules: split-discount 4... Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 (edited) Not sure if this is the cause, the log as below: PHP Warning: preg_match() expects parameter 2 to be string, array given in /home3....../public_html/classes/Validate.php on line 401 Edited April 24, 2013 by johnjinblue (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 24, 2013 Share Posted April 24, 2013 Hello johnjinblue, do you know how to turn error reporting on? Are you comfortable going into your FTP to change a line of code? 1 Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 (edited) Thank you for your reply Yes I can change code,but not sure how to turn error on Edited April 24, 2013 by johnjinblue (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 24, 2013 Share Posted April 24, 2013 Hi, okay this is from this post Find your config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Now reproduce the error. You should then see more meaningful information. Using Google copy your error message, then enter search 'prestashop (your error message)'. Remember to turn off error reporting when you have gotten the information you wanted. You can always find this information in your hosting error log. It's good to know how to look at this log for any other errors your shop might be experiencing. Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 (edited) [24-Apr-2013 09:55:56] PHP Warning: file_get_contents(__DIR__/jquery/plugins/fancybox/jquery.fancybox.js) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home3/we...1/public_html/js/retro-compat.js.php on line 85 [24-Apr-2013 09:56:06] PHP Warning: file_get_contents(__DIR__/jquery/plugins/fancybox/jquery.fancybox.js) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No suc [24-Apr-2013 07:55:56] PHP Warning: file_get_contents(__DIR__/../js/jquery/plugins/fancybox/jquery.fancybox.css) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home3/we..../public_html/css/retro-compat.css.php on line 65 [24-Apr-2013 07:56:05] PHP Warning: file_get_contents(__DIR__/../js/jquery/plugins/fancybox/jquery.fancybox.css) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home3/west....1/public_html/css/retro-compat.css.php on line 65 file or directory in /home3/.../public_html/js/retro-compat.js.php on line 85 Edited April 24, 2013 by johnjinblue (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 24, 2013 Share Posted April 24, 2013 Hi johnjinblue, You have the Agile Payment Module installed. Could you disable this module and let me know what happens. 1 Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 (edited) Thank you very much... I will turn off payment and try again. After turn on error report I can see the error as below, then I checked the voucher [split discount xxx] which created by the checkout process, the name is empty.... Warning: Function __set() is deprecated in /home3/w.../public_html/modules/agilemultipleseller/AgileMultipleSellerBase.php on line 10 in /home3/westm.../public_html/classes/Tools.php on line 1843 Warning: preg_match() expects parameter 2 to be string, array given in /home3/w..../public_html/classes/Validate.php on line 401 [PrestaShopException] Property Discount->name is empty at line 874 in file classes/ObjectModel.php 868. 869. $message = $this->validateField($field, $value, $id_lang); 870. if ($message !== true) 871. { 872. if ($die) 873. throw new PrestaShopException($message); 874. return $error_return ? $message : false; 875. } 876. } 877. } 878. ObjectModelCore->validateFieldsLang - [line 306 - classes/ObjectModel.php] - [0 Argument] 300. {301. // Retrocompatibility302. if (method_exists($this, 'getTranslationsFieldsChild'))303. return $this->getTranslationsFieldsChild();304.305. $this->validateFieldsLang();306. $is_lang_multishop = $this->isLangMultishop();307.308. $fields = array();309. if ($this->id_lang === null)310. foreach (Language::getLanguages(false) as $language) Edited April 24, 2013 by johnjinblue (see edit history) Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 Yes, great, I disabled the agile payment, and no error shows..... The name of the split discountxxx becomes "OK" Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 24, 2013 Share Posted April 24, 2013 Hi, so the problem lies in that module. Are you sure it is compatible? I suggest that you post on this thread. http://www.prestashop.com/forums/topic/157598-module-agile-paypal-adaptiveparallel-payment-module/ 1 Link to comment Share on other sites More sharing options...
johnjinblue Posted April 24, 2013 Author Share Posted April 24, 2013 Thanks ....I will chase add-on Link to comment Share on other sites More sharing options...
shokinro Posted April 24, 2013 Share Posted April 24, 2013 Johnjinblue, Please contact our support to get update of the modules at [email protected] Thanks for Benjamin for the follow up. Link to comment Share on other sites More sharing options...
johnjinblue Posted May 9, 2013 Author Share Posted May 9, 2013 This has been solved . bought another add-on Link to comment Share on other sites More sharing options...
shokinro Posted May 9, 2013 Share Posted May 9, 2013 @Johnjinblue I am glad that the issue is resolved and thanks for your feedback. 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