Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: FCKeditor problem with uploading images

  1. #1
    solidcam is offline Junior Member
    Join Date
    Jun 2006
    Posts
    1

    Unhappy FCKeditor problem with uploading images

    After a few hours of trial and error I still can't get FCKeditor in 4.2.0d on linux/php to show or upload images or other files. I do consistently get a javascript error when the resources browser opens up. (object required. line 120) I cannot create a new directory there or upload a file. Doesn't give an error message though.

    This problem happens in all of my 5 installations, both opensource or professional? Does anybody have the same problem or has a solution for this. Any help or hint is greatly appreciated.

    Leif

  2. #2
    pkonstan is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: FCKeditor problem with uploading images

    I am having the same problem and need help also.

  3. #3
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: FCKeditor problem with uploading images

    pkonstan, can you please enter a bug regarding this issue in bugs.sugarcrm.com. Please be sure to specify which browser you're using.

    Thanks,

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  4. #4
    Devis is offline Sugar Community Member
    Join Date
    Jun 2005
    Location
    Schio - Italy
    Posts
    141

    Default Re: FCKeditor problem with uploading images

    I've open a bug into bugs.sugarcrm.com
    Hope they will close this soon
    Devis Lucato
    Ex maintainer Italian Localization
    Senior PHP Developer
    Linux System Admin
    London

  5. #5
    pkonstan is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    13

    Default Re: FCKeditor problem with uploading images

    Sorry I am unsing Firefox. I am new to Sugar so please bear with me. Thanks

  6. #6
    rsanka is offline Junior Member
    Join Date
    Feb 2006
    Posts
    3

    Default Re: FCKeditor problem with uploading images

    I had a similar problem and I changed the Line #132 & 133 in include/FCKeditor/fckconfig.js to 'php' (it was set to 'asp' earlier)
    Code:
    var _FileBrowserLanguage	= 'php' ;	// asp | aspx | cfm | lasso | perl | php | py
    var _QuickUploadLanguage	= 'php' ;	// asp | aspx | cfm | lasso | php
    and set Enabled to true in the two files given below and it worked. Under linux the proper permissions on the folders where the images are uploaded.
    include/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php and
    include/FCKeditor/editor/filemanager/upload/php/config.php

    Code:
    // SECURITY: You must explicitelly enable this "connector". (Set it to "true").
    $Config['Enabled'] = true ;

  7. #7
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: FCKeditor problem with uploading images

    pkonstan, did rsanka's suggestion do the trick?

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  8. #8
    mild is offline Member
    Join Date
    Jul 2006
    Location
    Durban, SA
    Posts
    9

    Default Re: FCKeditor problem with uploading images

    Hi There.

    I have a stock standard install of 4.2.0 OS Edition and have the same problem. I have implemented all the suggestions above with no success. here is what i have done:

    Server: Debian - Sarge
    Browser: Firefox 1.5.0.5 on windows XP

    I have updated fckconfig.js to use connector language 'php' instead of 'asp'. I have updated the config.php files to ensure that Config['enabled'] = true for filemanager/browser/php/config.php and filemanager/upload/php/config.php.

    I have also updated the FCKEditor_Sugar/FCKeditor_Sugar.php file to use the correct $host value (recommended in another thread). Still no luck. But I do notice that when I make this particular change the FCKEditor toolbar changes (as it is now getting the toolbar default value from myfckconfig.js) and their is no longer an image insert button.

    When I look at my apache logs I see that the connector language is still 'asp' as when I try to upload an image file my log shows

    "POST /test_crm/include/FCKeditor/editor/filemanager/browser/default/connectors/asp/connector.asp?Command=FileUpload&Type=Image&Curren tFolder=/ HTTP/1.1" 405 388 "http://192.168.0.2/test_crm/include/FCKeditor/editor/filemanager/browser/default/frmupload.html" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5"

    At this point I get stuck. Where is the 'asp' connector setting coming from?

    Any help here would be welcome.

    Many thanks

  9. #9
    jorgex is offline Junior Member
    Join Date
    Aug 2006
    Posts
    4

    Default Re: FCKeditor problem with uploading images

    Hello, I have the same problem.

    My server plataform: Linux Slackware, Apache2, PHP. I try with versions SugarCRM 4.2.0, 4.2.0d and now 4.2.1b.
    My client plataform: Windows XP SP2, Internet Explorer 6 or Mozilla Firefox 1.5

    I can't show or upload images or other files with fckeditor, I can neither create folders.

    I do consistently Internet Explorer get a javascript error when the resources browser opens up. (object required. line 120). If I use Firefox don't get any error, but neither upload images.
    IExplorer error: include/FCKeditor/editor/filemanager/browser/default/frmresourceslist.html (object required. line 120, Car.2)

    I have updated fckconfig.js to use connector language 'php' instead of 'asp'. I have updated the config.php files to ensure that Config['enabled'] = true for filemanager/browser/php/config.php and filemanager/upload/php/config.php.

    When I look at my apache logs I see that the connector language is correctly 'php' as when I try to upload an image file or create a folder my log shows:

    "POST /include/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php?Command=FileUpload&Type=Image&Curren tFolder=/ HTTP/1.1" 302 276 ..."

    but not upload nothing.

    I try all, I need help also. thanks.
    Last edited by jorgex; 2006-08-22 at 12:23 PM.

  10. #10
    TheShark is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    30

    Default Re: FCKeditor problem with uploading images

    I too have this problem using firefox. Where are the images uploaded to? Is it possible to ftp images directly to this location?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •