sersanm2 Posted March 28, 2011 Share Posted March 28, 2011 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. Link to comment Share on other sites More sharing options...
O Gato Hobby Posted April 10, 2011 Share Posted April 10, 2011 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 More sharing options...
tamarrah Posted April 30, 2011 Share Posted April 30, 2011 same problem for me. Did you solve the matter. It would be helpful for me.Thanks a lot. Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted May 6, 2011 Share Posted May 6, 2011 FriendsI 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 LuckDGV Link to comment Share on other sites More sharing options...
Erik Allas Posted May 27, 2011 Share Posted May 27, 2011 Works!When will they have a real solution? Link to comment Share on other sites More sharing options...
Thomas Didierjean Posted May 27, 2011 Share Posted May 27, 2011 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 More sharing options...
prestauser23 Posted June 24, 2011 Share Posted June 24, 2011 @Thomas,For me at presta 1.4.3 its line 230.And no i did not work @DVGThanks , for now it will keep my shop running. Link to comment Share on other sites More sharing options...
Recommended Posts