I'm having an absolutely maddening issue with FCKeditor & PhpGedview. The path is getting lost for the skins directories. It's the strangest thing. Using FireBug I tracked the error down. It was throwing the error -uncaught exception: Permission denied to call method XMLHttpRequest.open - which made no sense to me as all is on the same web server.
This issue keeps the editor from displaying at all and even breaks the ability to use just the plain text editor.
Further investigation using FireBug showed me that the URL for the skins was incorrect.
Here is what I found for the URLs that are being produced and in the following order:
http://mysite.com//modules/FCKeditor/ed ... ditor.html
http://mysite.com//modules/FCKeditor/ed ... e_gecko.js
http://mysite.com//modules/FCKeditor/fckconfig.js
http://modules/FCKeditor/editor/skins/d ... editor.css (note that the actual URL is being dropped. )
http://mysite.com//modules/FCKeditor/editor/lang/en.js
http://mysite.com//modules/FCKeditor/ed ... spacer.gif
http://mysite.com//modules/FCKeditor/fckconfig.js
http://modules/FCKeditor/editor/skins/d ... _strip.gif (note that the actual URL is being dropped. )
The code calling the editor is
require("config.php"); $useFCK = file_exists("./modules/FCKeditor/fckeditor.php"); if($useFCK){ include("./modules/FCKeditor/fckeditor.php"); }
Re: Path being lost for skins directory - PhpGedview and FCKedit
If you look at the requested URL you'll see that they have a double slash http://mysite.com//modules/FCKeditor, I saw that problem fixing a broken installation that had the same symptoms and the problem was that during the install of Joomla it ask for the domain and says that it must be written without a final slash, but the advice wasn't followed and then the web did strange things like this.
Re: Path being lost for skins directory - PhpGedview and FCKedit
I've noticed that throughout this app since first installing it and thought it was strange (I'm new to this app), but up till now it did not create any issues that I was aware of. The install "supposedly" auto detects" the URL, but what I've done is gone in and manually entered the URL in the config removing the extra slash. There must be a bug in their code somewhere causing this, but that is a phantom to chase for another day.
I'm now struggling with the file manager portion of the install so images can be uploaded and added to the articles.
Now - the good news is that seems to have solved that problem. I can now see the basic editor and its tool bars... YEA!!!
I'm going to read all the posts here on getting the file manager to work, as it seems I have it setup correctly. I've created the upload directory correctly with the proper permissions (777) (images/userfiles) and configured both the filemanager/upload/php/config.php and the filemanager/browser/connectors/php/config.php, enabling them and creating the absolute directory path - /user/public_html/images/userfiles/ - but I'm getting an error message that the proper XML request is not being sent by the server. This is my server and I have all the DOM XML libraries installed, so I'm not sure what's up there. Also if I ignore that, and click the browse for file button, it presents a download box to d/l the config file - which is really strange...LOL - If you have suggestions that would be great.. but I'll read on also to see if others have had these issues and what I've obviously overlooked.
Thank you so much for calling to my attention what should have been "so" obvious in regards to my original issue. Sometimes you can't see the forest for the trees...LOL
Ruth
Re: Path being lost for skins directory - PhpGedview and FCKedit
maybe some .htaccess rule?