VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: stusek on January 27, 2015, 14:41:17 PM

Title: bad link to file in product description
Post by: stusek on January 27, 2015, 14:41:17 PM
Hello,
unfortunately I don't found solution in forum and internet. I upgraded Virtuemart to latest version (3.0.2) on Joomla 2.5.27.
My problem is, after update: when I set link in product description to PDF file, the link was after save corrupt. HTML link <a href="images/file.pdf">PDF</a> is changed to <a href=\"images/file.pdf\">PDF</a> and on front end link doesn't work. VirtueMart add character \ before double quote.

I get the same result even if you switch to the source HTML editor and in this mode after adjusting country r Save (JCE editor, it does not).

Does anyone have an idea please, where could be the problem?

Thank you for help.
Title: Re: bad link to file in product description
Post by: ltheme on January 28, 2015, 05:18:22 AM
Hi,

You should recheck with your hosting provider, may be they enabled module 'magic_quotes_gpc' in your hosting, so the image or link location will be added '\' automatically when you put.
Title: Re: bad link to file in product description
Post by: stusek on January 28, 2015, 09:03:41 AM
Thank you for your help, I disabled magic_quotes_gpc and now work product save correctly.
Title: Re: bad link to file in product description
Post by: ltheme on February 04, 2015, 05:07:03 AM
Glad your problem has been solved :)