SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    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 04:21.

  2. #2
    SitePoint Guru
    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.

  3. #3
    SitePoint Enthusiast
    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") ; 
    it was fine. Then the path at the bottom:

    PHP Code:
    $sBasePath $_SERVER['PHP_SELF']."/FCKeditor/" ;
    $sBasePath substr$sBasePath0strpos$sBasePath"_samples" ) ) ; 
    the top line i changed but im unsure about this 2nd line??

    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.
    The path is missing the FCKeditor - between fck and editor??

    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 ;
    should have been
    $oFCKeditor->BasePath = 'FCKeditor/' ;
    the base path!

    thanks.

    However, any idea how to get the image upload working. I cant find any image directory?

  4. #4
    SitePoint Enthusiast
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •