• Strange FCKEditor issue (1.0.3)#

  • acatterson Reply #1, 11 months, 1 week ago

    Reply
    I have a strange issue with the FCKeditor when trying to add a link to a document within the assets/files directory (or subdirectories to assets/files).

    If I create a folder and upload a file from within MODX (File Manager), it is visible. I then see it in the FCKeditor when trying to add a link to the document.

    If I ftp up a new folder/file, it is not visible when I try to add a link to it (from Tiny/FCKeditor). I've tried changing the folder/file permissions to 777 but still can't see anything.

    All folders/files from original site ftp upload are visible within FCKeditor, which seems strange to me.

    Error logs are empty (no php errors). Apache logs don't show anything unusual.

    Site is hosted at GoDaddy (at client's request).

    Linux/PHP5/MySQL 5.0.77

    Any debugging thoughts greatly appreciated.



  • netProphET - MODX Complete Team Reply #2, 11 months, 1 week ago

    Reply
    Odd. Is the owner and group of the files/folders you're FTPing now the same as that of the files that were originally FTP'd?


  • acatterson Reply #3, 11 months, 1 week ago

    Reply
    Thanks so much for your reply.

    Yes. I initially uploaded the website to GoDaddy via FTP and used the same id/pwd/everything to upload the additional files.

    More insight.

    1) I can see all these files in the MODX File Manager. Even the newly ftp'd files.
    2) I can't see them in FCKeditor.
    3) I can add a folder in FCKeditor but it doesn't appear in FCKeditor. However, if I try to add again FCKeditor tells me that the folder already exists. I can see the newly added folder in the MODX File Manager.

    NOTE: In my original post, I made an incorrect statement. I stated that I could create new files and folders in FCKeditor and was subsequently able to see them within FCKeditor. I truly believe that after hours of trying to figure out this problem, I was tired when I made this statement and I was actually (at that particular moment) working on my local machine rather than the GoDaddy instance. I apologize.

    This issue seems limited to FCKeditor, and of course something it doesn't like in the GoDaddy environment (MODX File Manager is just fine).

    Several hours today w/ no further clues :-)


  • acatterson Reply #4, 11 months, 1 week ago

    Reply
    NOTE: Just checked Owner/Group. All folders/files under assets/files have same owner/group (older ftp'd and newly ftp'd). chmod'd everything to 777. No go. If I had hair ... it'd be falling out :-)



  • sottwell Reply #5, 11 months, 1 week ago

    Reply
    Not sure if this is the same problem, but I have run across something similar. There is a setting on the server that only allows a certain depth of directory structure. The resource browser requires at least six levels. The hosting provider changed that server setting from 4 to 6 and everything was fine. I have no idea what the setting is; the client dealt with his hosting provider.


  • acatterson Reply #6, 11 months, 1 week ago

    Reply
    Firebug provided some insight. Trying to debug:


  • acatterson Reply #7, 11 months, 1 week ago

    Reply
    One of the uploaded folders had an & in the folder name. Linux didn't like it. FCKeditor hurled. I looked at the response XML in Firebug and saw the error. We had the website on Windows/XAMPP in development. Darn ... I should've caught this :-) When I renamed the folder, all became well again.

    Thanks to all who provided input.