Page 1 of 1

Problem with fckeditor while giving url link to any file

Posted: Sat Feb 05, 2011 7:05 am
by manojsemwal1
Hai iam using fckeditor its having problem with insert picture and hyperlink when i insert the pic in the fckeditor and save it after save it the pic is not displaying when i check the code it show like.......

<p><img alt="\"\\"\\\\"\\\\"\\"\"" width="\"\\"\\\\"300\\\\"\\"\"" height="\"\\"\\\\"308\\\\"\\"\"" src="\"../userfiles/image/computer-kb-mouse.jpg\"" /></p>
<h3>Type the title here</h3>
<p>Type the text here</p>


While its working in localhost and when i upload it linux server its having the above code...........

Pl Help

thanks

Re: Problem with fckeditor while giving url link to any file

Posted: Sun Feb 06, 2011 3:08 am
by ganesh_dabhade
Check the case (UPPER and/or lower) of file and folder names as the linux is very case sensitive.

Re: Problem with fckeditor while giving url link to any file

Posted: Wed Feb 09, 2011 5:15 am
by manojsemwal1
i saw it its ok fine

but still the problem is same i had checked the config.php file and try to change the
$Config['UserFilesPath'] = '/userfiles/' ;
$Config['UserFilesAbsolutePath'] = '';

but the problem is same.

when i submit the content and see the hyperlink its getting some /and quote like
<p><a href="\"userfiles/file/crc%20name.pdf\"">Manoj</a></p>

how to solve this..................

Re: Problem with fckeditor while giving url link to any file

Posted: Sun Feb 20, 2011 7:25 am
by ganesh_dabhade
change this
<p><a href="\"userfiles/file/crc%20name.pdf\"">Manoj</a></p>
to this
<p><a href="userfiles/file/crc%20name.pdf">Manoj</a></p>

the %20 represents a space and I really don't know whether %20 works on linux server or not.