Hi all.
Im trying to integrate the FCK editor into a custom cms type program I made.
Im having a problem getting the uploading an image and browsing the server extras to work.
I've gone through all the documentation and change all the bits and set the correct paths im supposed to, but it still doesnt work. These are the following errors im getting:
(Click on Insert / Edit Picture)
Browse Server:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And when I try to upload an image:
Error creating folder: "[absolute path i have chosen]" (Cannot create http:/ directory)
I have the directory on the server and its permissions set to 0777. I have also got the sub folders: image, file, media and flash (all with 0777).
Any ideas?
Thanks
Re: Server Browser / File Upload
Even I get the same error with Joomla 1.0.15. Anybody has a solution for this please.
Re: Server Browser / File Upload
I believe that most of smilar problems can be solved by setting the right paths in config.php.
Path relative to the document root (that part after domain name).
Absolute server path to the same directory above
Note:
is ok.
is wrong.but:
UserFilesAbsolutePath
holds the local (server) path.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Server Browser / File Upload
Although my file browser still gives me the same error.. =/
Any ideas?
Re: Server Browser / File Upload
As it says, check the server error log, it may contain some useful error messages.
Hint: url pointing to the file browser contains double dots "..". On some servers, it may be blocked by mod_security.
In such case, check the latest nightly build of FCKeditor.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Server Browser / File Upload
Thx so much for replying wictor. I am having the same problem as mentioned before. Even after editing the config file, I am not able to upload images or browse my image directory.
When I click the image button and after that if I try to browse my server, I get this error,
I am using fckeditor 2.3.1 for mojoBlog http://www.joomlify.com/component/option,com_sobi2/sobi2Task,sobi2Details/sobi2Id,5/Itemid,53/
In my config file below, I am editing as you told before. I have a Joomla installation on the root. So in my config file, I edit as below.
// Path to user files relative to the document root.
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful 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.
But I am still not able to get to upload any image. Am I doing it right ?
Also, in the config file, after the global comments, I see this
Should I do anything about setting it explicitly to true and if I should, where and how should I edit it?
Thx in advance.
Re: Server Browser / File Upload
This is wrong:
you must put there an absolute server path.
Server path, not URL of your site.
It should be something similar to (on linux servers):
or on windows servers:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+