SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Apr 21, 2007, 05:41 #1
- Join Date
- Oct 2006
- Posts
- 88
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
FCKeditor anyone installed it before - trouble
Im having trouble installing the FCKeditor. I have set the base path and yet it says it cant include certain files even though the path the error is showing is correct?
Any ideas?
UPdated resurrected post....the trouble is on my last post at the bottom?!Last edited by tbobker; Apr 28, 2007 at 05:21.
-
Apr 21, 2007, 15:08 #2
- Join Date
- Apr 2007
- Posts
- 813
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Can you provide particular url link to your problem, probably we can help you diagnose what's going on. Put all the library files in the same folder as your fckeditor javascript file. Lastly, if you use Firefox, you may want to use firebug for easy debugging.
-
Apr 21, 2007, 16:37 #3
- Join Date
- Oct 2006
- Posts
- 88
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Path problem
Im installing it locally but i think im having a problem with the paths. I went in to samples and copied sample4 php version into my root. So i have this file structure:
root/FCKeditor/
all is ok i changed the include at the top
PHP Code:include("FCKeditor/fckeditor.php") ;
PHP Code:$sBasePath = $_SERVER['PHP_SELF']."/FCKeditor/" ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
I get this error on the page when i try and load it up:
The requested URL /fck/editor/fckeditor.html was not found on this server.
Are these the only places i need to change the path?
Is ok i got it to work:
This is what was wrong.
this line -$oFCKeditor->BasePath = $sBasePath ;$oFCKeditor->BasePath = 'FCKeditor/' ;
thanks.
However, any idea how to get the image upload working. I cant find any image directory?
-
Apr 28, 2007, 05:20 #4
- Join Date
- Oct 2006
- Posts
- 88
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I want to resurrect this post becuase i was wandering if anyone had an idea of how i can input an HTML page and out put an edited HTML page?
The editor seems to loose all the <doctype><html><head><body> tags when it is input into the editor. I want to input a whole web page, which is fine, but out put it as well????
Bookmarks