Jump to content

V1.5.4 Multi store voucher not working http 500 error


Recommended Posts

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

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

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

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. // Retrocompatibility
    302. 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 by johnjinblue (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...