SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Defiant's Avatar
    Join Date
    Feb 2006
    Location
    Durham, UK
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Emergency HELP Needed

    Im having problems with FCK Editor, dont go yet. The problem is with file locations.
    I cant get the images to display.

    The images are located 2 folders up from where the FCKEditor is used (../../files/)

    I cant get it to work.
    These are the variables in the fckconfig:

    Code:
    // Path to user files relative to the document root.
    $Config['UserFilesPath'] = '/UserFiles/' ;
    
    // Fill the following value it you prefer to specify the absolute path for the
    // user files directory. Usefull if you are using a virtual directory, symbolic
    // link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
    // Attention: The above 'UserFilesPath' must point to the same directory.
    $Config['UserFilesAbsolutePath'] = '' ;
    Does '// Path to user files relative to the document root.' mean relative to the config script or the script in which FCK is called up?

    Cheers.
    Webdesigner in Training
    Currently Studying: PHP

  2. #2
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Paths with a leading / are absolute. If you didn't include the leading /, it'd be relative to the working directory.
    Saul


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
  •