Jump to content

B2B on, Company name with & in the name causes error 500 in order status changes


Recommended Posts

Hi I have a vanilla prestashop 1.6.1.2, in have B2B enabled.

 

I have two customers both registered company names with & in the name e.g. "Tiffany & Co."

When ordering something in the webshop, choosing to pay with bank wire. order is created fine.

 

If i then in the admin interface change order to shipped (this creates invoice & shipping documents) a error 500 is returned, and the order is partial changed to shipped, but no invoice or delivery slip is created.

 

manually hitting the create invoice button on the documents page on the order details page results in the same thing.

 

as a test if i create the excact same user, but create the company name as "Tiffany and Co." everything works as it should.

 

changing the company name on the original customer account doens not help.

 

i tried turning dev mode on, but i get nothing in the logs, i can see that php is dumping an error.

 

My environment is Windows Server. php 5.9.4.0 i use fastcgi, and iis:

Server information Windows NT build 7601 (Windows Server 2008 R2 Enterprise Edition Service Pack 1) i586

Server software version Microsoft-IIS/7.5

PHP version 5.4.9

Memory limit 512M

Max execution time 30

 

Any idea what is the cause of this problem ??

 

Regards,

 

Henrik

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...