Okay - I've been working on this off and on for weeks - but now it has become something I can't get around.
I've been trying to get the image stuff working in FCKEditor - I'm using it within SugarCRM running PHP against MySQL tables. The first suggestion was to upgrade the version of FCKEditor - which I did, but the newer version of FCKEditor needed PHP 5 - but my hosting service was still on 4.x - so I got my account upgraded to 5.1.6
Still no luck with getting the browser or upload images working - even with modifying the fckconfig.js and the correct php/connecter.php entries. If I ran Firebug, it would tell me that this.DOMDocument was empty - no other error. I was hoping that it could tell me where it was looking or what the request was that formed it - but I don't know.
Others suggested just putting the file up on the server and typing in the URL - did that - image shows until I save it - then it tries to convert the URL into almost gibberish - so that's not useful. Here's the original URL that I used in the Image Insert dialog
http://www.imparisystems.com/UserFiles/Image/impari.gif
and when the file was saved, the url was turned into
http://www.imparisystems.com/SugarCRM/%3Ca%20href=
Quick recap
In FCKEditor/fckconfig.js changed the following two lines
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
The following are set to true
FCKConfig.LinkBrowser = true ;
FCKConfig.ImageBrowser = true;
FCKConfig.FlashBrowser = true;
FCKConfig.LinkUpload = true;
FCKConfig.ImageUpload = true;
FCKConfig.FlashUpload = true;
I created a directory called /UserFile with two subdirectories - /File and /Image and set the access to 777.
I have also flushed my cache so often, it's getting a rash!
What am I missing?
Fri, 08/24/2007 - 22:09
#1
Re: Images / browser and other issues