I'm having problems running on : PHP Version 5.2.17 – linux – apache.
Everything i Ckfinder works. But when trying to upload any file I get ”invalid file ( in the translate js doc I must be error 105). My everything in CKFinder is exactly the same on another running PHP Version 5.3.5. and here I have no problems ! What should I look for ? Can I change something in confic.php ?
Everything i Ckfinder works. But when trying to upload any file I get ”invalid file ( in the translate js doc I must be error 105). My everything in CKFinder is exactly the same on another running PHP Version 5.3.5. and here I have no problems ! What should I look for ? Can I change something in confic.php ?
Re: uploade problem (invalid file)
102 : 'Invalid file or folder name.',
105 : 'Invalid file extension.',
202 : 'Invalid file.',
203 : 'Invalid file. The file size is too big.',
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: uploade problem (invalid file)
My system is danish but maybe it's error 202 then.
Best regards
Morten
Attachments:
Re: uploade problem (invalid file)
Did you try CKFinder on PHP 5.3.5 on exactly the same computer/browser?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: uploade problem (invalid file)
Re: uploade problem (invalid file)
Just to confirm, on both computers, uploads on PHP 5.3.5 work fine, and on PHP 5.2.17 (linux – apache) file uploads are not working?
Could you disable flash uploads?
http://docs.cksource.com/ckfinder_2.x_a ... ovePlugins
and check whether file uploads will start working on PHP 5.2.17?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: uploade problem (invalid file)
Regarding flash upload :
Assuming i did it correct like :
CKFinder.setupCKEditor( editor1, './ckfinder/' ) ;
CKFinder.config.removePlugins = 'flashupload';
In the document that call my CKEditor.
That did not get it to work.
Re: uploade problem (invalid file)
and clear browsers cache. After you do that, after clicking the "Upload" button in CKFinder, instead of the flash component, you should see a simple upload form.
If the simple upload form will show up, please try uploading a file and let me know if it failed in PHP 5.2.17.
This will help me in understanding whether this problem has anything to do with the flash uploader, or not.
Thanks in advance.
Below is the screenshot of the "simplified" upload form, after disabling flash uploads.
Attachments:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: uploade problem (invalid file)
Attachments:
Re: uploade problem (invalid file)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: uploade problem (invalid file)
Found the reason !
http_upload was turned off !
So remember to check your phpInfo.php - if you get the same problem ; )
Big thanks to Wiktor !!
/Morten