I've followed the threads I was able to find regarding thumbnails showing up at ? marks, but I haven't been able to find a solution to my problem yet, so I guess I'll go ahead and ask.
I have ckfinder 1.4.1.1 loaded on my server. It's a hosted windows box, so I don't have access to any of the IIS configuration information. The host is usually pretty good to work with in terms of config changes, but sometimes a bit slow.
As stated the problem I'm running into is that the thumbnails are not showing up, or more correctly not getting created. If I create thumbs on my computer and upload them to the _thumbs directory they show up fine. I have Images.Add "component", "Asp.Net" set in my config file, and the path for CKFinderTempPath set in config.asp and web.config.
I downloaded the wizard app to try and help debug this, and it's failing 4 of the tests. The first one I get the following error:
Checking for the ability to use CreateObject has failed: Error: the call to server.CreateObject("Msxml2.ServerXMLHTTP.6.0") has failed with error number -2147221005 and message '006~ASP 0177~Server.CreateObject Failed~Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. '
Re: thumbnails show up as ? mark
Please, try this: in ckfinder\core\connector\asp\utils\image.asp change the classId removing the version (line 730):
from
Re: thumbnails show up as ? mark
The original errors #1 #3&4 are still there, I get a new error though in place of #2.
After the first error I now get:
Re: thumbnails show up as ? mark
Ups, yes, the change in the wizard must be done also in the assets\check.asp file, search for "Msxml2.ServerXMLHTTP.6.0" and change it to "Msxml2.ServerXMLHTTP"
But the problem is the new error:
The trick used here is to call the same server to an asp.net page, the way to do it is to use the same domain name exactly just to prevent problems in shared hosting, but in this case, the resolution of the domain is the public IP of the server, but the firewall/router of that server doesn't allow to do a loopback using that IP, and so it can't call itself.
I know that I tried previously to add an extra header so it would call directly the 127.0.0.1 IP but with the correct Host name, but I wasn't able to make it work. Unfortunately modifying the hosts file is the only solution that I know for this problem. You should try to explain it to the hosting company, maybe you're lucky as this doesn't mean installing anything, just a little change in one configuration file.
(The usage of "Msxml2.ServerXMLHTTP.6.0" instead of using it in a generic way was a try to check if using some specific version I was able to use the special call that I described)
Re: thumbnails show up as ? mark
I did however notice a couple of things in CKFinder after the hosts file update.
1) the ? marks now show up much faster then before
2) when I upload I now get an error where before I was just getting a timeout.
Re: thumbnails show up as ? mark
Please, point them to this thread or to the output of the wizard, I can only guess what's the correct solution for your server, maybe they can try to set
But they are the ones that can tell what's exactly the correct configuration. Anyway, I would like to know what's their response because I can try to improve the wizard to offer that suggestion (it will be easy if the code that I'm suggesting works)
Re: thumbnails show up as ? mark
The ASP.NET version of CKFinder works fine on this server, including thumbnails. What's the difference between the thumbnail creation between the ASP.NET version, and the ASP version with Asp.Net selected as it's thumbnail creation method?
Would it be possible to use the ASP.NET versions thumbnail component instead? If it is, would it be safe to use it without the CheckAuthentication?
Thanks again.
Re: thumbnails show up as ? mark
The asp connector is trying just to tell an asp.net script: "Hey please, take care of resizing this pictures as I'm not able to do it", but your problem at the moment is that it isn't able to send that message to itself, and that's why it doesn't work.
It's not possible to do a "Include" of an asp.net script inside an asp page, so the trick that we are using here is the only one that I know of in order to use the mixture of environments.
Re: thumbnails show up as ? mark