Because i was having trouble getting the file browser to work i started to experiment with the test html supplied with FCKeditor. I am using the FCKeditor on a unix environment (shared webserver) which has PHP Version 5.2.3 installed.
So i loaded this in my browser : http://www.mysite.tpl/fckeditor/editor/ ... /test.html
And what I got is this:
Warning: mkdir() [function.mkdir]: No such file or directory in /home/myuser/domains/mysite.tpl/public_html/teck/fckeditor/editor/filemanager/upload/php/upload.php on line 94 Warning: move_uploaded_file(domains/skiptest.com/public_html/teck/fckeditor/userfiles/file/johan_ajax.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/myuser/domains/mysite.tpl/public_html/teck/fckeditor/editor/filemanager/upload/php/upload.php on line 111 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpaigxlF' to 'domains/skiptest.com/public_html/teck/fckeditor/userfiles/file/johan_ajax.txt' in /home/myuser/domains/mysite.tpl/public_html/teck/fckeditor/editor/filemanager/upload/php/upload.php on line 111
Re: upload problem
Hi,
Remember to start absolute path with slash at the beginning, that's why it is called absolute path
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: upload problem
Any other ideas would be most welcome.
Re: upload problem
I am having the exact same problem with the same error messages from the test.html and my settings use the following settings in the PHP config.php file (domain name changed for privacy)
Re: upload problem
Re: upload problem
Here are the settings and the Upload tab still does not work. I have parsed the code completely but when I did try to upload it indicated the the target URL hadn't been entered. If I wanted to upload a file using the Upload tab, do I still have to put in a URL in the Image Info or File Info tab?
Here is the code. If you see anything that is probably not correct, I would appreciate the feedback.
Again, I am making an assumption but the $Config['UserFilesAbsolutePath'] = '/public_html/userfiles/' should be for the root of the virtual directory as I am on a shared server. In that case the public_html is one of the folders in my server root.
Thanks again for the feedback. It was useful.
Re: upload problem
These errors are typically generated because of permission issues on the directory in question. For testing purposes modify the permissions of your userfiles and file directories to 777.
Re: upload problem
Based on your previous post, I would say that you must set
Re: upload problem
That did the trick!!!! Thank you so very much.....
Re: upload problem
They allready were set to 777
(the userfiles dir itself as well as the file, flash, image and media subdirs)
The problem persists, any other ideas would be most welcome.
Thanks in advance.
Re: upload problem
Re: upload problem
I'm also having problems using the uploader! Images work perfectly when they are copied like text from one page to another, but when new images are uploaded, its raising hell!
I set the folder to 777, changed all of the configs:
$Config['UserFilesPath'] = '../images/' ;
$Config['UserFilesAbsolutePath'] = '/www/www/v2/images/' ;
The editor will be used in the admin folder which is why it has ../
It says the image uploaded fine but doesnt show up anywhere. And for the test.html none work.
ALSO: when saving it to database, it showed up as <input type="image" src="../images/testimage.jpg" /> which is wrong!
Please advise.
Re: upload problem
Beta release will be coming soon, you can download it as a "nightly build" in the download section.
You should have less problems with getting uploader to work there.
For the current version (FCKeditor 2.4.3):
if FCKeditor showed message that image uploaded fine, check via FTP where it has been placed, it should help you to adjust your config file.
make sure that you have properly cofigured both config files (inside upload and browser directory).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: upload problem