Jump to content

Error in the detail list of products


Recommended Posts

Hello,

I tried to find solution to this potential error that I have but can not find anything anywhere.
What happens is this:

When ordering, in the last step I get a blank screen with the message "Error: Invalid email subject" and in the address bar this:"http://www.compreu.com/modules/bankwire/validation.php "

I think that is when you send the customer confirmation email to the detail of products you have purchased it gives the error unable to access the item. I went in the back office to Tools>> translations>> E-mail email templates, and then "mailalerts"in "new_order.html" places that have not found the theme as I show in the attached image.

It happen to someone and know how to fix? Thank you.

41467_ec8FazFcE35N59dRyrlu_t

Link to comment
Share on other sites

  • 2 weeks later...
Hello,

I tried to find solution to this potential error that I have but can not find anything anywhere.
What happens is this:

When ordering, in the last step I get a blank screen with the message "Error: Invalid email subject" and in the address bar this:"http://www.compreu.com/modules/bankwire/validation.php "

I think that is when you send the customer confirmation email to the detail of products you have purchased it gives the error unable to access the item. I went in the back office to Tools>> translations>> E-mail email templates, and then "mailalerts"in "new_order.html" places that have not found the theme as I show in the attached image.

It happen to someone and know how to fix? Thank you.


Same problem here.
Any solution?
Link to comment
Share on other sites

  • 3 weeks later...

Friends

I do not recommend to remove any validation but, until we have a real solution from the PrestaTeam, you can comment the following lines in classes/Mail.php file:

        //if (!Validate::isMailSubject($subject))
        //    die(Tools::displayError('Error: invalid email subject'));


That worked for me.

Good Luck

DGV

Link to comment
Share on other sites

  • 3 weeks later...

Hi,
Could you try this fix - in file modules/mailalerts/mailalerts.php replace line 207 by this:

           Mail::Send($id_lang, 'new_order', Mail::l('New order'), $templateVars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), NULL, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], NULL, NULL, dirname(__FILE__).'/mails/');



and update me about the result? Thanks.

Link to comment
Share on other sites

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