Hi, can you send me some screenshot with this bug ? Please check in Firebug console (Firefox add-on ) if there are any errors. Please also check in Firebug Net tab if all request are correct. This problem occurs with all images/files or only with some kind of it ?
I'm having the same problem here. I don't have access to the server's error logs but I've attached a screenshot of the error and corresponding Firebug info. FWIW, no errors seem to be reported anywhere (including the XHR tab) but CKFinder. I don't get this error on my dev server, only the production server, and it happens in Safari and Firefox.
I had the same problem on Windows XP and Firefox 6.02. Deactivating the flashplugin helps, but that is a real petty because the multifile upload possibility would be great!
@biblop - what about one of links I have provided above? Have you tried any of those solutions?
I have only asked to switch of flash plugin to check if this is the source of the problem. Now that you have confirmed it would be nice to find a solution. The problem is that none of our colleagues has this bug so we are unable to reproduce it and give you any advice. We can only suspect that this has something to do with your server/application configuration.
So, for me, it works now. I can't tell you really what have done the trick. Overall, it might be the following modifications :
Use the PHP session with session_start() and CheckAuthentication() which check a session var to return privilege. I changed the config paths (I use an absolute URL as $baseUrl and not the default upload directory). After that, some chmod 775 on the upload dir.
I'm on the way to find the error. When I install the ckfinder in the root everything works perfect. When I use a Protected (by web.config) folder the trouble starts. I'll get there and let you know.
«Request.IsAuthenticated» does'nt give back true in case of uploading wit Firefox, otherwise it is giving back true. Wrong settings on the server or mistake in the CKfinder code? Keep looking...
Niklaus wrote:«Request.IsAuthenticated» does'nt give back true in case of uploading wit Firefox, otherwise it is giving back true. Wrong settings on the server or mistake in the CKfinder code? Keep looking...
Maybe your session cookie is lost ? Can you check this ? There was always problem with Flash and Cookies...
I am receiving the same error On my server everything was working fine Some time ago file upload ended to work I was using version 2.0.2 of ckfinder, I upgraded yesterday to the last version, same problem safe_mode is on on this server (I don't know if it was like this before, when everything worked) I am using ckfinder as Drupal module I can send the result of phpinfo() if you need
I tested on Firefox 5.0 (Linux), Opera (Linux) and Internet Explorer 8 (Windows XP) with and without flash uploader.
@florinn this problem looks like related with Flash upload which was added in CKFinder 2.1 (latest version). This is a reason why your CKFinder has this issue after upgrade to new version. It can be related with server configuration. To this moment I can't reproduce, but I am still searching .
EDIT: @florinn Please send me your phpinfo() results.
I had the problem before I upgraded ckfinder, I think it was because a change in the server configuration However it it solved now, the hosting company helped me:
The php function flock() was desactivated They activated it and now the upload is working (with flash uploader)
Hi @amitpatel , this error is related with flash uploader and server configuration. It can be related with some settings of server. Please read and try what others do. To this moment I can't reproduce this issue.
I still have the problem on both Chrome and Firefox, and I've disabled Flash plug-ins in the only file (config.js) that it works in - which doesn't seem to actually make any difference (see enclosed screenshot in FF) IE only works because it disables the Flash plug ins, which as someone points out, means that you can't upload multiple files. But it didn't disable anyway in either Chrome or Firefox. All browsers on autoupdate so they should be current versions
Hope you can help and make this work!
PHP 5, Drupal 7, CKeditor whatever is the current version, CKfinder also the current version
to the CheckAuthentication() method in config.ascx. If the form can decrypt the AuthCookie it must be the authenticated request and not an imposter. Anyone see any problems with this?
I had exactly the same problem and have fixed it. In my case it turned out to be a file permissions problem. It was uploading an image twice but not removing the 'temporary' version of the file - hence two copies of the uploaded image followed by an error message.
I used my website hosting control panel to change the file permissions to allow deletion and then it was OK.
if you want to see if you have the same problem try the following steps.....
In the CKEditor window click on the 'Image' icon then select 'Browse Server'. Click on one of the images using the right-mouse button and select delete. If it bring up an error message saying there's a file permission problem then there's your answer!
n.b. I am using the ASP versions of CKEditor & CKFinder and have not disabled Flash.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
can you send me some screenshot with this bug ?
Please check in Firebug console (Firefox add-on ) if there are any errors. Please also check in Firebug Net tab if all request are correct.
This problem occurs with all images/files or only with some kind of it ?
Re: Error #2038 when uploading
Attachments:
Re: Error #2038 when uploading
http://www.judahfrangipane.com/blog/200 ... -io-error/
http://www.uploadify.com/forums/discuss ... or-2038/p1
http://board.flashkit.com/board/showthread.php?t=742315
http://www.macewan.org/2008/08/21/error ... -io-error/
Would be nice if you could write back if any of those links helped
http://www.checkupdown.com/status/E401.html
Re: Error #2038 when uploading
Re: Error #2038 when uploading
I have only asked to switch of flash plugin to check if this is the source of the problem. Now that you have confirmed it would be nice to find a solution.
The problem is that none of our colleagues has this bug so we are unable to reproduce it and give you any advice. We can only suspect that this has something to do with your server/application configuration.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
Use the PHP session with session_start() and CheckAuthentication() which check a session var to return privilege.
I changed the config paths (I use an absolute URL as $baseUrl and not the default upload directory). After that, some chmod 775 on the upload dir.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
1. adminaspx/ckfinder/config.aspx
public override bool CheckAuthentication()
{ return (Request.IsAuthenticated);
}
2. Web.config
<location path="adminASPX">
<system.web>
<authorization>
<allow roles="Administrators"/>
<deny users="*"/>
</authorization>
<customErrors mode="Off"/>
</system.web>
</location>
«Request.IsAuthenticated» does'nt give back true in case of uploading wit Firefox, otherwise it is giving back true.
Wrong settings on the server or mistake in the CKfinder code? Keep looking...
Re: Error #2038 when uploading
Maybe your session cookie is lost ? Can you check this ? There was always problem with Flash and Cookies...
Re: Error #2038 when uploading
Re: Error #2038 when uploading
On my server everything was working fine
Some time ago file upload ended to work
I was using version 2.0.2 of ckfinder, I upgraded yesterday to the last version, same problem
safe_mode is on on this server (I don't know if it was like this before, when everything worked)
I am using ckfinder as Drupal module
I can send the result of phpinfo() if you need
I tested on Firefox 5.0 (Linux), Opera (Linux) and Internet Explorer 8 (Windows XP) with and without flash uploader.
Thanks
Re: Error #2038 when uploading
EDIT:
@florinn Please send me your phpinfo() results.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
However it it solved now, the hosting company helped me:
The php function flock() was desactivated
They activated it and now the upload is working (with flash uploader)
Re: Error #2038 when uploading
Note: I am using java version of ckFinder 2.1.
-Amit
Re: Error #2038 when uploading
this error is related with flash uploader and server configuration. It can be related with some settings of server. Please read and try what others do. To this moment I can't reproduce this issue.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
Re: Error #2038 when uploading
IE only works because it disables the Flash plug ins, which as someone points out, means that you can't upload multiple files. But it didn't disable anyway in either Chrome or Firefox.
All browsers on autoupdate so they should be current versions
Hope you can help and make this work!
PHP 5, Drupal 7, CKeditor whatever is the current version, CKfinder also the current version
Attachments:
Re: Error #2038 when uploading
if (Request.UserAgent == "Shockwave Flash")
{
FormsAuthenticationTicket authTicket = FormsAuthentication.Decrypt(string.Concat(Request.Form.GetValues("ckfcookie_.AuthCookie")));
return !authTicket.Expired;
}
else
{
return Request.IsAuthenticated;
}
to the CheckAuthentication() method in config.ascx. If the form can decrypt the AuthCookie it must be the authenticated request and not an imposter. Anyone see any problems with this?
Re: Error #2038 when uploading
On further testing it seems you sometimes have to get the AuthCode from here instead:
Request.Params.GetValues(".AuthCookie");
Re: Error #2038 when uploading
Re: Error #2038 when uploading
Request.UserAgent == ("Adobe Flash Player 10")
Re: Error #2038 when uploading
Re: Error #2038 when uploading
I used my website hosting control panel to change the file permissions to allow deletion and then it was OK.
if you want to see if you have the same problem try the following steps.....
In the CKEditor window click on the 'Image' icon then select 'Browse Server'. Click on one of the images using the right-mouse button and select delete. If it bring up an error message saying there's a file permission problem then there's your answer!
n.b. I am using the ASP versions of CKEditor & CKFinder and have not disabled Flash.
Re: Error #2038 when uploading
Re: Error #2038 when uploading
http://docs.cksource.com/CKFinder_2.x/D ... leshooting
Re: Error #2038 when uploading
Perhaps it will help someone else to.