Jump to content

Links using fck editor or html


Guest strawberryfusion

Recommended Posts

Guest strawberryfusion

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

Link to comment
Share on other sites

Guest strawberryfusion

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? :whistle:

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>
Link to comment
Share on other sites

Guest strawberryfusion

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 :sleep:

rajiv

Link to comment
Share on other sites

Guest peanutp

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 :blink:

rajiv

Tried your suggestion and it caused my site to crash! Dont suppose you have any other suggestions?

cheers

PEte

Link to comment
Share on other sites

Guest strawberryfusion

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?
Link to comment
Share on other sites

Guest peanutp

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...