Upload fails, but gives no error. The test script works, but since I can't view source on the upload screen, I can't tell what is different. I have all the config files set as shown online, and directory permissions set to 0777. Any thoughts?
Tue, 08/21/2007 - 18:40
#1
Re: Upload fails without error
Hello everyone,

I have a simular problem with php.
i am testing fckeditor with a CMS call pluxml and on stand alone from the archive dowloaded , with same results.
on local it works fine.
So I upload to web site and then , after a few fixe within the fckconfig.js file and the config.php file.
and finally the file seems to be upload (have to wait a few seconds if file is a few KO.) the popup returns the name of the file and where it should be . But the file is not there nor else on the server !??
Is there an debug option somehwhere to follow each steps of upload to find out where file is lost ?
I used the UserFilesAbsolutePath as well
to create a new folder returns an unknown error.
the server runs under : php : 4.3.10-16
It's quiet frustrating not to find why it's not working.
I have already a simple uploading script moving and renaming file uploaded , and it works fine .
Should i disabled this function in fckeditor ?
thanks to have read us so far
GCENCORE
Re: Upload fails without error
Well, currently there is no debugging option in FCKeditor. However, you can try to debug it manually:
- you can trace AJAX calls using Firebug plugin in Firefox
- you can add some extra error_log commands inside upload.php to find out where FCKeditor has problems, for example:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Upload fails without error
thanks so much for the answer , i'll follow these tips and give a few try next - week .

There is after all no reason why it should not be possible
Regards , GCencore
Re: Upload fails without error
Re: Upload fails without error
Actually, if you see your home page in "Post URL" panel, I guess that you may have .htaccess file with mod_rewrite rule that redirects all php calls to a single file, like index.php.
You can try another Firefox plugin: "Live HTTP Headers" to check that.
Open test.html file, upload some sample file and check wheter results are being sent from (...)editor/filemanager/upload/php/upload.php using this plugin.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Upload fails without error
One step closer!
I downloaded and installed the Live HTTP headers (what a great plugin!) and finally saw that it was redirecting with a HTTP response code of 302. Here's the content of my .htaccess - I see where it's getting redirected.
Re: Upload fails without error
First , with a safe mode on warning , i got surprised , and i solved the probleme by erasing the userfiles folders ,and create it again manually .
For some reason , if i let fckeditor create the folder or upload it with setting 777chmod , it is not writable.
I had to create manually through ftp these folders to have it work !
I start to learn and apreciate KFCKeditor , and i love it !
big thanks to everybody .