Guest strawberryfusion Posted October 18, 2006 Share Posted October 18, 2006 Hi, I have been trying to create a download link and the link is formatted wrongly, so instead of being like this: http://www.mysite/images/pdf/test.pdf it is formatted like this: /\"http://www.mysite/images/pdf/test.pdf\" I have also tried editing the html and I get the same results? I have updated FCK to the latest version from cubecart.org - I cannot find anything else in the forums to help with this? Kindest Regards rajiv Quote Link to comment Share on other sites More sharing options...
roban Posted October 18, 2006 Share Posted October 18, 2006 Try it using the Source Code function in fckeditor using the format <a href="http://www.mysite/images/pdf/test.pdf"></a> Quote Link to comment Share on other sites More sharing options...
Guest strawberryfusion Posted October 18, 2006 Share Posted October 18, 2006 Hi Roban, I tried that and this is what I get: <p><a href="\">Product Manual</a></p> and this is what I typed in: <p><a href="http://mysite.com/pdf/test.pdf">Product Manual</a></p> Something strange is going on? Many thanks rajiv Try it using the Source Code function in fckeditor using the format <a href="http://www.mysite/images/pdf/test.pdf"></a> Quote Link to comment Share on other sites More sharing options...
Guest strawberryfusion Posted October 18, 2006 Share Posted October 18, 2006 OK I fixed the issue. The problem was that the url's were not being formatted correctly. Looking at the database entry confirmed that. We had a look at the php info of the server and noticed that the following were off: magic_quotes_gpc=Off magic_quotes_runtime=Off magic_quotes_sybase=Off So I just created a php.ini file in the home directory as the hosting company said they cannot change the global php.ini file and I could just create my own with the changed configuration and put it into the home directory. So my php.ini file had this line of code: magic_quotes_gpc=On The urls are being formatted correctly now rajiv Quote Link to comment Share on other sites More sharing options...
Guest peanutp Posted October 22, 2006 Share Posted October 22, 2006 OK I fixed the issue. The problem was that the url's were not being formatted correctly. Looking at the database entry confirmed that. We had a look at the php info of the server and noticed that the following were off: magic_quotes_gpc=Off magic_quotes_runtime=Off magic_quotes_sybase=Off So I just created a php.ini file in the home directory as the hosting company said they cannot change the global php.ini file and I could just create my own with the changed configuration and put it into the home directory. So my php.ini file had this line of code: magic_quotes_gpc=On The urls are being formatted correctly now rajiv Tried your suggestion and it caused my site to crash! Dont suppose you have any other suggestions? cheers PEte Quote Link to comment Share on other sites More sharing options...
Guest strawberryfusion Posted October 22, 2006 Share Posted October 22, 2006 Hi, Does the hosting support the adding of a php.ini file? rajiv Tried your suggestion and it caused my site to crash! Dont suppose you have any other suggestions? Quote Link to comment Share on other sites More sharing options...
Guest peanutp Posted October 22, 2006 Share Posted October 22, 2006 Hi, Does the hosting support the adding of a php.ini file? rajiv Tried your suggestion and it caused my site to crash! Dont suppose you have any other suggestions? It does. I have a dedicated server which gives me access to change my php.ini file. Pete Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.