Could not initialize class javax.media.jai.JAI

2011-08-20 Thread Andrei Kondrashev
Hi everybody, A few days ago, one of our Web-sites that we have hosted by Yohost started display error: Could not initialize class javax.media.jai.JAI when ImagePaste() function is executed. The code was working for a long time. It still works correctly on my development server. This is

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
Because on page load, there _is_ no country. Your second drop down is firing immediately. Try adding bindOnLoad=false to the second drop down. On Fri, Aug 19, 2011 at 8:27 PM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Have a pair of related select lists...first one is country, then when

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
Forgot a detail in my original email, this is CF9. Ray, I had also tried that, still no dice. I also found the post on your blog about the JavaScript workaround, and that didn't work, either. Not sure if it makes a difference, but this form is inside of a modal CFWINDOW. Here's the output

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
You sure you tried bindonload=false? It looks to still be firing with no value. You can try editing your CFC's getStates method to make country optional. If the value is blank, return nothing. On Sat, Aug 20, 2011 at 7:22 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Forgot a detail in

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
I changed the getstates CFC so that it would return something no matter what (there should always be at least one record); setting bindonload=false on the state dropdown caused the same error. The problem now is that when a country gets selected, the state dropdown doesn't change at all.

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
When you change the country, do you see network requests (use Firebug or Chrome Dev Tools). On Sat, Aug 20, 2011 at 8:07 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: I changed the getstates CFC so that it would return something no matter what (there should always be at least one

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
No, none beyond the original request. On Sat, Aug 20, 2011 at 9:13 AM, Raymond Camden raymondcam...@gmail.comwrote: When you change the country, do you see network requests (use Firebug or Chrome Dev Tools). On Sat, Aug 20, 2011 at 8:07 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote:

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
This online where we can see? On Sat, Aug 20, 2011 at 8:46 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: No, none beyond the original request. On Sat, Aug 20, 2011 at 9:13 AM, Raymond Camden raymondcam...@gmail.comwrote: When you change the country, do you see network requests (use

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
Yes indeed. I also enabled ajax debug window for the moment. http://www.framebuildersource.com/site/framebuilders/?cfdebug Click on the Advanced Search link. On Sat, Aug 20, 2011 at 9:55 AM, Raymond Camden raymondcam...@gmail.comwrote: This online where we can see? On Sat, Aug 20, 2011

Anyone care to review this image handling process?

2011-08-20 Thread Rick Faircloth
This is part of a component method for handling uploaded images that I've recently revamped. Thoughts on this? cfif len(trim(arguments.staffPhoto)) cffile action = upload filefield = staffPhoto

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
I don't think it's the cfwindow, when I go to your search page, http://www.framebuildersource.com/site/framebuilders/search.cfm, I get the same error. Thinking... On Sat, Aug 20, 2011 at 9:07 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Yes indeed.  I also enabled ajax debug window for

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
Can you share (via Pastebin) the code for search.cfm? On Sat, Aug 20, 2011 at 9:36 AM, Raymond Camden raymondcam...@gmail.com wrote: I don't think it's the cfwindow, when I go to your search page, http://www.framebuildersource.com/site/framebuilders/search.cfm, I get the same error.

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
Certainly. http://pastebin.com/u/pruckelshaus I pasted the other 2 related files for good measure. Thanks so much for the assist. On Sat, Aug 20, 2011 at 10:37 AM, Raymond Camden raymondcam...@gmail.comwrote: Can you share (via Pastebin) the code for search.cfm? On Sat, Aug 20, 2011 at

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
I see bindonload is still true .Can you try making it false? (Just for the state one.) On Sat, Aug 20, 2011 at 9:44 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Certainly.  http://pastebin.com/u/pruckelshaus I pasted the other 2 related files for good measure. Thanks so much for the

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
OK, changed to false on the web site. I made it true because of the change I made to the data CFC that would have it returning a default value. On Sat, Aug 20, 2011 at 10:50 AM, Raymond Camden raymondcam...@gmail.comwrote: I see bindonload is still true .Can you try making it false? (Just

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
Insane. Still broken. Do me a favor - copy your search.cfm to search2.cfm, and strip out EVERYTHING but the cfform, and the 2 cfselects. Strip this guy to the bare bones. In general when crap like this goes down, I go nuclear on the code and remove every single possible line I can. (As an FYI,

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
Well, ripped everything else and now it works (except for the first record in the query being a null when there are no null records, but I should be able to figure that out). Click on the 2 next to advanced search. I'll start putting stuff back in until it breaks again. Thanks for the help,

Re: cfselect bind not working...

2011-08-20 Thread Raymond Camden
Cool - let us know. On Sat, Aug 20, 2011 at 11:33 AM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Well, ripped everything else and now it works (except for the first record in the query being a null when there are no null records, but I should be able to figure that out). Click on the 2

Re: Anyone care to review this image handling process?

2011-08-20 Thread Justin Scott
This is part of a component method for handling uploaded images that I've recently revamped.  Thoughts on this? Is there anything specific you're concerned about with that code? It looks pretty straightforward, is uploading the image to a temp folder (presumably outside the webroot so that's

Re: cfselect bind not working...

2011-08-20 Thread Pete Ruckelshaus
So, turns out that it didn't like the table I was using to provide structure to the form. Take it down to the simplest table possible, and it still threw the error. Bug? On Sat, Aug 20, 2011 at 2:12 PM, Raymond Camden raymondcam...@gmail.comwrote: Cool - let us know. On Sat, Aug 20, 2011