Guest Posted October 20, 2011 Share Posted October 20, 2011 Hi everyone, I currently have an issue with creating a category called 'Coats & Jackets', but the webservice gives me an error 500 Internal Service, however if I replace the '&', with the text 'and', then everything is working fine. I have tried escaping the ampersand (&), but it still did not work. Hope you guys can help me. Thanks Link to comment Share on other sites More sharing options...
tilaurent Posted February 29, 2012 Share Posted February 29, 2012 Hi everyone, I currently have an issue with creating a category called 'Coats & Jackets', but the webservice gives me an error 500 Internal Service, however if I replace the '&', with the text 'and', then everything is working fine. I have tried escaping the ampersand (&), but it still did not work. Hope you guys can help me. Thanks Hi ! I did face that problem too. As no one aswered i give a hint : Replace all & with %26. It does the job. Good luck Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 29, 2012 Share Posted February 29, 2012 Hi zahiar, I just created a "Coats & Jackets" category on a fresh install with no issues. What version of PrestaShop are you using? -Mike Link to comment Share on other sites More sharing options...
symphonyx Posted April 18, 2012 Share Posted April 18, 2012 maybe try & or & Link to comment Share on other sites More sharing options...
symphonyx Posted May 16, 2012 Share Posted May 16, 2012 It will be cool to answer when some people help you. It will be interesting for others to know if it works and how you solve the problem. Regards Link to comment Share on other sites More sharing options...
spope Posted February 17, 2013 Share Posted February 17, 2013 I had the same problem on Prestashop 1.5.3.1 and I have resolved it with tilaurent solution. $string = str_replace("&", "%26amp;", $string); Link to comment Share on other sites More sharing options...
vik93 Posted June 26, 2014 Share Posted June 26, 2014 (edited) Hello, sorry for re-open this topic, but %26amp; is not working for my web service :-( Do you have an idea of the problem ? & not working, %26amp; also not working Edit : When i use %26amp; I have a special error : <message><![CDATA[Validation error: "Property Product->name is not valid"]]></message> Edited June 26, 2014 by vik93 (see edit history) Link to comment Share on other sites More sharing options...
horus.by Posted July 6, 2014 Share Posted July 6, 2014 Fix with '%26amp' should be used only for adding new items . For updating items, this fix not needed. Link to comment Share on other sites More sharing options...
Recommended Posts