Re: Solr Suggestions

2015-02-06 Thread Mary Jo Sminkey

 I can't get it to 
 accept more than 4 custom fields, and it won't let me use the new CF10 
 custom field syntax for custom fields either (where you can do 
 something like catalogid_i versus custom1). 

Just to follow up on this, I did figure out that the problem with the dynamic 
custom fields was I was testing it originally with more than 4 fields. It 
appears that although the information on improvements to Solr in CF10 say there 
is no limit on custom fields, that is not the case, I verified that you get an 
error with more than 4 on both Standard and Enterprise. 

Still checking on some of the other issues. I did also find that the errors I 
was getting with type on the cfsearch tag was due to the docs never having 
been updated from Verity, even though a bug was reported by someone else for 
this reason (using a value the docs say is the default!) and someone else 
commented on the page on the wiki that it doesn't seem to work in CF10. It 
would be nice if someone reviewed and fixed those docs once in awhile. 

Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360080
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Suggestions

2015-02-06 Thread Mary Jo Sminkey

 The one I'm frustrated with though is the status fields. They are 
 supposed to include a keywords struct and keywordScore when the 
 suggestions criteria is met


Just to follow up more on this, I continue to be frustrated trying to work with 
the Solr on our CF10 install, it's almost like we have a completely different 
CF version just for Solr. I can't get it to accept more than 4 custom fields, 
and it won't let me use the new CF10 custom field syntax for custom fields 
either (where you can do something like catalogid_i versus custom1). 

Anyone seen this? We have all the latest CF updates for 10 installed. Is there 
a difference in Solr support between Standard and Enterprise?


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360061
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Suggestions

2015-02-05 Thread Mary Jo Sminkey

one thing to bear in mind, if you are using shared hositng. If any customer
on the server deletes their collection (i.e. deletes the files or folders)
this completely breaks SOLR for everyone else.
for this reason I would avoid using SOLR unless it will be running on
dedicated hosting.

Yes, this is a dedicated, enterprise level client. 

Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360059
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Solr Suggestions

2015-02-04 Thread Mary Jo Sminkey

I'm working on an integration with Solr specifically to use it to help lookup 
word suggestions for our searches. However, the cfsearch docs are definitely 
driving me nuts. First, the type attribute doesn't seem to work at all in 
CF10, even though it's clearly included in the documentation for that version. 
Using it though just throws errors. Not that there is very useful information 
on how to use it, anyway. 

The one I'm frustrated with though is the status fields. They are supposed to 
include a keywords struct and keywordScore when the suggestions criteria is 
met, but I have never seen these show up even when I am getting suggestions. It 
would be very helpful to have, since this is why we are implementing Solr in 
the first place. but I'm baffled as to how you get these to come up. If they 
are no longer included, as seems to be the case with the type attribute, it 
would be nice if Adobe actually updated the docs to include that information (I 
know, pie in the sky for us to actually have accurate docs!) 


Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360054
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Solr Suggestions

2015-02-04 Thread Mary Jo Sminkey

I'm working on an integration with Solr specifically to use it to help lookup 
word suggestions for our searches. However, the cfsearch docs are definitely 
driving me nuts. First, the type attribute doesn't seem to work at all in 
CF10, even though it's clearly included in the documentation for that version. 
Using it though just throws errors. Not that there is very useful information 
on how to use it, anyway. 

The one I'm frustrated with though is the status fields. They are supposed to 
include a keywords struct and keywordScore when the suggestions criteria is 
met, but I have never seen these show up even when I am getting suggestions. It 
would be very helpful to have, since this is why we are implementing Solr in 
the first place. but I'm baffled as to how you get these to come up. If they 
are no longer included, as seems to be the case with the type attribute, it 
would be nice if Adobe actually updated the docs to include that information (I 
know, pie in the sky for us to actually have accurate docs!) 


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFFormProtect

2013-05-16 Thread Mary Jo Sminkey

No need to assume - just open up dev tools and look at the response after
you post a comment to my blog. ;)


LOL, well that would require work on my part to come up with a meaningful reply 
to something. ;-)  But that's what I ended up returning and it works perfectly 
now. Some day when I have more free time I may redo the whole thing to move it 
into remote method calls so that it matches all the other Ajax on the site but 
I needed a quick solution and this does the job. 


Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355724
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFFormProtect

2013-05-08 Thread Mary Jo Sminkey

I'm using it with Ajax. View source on my blog. (Yes, I'm being lazy. ;)


Not a problem, I am too. ;-) Thanks, that looks like it will give me a good 
jump start on doing it.  

Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFFormProtect

2013-05-08 Thread Mary Jo Sminkey

 Not a problem, I am too. ;-) Thanks, that looks like it will give me a 
 good jump start on doing it.  
 

Thanks Ray, got enough from looking at your front-end code to figure it out, 
only need a few minor tweaks for the cfformprotect code itself. I'm used to 
doing all my ajax to CF components via remote methods rather than directly 
posting to a cfm page which seems to be the easiest way to go in this 
situation, but was easy enough once I figured out that you just need to output 
the JSON directly to the page (I'm assuming you're just using a struct with a 
success var and any text message). Not my preferred way of doing Ajax but guess 
that's just a style thing. 

Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355663
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFFormProtect

2013-05-07 Thread Mary Jo Sminkey

I know a lot of us here love cfformprotect as a captcha replacement. I'm 
wondering though if anyone has used with for forms submitted via Ajax. I'm 
assuming it's going to need some tweaking but thought I'd see if anyone has 
done this, and how much work was involved.

Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355659
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Custom 404 with CF10

2013-04-15 Thread Mary Jo Sminkey

the requirement to enable detailed errors is actually with IIS7 not CF10,
so if this was causing your issue it would have affected CF9 as well.
Did you also upgrade from IIS6 to IIS7 by any chance ?

Nope, for whatever reason we were not having the same issue on IIS7 and CF9

However you can set this option on a folder by folder basis with IIS7, you
do not have to enable detailed errors for your entire sire.
so on the folder that contains your customer error page simply disable that
option.

Good idea, I tried that and it does seem to work, thanks!

Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Custom 404 with CF10

2013-04-13 Thread Mary Jo Sminkey

We're looking at moving to CF10 but have run into an issue we can't seem to 
figure out. It's not a problem on CF9 but is a deal breaker for us with CF10 
unless we can find a solution. 

Basically our site uses a custom 404 handler, which is set up in IIS using the 
Execute URL as it calls a .cfm page that goes through our MVC controller. The 
problem we've run into is that to get CF errors, we have to set IIS to return 
detailed error messages and so it won't let us set a custom 404. If we turn off 
the setting in the CF10 admin for returning 404/500 headers, that messes up our 
ability to see 500 server errors when there's a problem with an Ajax call which 
we use a lot to internal components. 

I've goggled this issue and spent hours searching for a solution, to no avail. 
It seems the only way around it is to use a static 404 which is not what we 
want to do. We use extensive SEO rewriting so we can't use the CF 404 setting 
either. Anyone else figured out a way to do this? 

Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Custom 404 with CF10

2013-04-13 Thread Mary Jo Sminkey

Why not have the standard cf 404 handler redirect to your custom error page?

Because it needs to handle situations that are not only CF 404s. 


Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Custom 404 with CF10

2013-04-13 Thread Mary Jo Sminkey

then do the same with the error template as well ?



No, I mean they are not seen as ColdFusion errors of any kind. We'd have to 
make changes to our site and how the SEO is handled, etc. to make sure that 
anything that could conceivably be a 404 would get sent to CF in some way. 

I also seem to recall that using a cflocation to get a 404 handler could be 
tricky in terms of correctly returning a 404 header to the browser. Is that not 
the case? 

Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Wait for File to Get Written

2012-05-30 Thread Mary Jo Sminkey

maybe use cfdirectory and look at 'dateLastModified' to wait for it to be
2~5 old (so you know it has finished writing to it)

Well, not sure that has any benefit by itself versus just checking if the file 
exists. 


I would make a retry loop, say 5 times with a sleep in between
and break out if file found

Okay, yeah this is more the piece I was looking for, a way to find the file 
quickly if it is there, while also ensuring that the page won't hang waiting 
for it if it doesn't complete. Yeah, this should work nicely, thanks!

Mary Jo




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Wait for File to Get Written

2012-05-30 Thread Mary Jo Sminkey

 If you just add a timeout to your cfexecute, CF will wait and 
 continue
 when the legacy program is ready.

Cool, yeah that looks like a good addition to this particular process. 


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Wait for File to Get Written

2012-05-29 Thread Mary Jo Sminkey

I've run into this a number of times the last few months and couldn't find 
anything in the archives that really seemed to address it. It's a common enough 
issue that I'm sure people have dealt with it, and I'm curious what solutions 
you might use. 

Basically I have situations where I need to wait for ColdFusion to finish 
creating a file before displaying it. The legacy code I'm working with using a 
cfexecute to run an executable file, and it uses this code snippet:

cfloop condition=NOT FileExists(theFileName)/cfloop
cfinclude template=viewFile.cfm

So basically it loops until it finds the file and then sends it down via a 
cfcontent tag. 

I'm not particularly fond of this as if for any reason the executable fails, 
you end up waiting for a timeout situation. In the past I've used a sleep() to 
just pause the page but that's not particularly ideal either.

Any better options, or maybe a combination of the two?


Mary Jo


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351359
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems verifying integers

2012-05-22 Thread Mary Jo Sminkey

Here you go if you want to vote on it:

https://bugbase.adobe.com/index.cfm?event=bugid=3169196


Thought I'd post a followup on this, Adobe closed it saying they wouldn't fix 
this because it would cause backward compatibility issues. Personally I can't 
imagine using isValid(integer) and WANTING currency symbols and commas to go 
through, so guess I'll just have to keep writing my own functions for doing 
this. It's annoying sometimes the illogic that is often left in a language in 
the interest of backwards compatibility. You end up with stuff like this that 
just can't even be used for its intended purpose.

Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351282
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Problems verifying integers

2012-04-18 Thread Mary Jo Sminkey

I'm curious if anyone has run into this and has a better solution. 

I have a site with a variety of search fields. One of these fields allows for a 
search string...if string value, it searches matching description/text fields. 
If an integer, it matches the primary key value. Pretty straightforward. The 
problem is that I haven't found a really reliable way in CF to make sure that 
the integer is indeed a DB-safe integer, so hack attempts constantly cause 
errors to get thrown. isNumeric() lets way too much stuff through. So I 
switched to isValid(integer) which did a little better. But it seems to still 
allow stuff like commas and even currency symbols, passing them through as a 
valid integer. LSParseNumber will fix the commas, but it throws errors for the 
currency symbol. So I've had to resort to using a RegEx to strip out any 
non-numeric stuff. Does this seem odd to anyone else? I would think there would 
be some way these functions would work to prevent passing invalid data to a 
cfsqlparam with type cf_sql_integer but I couldn't find a way that didn't allow 
something illegal through. 

FYI, I believe this is a CF8 server, so maybe this kind of issue has been 
corrected? 

Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350778
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems verifying integers

2012-04-18 Thread Mary Jo Sminkey

Thanks guys, sure there's other ways to FIX the number, but that wasn't exactly 
my question. I just find it weird that isValid(integer) would consider 
$123,123 as a valid integer valuesuch that I have to fix it in the first 
place! That sure wouldn't pass in another language, and yes, I know this is not 
a strongly typed language. I just find it frustrating, that this function 
doesn't seem to perform what it's intended to so I have to add additional logic 
to see if what was entered really was an integer or not. 

Justin...you're right about huge numbers passing too...I think that was 
actually why I switched from isNumeric() which allowed those through to the 
isValid() function which doesn't.


Mary Jo


 I would think there would be some way these functions would
 work to prevent passing invalid data to a cfsqlparam with type
 cf_sql_integer but I couldn't find a way that didn't allow something
 illegal through.

If I know a variable is supposed to be an integer (usually a primary
key), I will do:

cfparam name=url.id default=0
cfset url.id = abs(val(trim(url.id)))

This will force the value to a positive integer or zero.  If you just
want to test the variable to see which search type should be
triggered:

cfif abs(val(trim(url.id))) eq url.id)
   !--- Is positive integer ---
cfelse
   !--- Not so much ---
/cfif

If people are entering values that could include dollar signs and
commas that need to be considered, a regex to remove non-numeric
characters (expect perhaps a period) would probably be the better
choice, or at least a replaceList() to remove the commonly used but
undesired characters before passing it through a sanitizer.

At one point (years ago) Google was hitting pages and throwing very
large numbers into some integer URL variables which caused an
out-of-range error and I even added a min() function with the
resulting sanitized value and 20 as the parameters to keep
the value in range, though I haven't seen that for a while, but
something to keep in mind if you see an error like that come up.


-Justin 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350781
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems verifying integers

2012-04-18 Thread Mary Jo Sminkey

I agree that seems a little wonky.  I ran the code below to test some
values with ColdFusion 9 and the results are included in the inline
comments:


Cool, thanks for verifying that it's equally as wonky on later versions. In my 
case, it's not a huge deal to sanitize what passes, I mostly was annoyed that I 
had to add additional code just to get it to work the way it seems to be 
intended. Maybe I'll put in a bug report on it

Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350789
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems verifying integers

2012-04-18 Thread Mary Jo Sminkey

 Cool, thanks for verifying that it's equally as wonky on later 
 versions. In my case, it's not a huge deal to sanitize what passes, I 
 mostly was annoyed that I had to add additional code just to get it to 
 work the way it seems to be intended. Maybe I'll put in a bug report 
 on it

Here you go if you want to vote on it:

https://bugbase.adobe.com/index.cfm?event=bugid=3169196


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is this CF tutorial still valid?

2012-02-12 Thread Mary Jo Sminkey

I'm about to begin work with PayPal's IPN
and, although I think I've got the gist of the
process, I was wondering if this tutorial is still valid...

http://tutorial23.easycfm.com/

Pretty much yes, other than where to find the IPN settings at PP (now under 
Profile - My Selling Settings I believe). There's a LOT this doesn't cover but 
the code should basically still work. 


Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Opinion: Abuse of session variables

2012-02-03 Thread Mary Jo Sminkey

Race conditions certainly exist.  Specifically though, race conditions
involving session variables which can be resolved using CFLOCK, are
relatively uncommon.

In my personal experience anyway...

+! 

In my experience anything that would really be effected by race conditions 
shouldn't be in session scope to begin with.


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Hiding email address from spiders

2011-10-11 Thread Mary Jo Sminkey

I had the same problem.. what I did is store the email addresses in 
a database and then replace the email link with a link to a feedback 
form on your website. When people want to email someone, they click 
the link, fill out and submit the form. They never get to see the 
actual email address.

This is my preferred approach as well, just don't show the emails but integrate 
them into a contact form and link to that. It's far better IMO than using an 
image which is a real pain for a user of the site to have to copy an email out 
of. I do find cfformprotect works great for preventing form spam and is FAR 
more user friendly than nasty captchas. 


Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348051
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ecommerce - need it to allow vendors to manage their own inventory sections - any recommendations?

2011-09-26 Thread Mary Jo Sminkey

The best test is to try both and see if your app works on them without
issue, and then look at their unique features.


Of course, there *is* information out there in terms of what they don't support 
that ACF does, you don't have to go to the trouble of running your app to find 
that out. Here's some Railo information:

http://wiki.getrailo.org/wiki/Tags_Not_Supported


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ecommerce - need it to allow vendors to manage their own inventory sections - any recommendations?

2011-09-26 Thread Mary Jo Sminkey

The best test is to try both and see if your app works on them without
issue, and then look at their unique features.

And unsupported functions:

http://wiki.getrailo.org/wiki/Functions_Not_Supported


Not sure if this is comprehensive, and you'd still want to test your app, but 
this is a good starting point to see if you are using anything that is known to 
not work. 


Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Standard License

2011-09-26 Thread Mary Jo Sminkey

 Not sure if this is comprehensive, and you'd still want to test your 
 app, but this is a good starting point to see if you are using 
 anything that is known to not work. 

Oops, sorry about the messed up subject. Didn't realize LastPass was filling 
that in from the last thread I replied to online. 


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347704
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Ecommerce - need it to allow vendors to manage their own inventory sections - any recommendations?

2011-09-08 Thread Mary Jo Sminkey

Need to set up an ecommerce site that will allow every vendor to manage
their own items for sale while still being published to one central website.


If you're looking for a ColdFusion solution, my software CFWebstore does have 
features to help support this. There's a special permission to restrict product 
admin access to only the current users' products that can typically be used for 
this kind of function. Depending on your exact needs you may need to do a 
little additional tweaking of the code but it does most of the heavy lifting. 


Mary Jo Sminkey
http://www.cfwebstore.com

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347340
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Mura or Control Panel

2011-08-23 Thread Mary Jo Sminkey

Speaking of Mura I went to www.houseoffusion.com to look up a Mura 
discussion list but discovered that the site is down. 

I didn't see anyone mention it but the best place for Mura support and help is 
their online forum:

http://www.getmura.com/forum


- Mary Jo

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Duplicate attribute error

2011-07-14 Thread Mary Jo Sminkey

 I'm invoking a component method to do an update when a form is posted 
 (CFMX7). However, when I try to invoke the method I get the error:
 
 A duplicate attribute METHOD has been encountered. Attributes with 
 the same name cannot be provided more than once. 

I know this is a really old thread, but I have a customer that is getting this 
error and same situation, there doesn't seem to be any reason for it. Did you 
ever figure this out (or does anyone else know what the cause might be?)


MJS

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346228
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Duplicate attribute error

2011-07-14 Thread Mary Jo Sminkey

Do you have an attribute called method in the CFC ?
method is a reserved word as it is used to specify the Method in the CFC you
want to call, so you cannot have your own attribute called method as well.


Actually, I finally tracked it down. It was due to a CFHTTP tag inside the CFC 
that had two method attributes on it. 


MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346230
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Duplicate attribute error

2011-07-14 Thread Mary Jo Sminkey

 
 Actually, I finally tracked it down. It was due to a CFHTTP tag inside 
 the CFC that had two method attributes on it. 

I should add, in case anyone else runs into this, that the error CF reported 
was for the cfinvoke line. But the actual problem was down inside the 
component. 


MJS

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346231
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF vs. Java Web Developer

2011-06-24 Thread Mary Jo Sminkey

Good point MJ. I have some exceptionally productive developers who are
working from home - largely single. I'm betting they would agree with you.
FYI - have you checked out Sean's site? :D

LOL, I might just do that... 


MJS

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF vs. Java Web Developer

2011-06-23 Thread Mary Jo Sminkey

I have been far more productive since I moved out of the house and into a
proper office, as has my wife (who works for me).


And for many of us, the opposite is the case. Being single and without kids, I 
actually have far fewer distractions at home than at work where there are often 
people chatting and talking on the phone, etc. around me. I also have developed 
some chronic back problems from sitting in a chair all day so in an office 
situation, have to get up and stretch on a regular basis, whereas at home I 
have more options for positions to work from and can work longer stretches 
without having to interrupt my work. 

Everyone's situation is unique and I think it's great that some employers 
realize this and are bending on the telecommuting issue. 


MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345587
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: VPS Hosting

2011-06-07 Thread Mary Jo Sminkey

I hope they're better than when I used them about 3 years ago.  I had
nothing but problems and virtually no response from the owner when
my server went offline. Hopefully, their service has improved and
everyone that's using them is getting better service and support, but
my experience was anything but positive.

Same here, I went through the same major outage 3 years ago with AHP, and it 
was particularly the total lack of response that drove me off. 


That's the reason I ended up with KickAssVPS.

+1 

Nothing but praise at this point for KAVPS. I sometimes forget I even have a 
server there, it's been so problem-free.



--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345112
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-05-13 Thread Mary Jo Sminkey

 Just checking in Mary. Were you able to get past this? Have you
 considering contacting Adobe for official support?
 
 No, we had to drop the use of Solr at this time, 


Just FYI, I did submit a bug report on this, if anyone wants to comment or vote 
on it. 

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId=86807

While I can batch up the data a single users add and run a single cfindex 
function to update all of it at once, I can't find a way to prevent issues with 
other types of concurrent cfindexes happening, such as multiple users or my 
unit tests. Cflock doesn't seem to lock the entire Solr indexing process so 
wasn't any help. 

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId=86807


--- Mary Jo


 




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344507
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) Shameful

2011-05-11 Thread Mary Jo Sminkey

The AIR demo appears to just be a Flash movie demonstrating integration with
CF.  :)  I've tried to update my Flash plugin but, alas, Adobe says updates
happen automatically.

Since you mention having the Flash debug version, I'll pass on a tidbit I 
discovered just yesterday. The regular Flash and the debug version do NOT 
render code the same. I have a Flex application in development that was not 
working for my users but was working fine for me (at least in FF). Turns out 
that the code that worked on the debug Flash player that I had installed did 
not work in the standard player for some reason (it didn't like something about 
the way my authentication business class was written so just skipped right over 
it). So it's always possible if you see a problem in one or the other, that it 
might be specific to that player version. If it's not been tested and validated 
against the debug version, it's possible there's some issue that the developers 
might not have caught. 

Just an FYI to watch out for. If you have another browser with the standard 
Flash player, might be interesting to check it against that.


--- MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:37
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-05-10 Thread Mary Jo Sminkey

Just checking in Mary. Were you able to get past this? Have you
considering contacting Adobe for official support?

No, we had to drop the use of Solr at this time, it wasn't critical enough for 
this application to pay for a support ticket (and that involves a heck of red 
tape here and takes forever...this was a case of get it working asap). We're 
still using Solr for a lot of our data (documents, PDFs, etc.), but only the 
stuff that gets updated every night, and not the data that users are adding 
frequently. Unfortunately there just did not seem to be a way to index those at 
runtime as soon as they are added without having issues, and the users were not 
willing to wait for them to be indexed at specific time intervals (say run the 
indexing every x minutes) which would have been the best workaround. 


--- Mary Jo





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-11 Thread Mary Jo Sminkey

 To be clear - is this only for your unit tests? Could you possibly 
 use
 sleep() to slow things down a bit? That's a hack - but would allow 
 you
 to keep testing.

Currently it's only showing up on my unit tests, but that's only because I'm 
the only one using the application. If multiple people add data at the same 
time, I would expect to see it then as well. And I'm also just finishing up a 
process for adding a batch of these data objects at once, that as well will 
cause it to bomb. So yeah, I can throw a long sleep in there to get my tests to 
pass (I'm having to sleep for at least a minute for each cfindex right now for 
it to get by this), but that's not going to fix the problem for production use. 

--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-11 Thread Mary Jo Sminkey

According to this you should be able to comment out caching altogether in
the solrconfig.xml file.

Cool, thanks I'll try that. The info I had from the Solr folks was to set 
autowarmCount=0 for all the caching, but that didn't seem to have any effect. 
Maybe removing caching completely will do it. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343646
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-11 Thread Mary Jo Sminkey

 Cool, thanks I'll try that. The info I had from the Solr folks was to 
 set autowarmCount=0 for all the caching, but that didn't seem to have 
 any effect. Maybe removing caching completely will do it. 

Sigh, nope I commented out the three types of caches in the config file and 
still get the error. Tried lowering the size on them as well, but even with 
sleeping for a minute after every cfindex, I still get the error. The only 
thing that prevents it is upping the setting for maxWarmingSearchers to 
something like 10, then I don't hit the limit. But not sure this is going to be 
a valid solution, since if a user tries to add a batch of say, 20 items, I can 
expect to still crash on this. It's looking like I won't be able to use Solr 
for the data at this point, at least, not if I want it immediately available in 
a search. I'm not sure I have enough time late in this project to build some 
kind of other module for Solr to do this, it's more important right now to just 
get it working, so that looks like just doing a plain SQL search of the data 
(yuck). 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-11 Thread Mary Jo Sminkey

Same here and that is basically what we are doing today with Verity.  This
whole thread though is making me want to get started on Solr testing since
the plan was eventually to migrate from our Verity solution to Solr.


Hhm, I wonder if I just need to switch over the Verity then? Didn't really want 
to redo all the syntax for my searches, but if it works
Yeah, I agree it seems like there should be *some* way around this! It's fairly 
easy to test this, by putting some cfindex code into a loop. But it appears to 
have a lot to do as well with the size of the collection, so you have to be 
sure to load it with enough records to see the problem. My collection has a lot 
of data, which is why I didn't see this earlier in testing when I had a small 
sub-set of data loaded, the Solr searches would do their work quickly and move 
on. It was only when I started loaded my entire set of data that I started 
seeing the problem, as Solr then was taking a lot longer to create a new 
searcher, run the index code, and then destroy the searcher after it was done. 
So they pile up very quickly if you are running a bunch of cfindex tags in one 
request. I could probably figure out a way to bulk load my batch functions, but 
that still leaves me with problems if multiple users are adding data at once. 


--- Mary Jo







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343655
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-11 Thread Mary Jo Sminkey

 What are you loading into your index (queries or documents)?  Can you 
 
 provide a code snippet of your process?


Just results of a query, so nothing real earth-shattering. Just wanted to use 
Solr to search all my long text fields that hold a considerable amount of data 
(users have a search interface to select which tables to search, I'm using 
categories to handle that). The majority of the data gets updated and reindexed 
nightly, this is the one type of data that users can add and so needs to be 
updated at runtime. My cfindex tag looks like this:

cfindex collection=#docCollection# action=update body=thedata 
category=IMPACT custom1=grant_id custom2=fy key=key 
query=local.qryImpacts /


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343664
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-08 Thread Mary Jo Sminkey

Well, by doing some research on the Solr boards and lists, I was able to figure 
out the problem. It appears to be due to CF committing after every cfindex tag 
and this causes Solr to open a new searcher and auto warm it (load from 
cache). If you are committing more frequently than the warming process, these 
searches pile up and you hit the error. So if you have a page that runs a lot 
of cfindex tags (as my unit tests were) you can easily hit this error. Problem 
is, I'm not sure how we can work around this easily. I tried setting the 
autoWarmCounts to 0 to see if I could reduce the startup time (and since my app 
does a lot more indexing at runtime than searches so slow startup is not a big 
issue) but I still hit the error when the number of searches exceeded the 
maximum set. I could try setting the limit for warming searches higher (setting 
it to 10 for instance fixes the problem with my tests) but that supposedly is a 
bit of a performance killer. In cases where my users are adding a batch of 
these data elements that I'm indexing, I'm almost certainly to bang into that 
limit again. In my case, it may mean we simply cannot use Solr for this, unless 
there's someway to batch the commits and just do one single one at the end of 
the request. What we need is something like a cftransaction tag for the cfindex 
tag. 

--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343624
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-06 Thread Mary Jo Sminkey

Well, technically yes - there was a CHF after 901.

Sorry, I meant for Solr in particular. I can try the hot fix (don't recall if I 
installed it or not) but I'm not seeing anything listed that would effect Solr:

http://kb2.adobe.com/cps/862/cpsid_86263.html


MJS 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343570
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-05 Thread Mary Jo Sminkey

Interesting. It almost sounds like a load issue. Was the site under heavy load?


No, not at all. This was just running some unit tests locally. Basically the 
tests add a new data point, index it to add it to the collection, then run a 
search for it to make sure they are being picked up properly. I'm concerned 
that we'll see it even more when the site is actually being used, so wondered 
if I need to put cflocks around the index tags? I wouldn't have thought that 
was needed with an update action but I'm guessing this is happening when 2 or 3 
tests run concurrently. 


--- Mary Jo

 







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343542
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-05 Thread Mary Jo Sminkey

Mary Jo,

These are options you can set in the INI files of Solr - along with standard
JVM options. If you have a high traffic solr install you will need to fine
tune it to run according to the amount of traffic you have. 

As I mentioned in my other reply, this is *not* happening under load, just with 
localhost testing, so there seems to be some other reason for it. It seems that 
if there's a max thread setting, it should wait until one becomes available? 
Rather than just throwing an error. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343543
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-05 Thread Mary Jo Sminkey

I shouldn't imagine adding cflocks will do much good. The error is to
do with the nature of your collections and the way in which the Solr
server is configured (potentially it's JVM settings and or the server
settings themselves). I think your best bet would be to ask the Solr
folks, they'll be in a better position to help you out I should
imagine.

Just FYI, I've not configured anything up to this point to do with Solr, I'm 
just using it as it installs with ColdFusion. We've seen the same error on my 
local machine as well as our test server, so seems like there's some problem 
with how CF9 sets it up if I have to go in and modify the server because it's 
throwing these errors right out of the box.


--- Mary Jo







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343545
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Errors

2011-04-05 Thread Mary Jo Sminkey

Are you running the latest CF9? There were Solr fixes past 9.0.0.


CF9.01 on all boxes, so yes, unless there are other hot fixes past that. 


MJS



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343551
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Solr Errors

2011-04-04 Thread Mary Jo Sminkey

Has anyone else seen these kinds of errors? I keep getting them on CF9.01 when 
I run cfindex tags to add new data to a Solr collection.

org.apache.solr.common.SolrException: 
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
 
Error_opening_new_searcher_exceeded_limit_of_maxWarmingSearchers4_try_again_later
 request: 
http://localhost:8983/solr/impacts_docs/update?commit=truewaitFlush=falsewaitSearcher=falsewt=javabinversion=1
 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343539
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flex and CF Sessions (sort of)

2011-03-16 Thread Mary Jo Sminkey

The way I've done this in the past was to store the credentials on the flex
client and re-authenticate the user with these using the CFLOGIN framework.
 This way the responsibility for continuing the session is on the flex side
of things.  

I'd really rather not do this as it would mean using a login specific to the 
application. My current method uses their local machine login (which changes 
every 90 days)which is far more user-friendly as they don't have to remember a 
second login that's only for this tool. But it does require having to handle 
the authentication in CF. And right now, it's working great, no timeout issues 
and very little need for the users to do anything if it wasn't for the 
issue with the error handling 

--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flex and CF Sessions (sort of)

2011-03-16 Thread Mary Jo Sminkey

 if it wasn't for the issue with the error handling 

It does appear that this is a verified bug in CF 9.01: 

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83525

Boy it's frustrating when new features are crippled with bugs that make them 
unusable! I'll have to play around with their suggested workaround and see if 
there's any way I can get that to work, as it's the one stumbling block for me 
with going this route.


-- Mary Jo






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343064
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flex and CF Sessions (sort of)

2011-03-16 Thread Mary Jo Sminkey

 I'll have to play around with their suggested 
 workaround and see if there's any way I can get that to work, as it's 
 the one stumbling block for me with going this route.
 

That suggested workaround is a joke, no way I'd do the massive amount of 
recoding needed to use that. Their suggestion is to catch any errors and append 
the message to your return variables. Even if that worked in my framework 
(which is doesn't) it would require pretty much recoding all the business logic 
to look for these special error messages and handle them (before any other 
processing is done). I'm not even sure there's a way I could handle any 
unexpected exceptions this way, but it certainly wouldn't be easy and would 
probably mean dumping the entire Flex framework to do so. It's not even close 
to a reasonable solution. So looks like using onCFCRequest is out of the realm 
of possibilities.

MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Flex and CF Sessions (sort of)

2011-03-16 Thread Mary Jo Sminkey

  I'll have to play around with their suggested 
  workaround and see if there's any way I can get that to work, as 
 it's 
  the one stumbling block for me with going this route.
  
 

We decided to just look at adding a timer in Flex to keep the session alive. 
This should work well enough for our needs. I'm not particularly thrilled at 
not being able to verify the user is still logged in, but as long as we keep 
pinging the CF side from Flex, there's no reason they shouldn't be. Anyone 
tried doing this? I never like *relying* on timers but seems to be our best 
approach for now. Since this is an intranet app, and not one that needs a lot 
of security, we don't have to be hugely concerned about users trying to get 
around the authentication. 


-- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343067
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Flex and CF Sessions (sort of)

2011-03-15 Thread Mary Jo Sminkey

Okay, so we have a flex application running on top of ColdFusion. Basically 
going through CFCs as web services for whatever it needs. But I'm having a hard 
time coming up with the best way to handle sessions. I don't really store much 
in the session, other than just the user ID and whether they are logged in or 
not. I need to handle the user authentication on the CF side and then tell Flex 
the result. All easy enough when the app loads up. 

But I've been trying to make sure that on each CFC request, I am checking that 
they are still logged in and authenticated. I do have some code to ping CF and 
keep the session active, but just in case that isn't working, I need to make 
sure they are still active. I've been playing around with the onCFCRequest and 
got this working for the most part. If their session had timed out, it will 
just re-authenticate them and make sure they're still an active user before 
passing off the request to the CFC. Works great up to this point. 

The problem I'm having is that if they aren't logged in, or if an error is 
thrown inside a CFC and I have the event handler rethrow it, it's not throwing 
it to Flex correctly. Instead of the error type of FaultEvent that Flex 
accepts, it's throwing Server.Processing and instead of the normal error 
details, I always get one that says An exception occurred while invoking an 
event handler method from Application.cfc. The method name is: OnCfcRequest. 
The actual FaultEvent and details that I *should* be getting are buried further 
down inside the fault that Flex is getting (in extendedData.rootcause). So I'm 
not able to do any custom error handling in Flex or show the user the 
Flex-based login failed message. The fault handling worked fine before I 
added the onCFCRequest, so seems to be a bug when you use this. 

Anyone else played with this new event handler method much yet with Flex and 
find a solution for this? Or is there a better way of syncing sessions between 
Flex and ColdFusion that I can look at instead? I'm just not sure of a good way 
for Flex to know if the user is still logged in without running a separate 
authentication check before every service call which seems kind of kludgy. 


-- Mary Jo




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions [spamtrap bayes][spamtrap heur]

2011-03-09 Thread Mary Jo Sminkey

in our case it was. client had a console page with secure/un-secure bits mixed 
together  it was throwing off users w/IE7 after the hotfix was applied. while 
they work out what is actually wrong, adding that JVM argument fixed that 
issue.


Cool, I'll see if my host can apply this, or I do have access to a CF7 server, 
so might see if the same problem occurs on it. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions [spamtrap bayes][spamtrap heur]

2011-03-09 Thread Mary Jo Sminkey

 in our case it was. client had a console page with secure/un-secure 
 bits mixed 
 together  it was throwing off users w/IE7 after the hotfix was 
 applied. while 
 they work out what is actually wrong, adding that JVM argument 
 fixed that issue.
 
 
 Cool, I'll see if my host can apply this, or I do have access to a CF7 
 server, so might see if the same problem occurs on it. 
 


Drat, my host says they haven't applied that hot fix yet, so I assume that 
means adding the JVM argument isn't likely to fix anything, if the hot fix is 
what causes the issue. I think my next step is to test on the CF7 box and see 
if we see the same behavior there. 


--- MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions [spamtrap bayes][spamtrap heur]

2011-03-09 Thread Mary Jo Sminkey

 Drat, my host says they haven't applied that hot fix yet, so I assume 
 that means adding the JVM argument isn't likely to fix anything, if 
 the hot fix is what causes the issue. I think my next step is to test 
 on the CF7 box and see if we see the same behavior there. 

Okay, things work fine on the CF7 box, so at least we've narrowed it down to 
probably a server issue of some kind. At least I've got a better idea of where 
to look. 

--- Mary Jo




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

I'm having a really frustrating issue with an application and cannot figure out 
where the problem is. The client is getting randomly logged out of the system, 
basically the session is getting reset. So far, not all that unusual, I've 
certainly seen this kind of issue before. But the weird thing is, the CFID and 
CFTOKEN never change! When I track them, they stay the same from request to 
request, but all the session variables get reset anyway. I tried removing any 
code that would remotely have any possibility to do this (no logout function, 
etc.), but no luck, nor have I been able to definitely nail down the 
circumstances in which it occurs. It doesn't happen on all their computers (1 
in 13 they say show the problem), and typically only happens on IE (definitely 
IE8, we haven't really tested anything else). They said they see it on FF too 
sometimes, but I've not been able to verify that, both Chrome and FF on the 2 
effected users I worked with worked fine. I've not been able to replicate it 
myself, even using the same version of IE, many other users don't see it, and 
it just stumps me how the session is getting reset when the session token 
doesn't change, and when any code that would do so has been stripped out. 

Any ideas?? 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342827
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

 Check the CF Administrator under memory variables and see what the MAX 
 timeout is for Application  Session. Also, check the value on your 
 CFAPPLICATION tag. Make sure you didn't change the session timeout 
 there to something smaller than what you wanted. 

No, those are all fine. And if those were set incorrectly, it would certainly 
effect a much wider set of users than what we are seeing. It's a very small 
percentage that are seeing this. And it doesn't seem to be a particular amount 
of time that they lose their session, I would sometimes be able to reload a 
page several times before it'd drop me, and sometimes it'd happen immediately. 
On the effected computers though, it pretty much happens by the time you've 
clicked through 3 or 4 pages. Sometimes it would happen pretty much every time 
immediately. 

It's the failure of the CFID/CFTOKEN to change that's particularly confusing to 
me, since any other time when I've seen these kinds of issues and the session 
is being lost, they'll change on every request. Although I realized today I was 
only looking at a dump of the session vars, not the actual cookies, so maybe 
for some reason the session is getting dropped and then reinitialized with the 
same cookies?? Grasping at straws here...


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

If that checks out, I'd try to track their session through the web logs. We
recently had the same issue with randomly expiring sessions. It turned out
that the client had a proxy that was changing their IP every minute or so;
that, combined with or custom anti-session hijacking checks, was the cause
of the lost sessions.

I did ask them if they were behind a proxy or firewall or something similar, as 
something like this did occur to me as a possible cause but the information I 
have to go on is that they have users in multiple locations seeing it, and at 
least in one case they have many other computers in the same office that don't 
show the problem and only a couple that do. We're not using any IP checks for 
hijacking, other methods are in place for that (which I did remove temporarily 
just to make sure it didn't have anything to do with it...it didn't). It's 
really, really baffling. 

Oh, FYI, the server is running CF 9.01 

--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

 How about dropping a cflog tag with some useful info into 
 OnSessionStart 
 to see if the sessions is actually restarting or not?

Hhm, currently it uses application.cfm so that isn't available, I'd have to 
look at how easy it would be to switch it if this really becomes necessary to 
debug it. I'm also going to see if I can get access to an earlier server 
version to see if it's specific to CF9. 

But I did some diagnostics when I was testing that certainly seemed to indicate 
that the session was being lost when you clicked through to the next page. If I 
commented out the code that initialized the user ID in the session, when I 
clicked through to the next page, it would throw an error that it didn't exist 
when it hit a place in the page that used it. Since nowhere in the code do I 
ever *remove* that variable, that's a pretty good indication that the session 
is not persisting.


--- Mary Jo




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

Separate domains?

www.domain.com vs domain.com ?

I've been caught by that before, and as far as cookies go, they see them as
totally separate.


No, no changes in the domain. Also not using SSL. I can reload the same page 
and get the session to drop (just takes a few tries sometimes).


MJS 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Losing Sessions

2011-03-08 Thread Mary Jo Sminkey

shot in the dark, but just had issues w/some IE7 browsers (not FF, chrome, 
etc.) 
losing sessions after applying latest hotfix which seems related to this:

* A JVM property was added in case you want to completely switch off the fix 
for the Session Fixation issue ( Bug 86378) which prior to this security 
release 
changed Session behavior in some environments. Add the following JVM property 
–Dcoldfusion.session.protectfixation=false in the JVM Arguments for the 
Coldfusion Server.

http://kb2.adobe.com/cps/890/cpsid_89094.html

Well this definitely seems to be more in the ballpark! I'm not entirely sure I 
understand this note though, why would you want to switch off the fix? Is the 
fix itself the cause of the session loses? 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Change in ColdFusion management

2011-02-15 Thread Mary Jo Sminkey

 Perhaps, but I think there needs to be a serious discussion about this. 
 Adobe went about a weird way in announcing it and I guess hoped it 
 wouldn't get much notice as a result. This is one of the biggest 
 decisions they have made with ColdFusion in several years.

I find it comical how determined some people are to say that the decisions made 
are good or bad as there's so much that can spin either way. For instance, 
Adam says that all his suggestions for CF X were signed off on. Sounds great, 
right? And it very well may be, I'm excited to see what they do with it. But 
will it come at the expense of getting some of the bugs and problems with CF 9 
fixed reasonably soon? Hopefully not, but it's really just a matter of wait and 
see. 

Likewise the business changes. Maybe moving the management team to India will 
be GREAT, maybe not. I certainly couldn't predict which solely on that tiny bit 
of information alone. I've certainly seen management changes done with full 
intentions of improving business processes failing completely, and other times 
be a huge success. I certainly have concerns about it (and has nothing to do 
with whether the folks in India are talented and smart) who knows which one 
this will be? I think Adam's done a great job, and particularly being the face 
of Adobe here in the US, meeting with companies and customers, and I wonder if 
we will still have that kind of personal connection with everyone over in 
India. But all of that has little to do with the greatest concerns I have with 
CF, whether they will truly put some marketing muscle behind it and try to play 
some catch-up with these other languages and help growing the developer 
community (and job market) for it. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Coldfusion Hosting

2011-02-01 Thread Mary Jo Sminkey

Can anyone recommend a decent yet cheap web host for ColdFusion? 

Right now I'm hosting my site at DreamHost (Simple wordpress as CMS site). 


I didn't see anyone mention this, but for cheap hosting, but good service, you 
may want to consider looking at Railo hosting through Alurium.com. 

Personally I wouldn't touch GoDaddy hosting with a 20-foot pole. CF or 
otherwise. Horrible experiences with them. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341791
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: why is cf_builder so expensive?

2011-01-27 Thread Mary Jo Sminkey

Well, this sure was a fun thread to scan through (ha!) It's funny how adamant 
people can be about defending their position. Well, here's my two cents, for 
what it is worth. 

I've used both CFBuilder and CFEclipse, and I personally decided not to put the 
money out for a copy of CFBuilder at this time, because *for what I do* and how 
I write my code, I didn't feel it added enough value to warrant the cost *at 
this time*. I've seen some previews of v2 and I almost certainly  will buy it 
when that version comes out (well, maybe after the first updateI usually 
avoid x.0 releases). I don't mind holding onto my cash and waiting for that 
release when it comes, versus buying now and then having to pay for an upgrade. 
It certainly wouldn't be the first time I've passed on a v1 release and waited 
for the v2 with more bugs worked out and more features included. It's no 
different than any other software decision I make in terms of cost-value to 
melike when I decided years ago that CF Studio was worth the price they 
charged ($250 I believe - which I thought was highway robbery...and then used 
that software for years and years!) CFEclipse for now does what I need, they've 
continued to improve it (the cfscript color coding for instance is definitely 
better than shown in that comparison PDF...and CFB is hardly perfect in this 
respect either). A lot of the features that CFB touts (like introspection or 
the SQL editor) don't tend to work for me the way my projects are set up, or 
particularly when I'm using Coldspring for everything. And many of the 
extensions I tried didn't work since they only work with tags (and I code 
pretty extensively in script). Someone else however might try it and find they 
can use these features extensively and thus the product would absolutely be 
worth the price. Just because the price is too much for me and how I code 
doesn't mean it isn't totally worth it for someone else, or that the next 
version won't be worth every penny to even more of us. Complaining about the 
price isn't likely to make Adobe change it, so if you don't like it, vote with 
your pocket book. But I don't think it's a decision someone else can make for 
you...you have to take the time to *really* evaluate the product and whether it 
truly helps with your productivity. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341542
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: URL variable security

2011-01-24 Thread Mary Jo Sminkey


 Anything and everything received from external, untrusted sources must
 be considered suspect.

I'd add that even if you might not have to worry about a security breach, you 
still probably want to scrub such variables to prevent errors from being 
generated (if for instance you expect it to be a numeric value) as anything on 
the URL (if forward-facing) is going to get a constant barrage of garbage 
against it that can load your logs up with errors if you aren't handling them. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341136
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: index.cfm being hacked (now application.cfm)

2010-12-10 Thread Mary Jo Sminkey

 (changed the ftp password for the umpteenth time today as well). 

Hhm, if they are getting in via FTP, which is certainly a strong possibility as 
well, you might want to try turning it off for that site, or at least 
restricting it to only the IP addresses that use it. I have seen numerous 
attacks over unsecured FTP accounts, so only use SFTP and restricted by IP 
these days and it's definitely helped greatly reduce such issues. 

--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey

 You might have them  tag like this  ~word~, then parse for that when
 building your search.


Not sure what you mean by parsing for it? When I use a word like this in my 
data (with tildes around it), and then search for it (including the tildes), I 
get no results back from Solr. It does match on just word with no tildes, but 
that's not what I'm looking for, they don't want to return every instance of 
just the word, but some way to mark it as a unique version of that word to 
find. I'm thinking maybe I can take the special characters and convert them to 
a text string of some kind? It'd be kind of awkward, but not sure how else to 
do it. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338984
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey

I'm confused - why not just add a form field to their content editor
where they can enter the tags there?

Unfortunately, we have no access to that system, I can only pull the data that 
has been entered into it. 

--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338987
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey

Ok - so then if you use tildes like Muareen suggested, you can parse
for them when you index the data. Do you have control over the code
that does the indexing?

Yes, I'm pulling all the data and then indexing it to make it available for my 
client to search, so they can find the specific records in the external system 
that have had these tags entered into them. So what would I do with the 
tildes to make Solr find them? Or ideally, my client wants to use asterisks 
(***HIGHLIGHT) they already sent an email out with the list of tags to their 
users before checking with me if that would be okay, so if I can make that 
work, they'd be really happy.  


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338998
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey

 What I mean by parsing is that you use the tildes to determine what 
 to
 search for by extracting what is between them and using that to build
 your search.

That's not going to give me what I need, because I need to find *only* the 
results that use the tildes, not the records that might just have the word by 
itself. Otherwise, they could just search on the plain word and not bother with 
special characters at all. 


--- Mary Jo





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339018
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey

Right, so parse the text for the ~ words. You can use rematch to get
them easily enough. You can then use that list of words as your body
when you add it to your index.

Well, that would work I guess if they *only* wanted to search for those words, 
but they want to be able to search on any of the content text as well. So I 
needed someway to make them unique in the search body. 

What I decided to do was to just use a Regex to convert the asterisks to X's so 
that in the search index it becomes XXXHighlight or whatever codes they want 
to use. Then I do a similar replacement when running the search. That seems to 
be working.


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339025
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Sanitize input data for SQL

2010-11-09 Thread Mary Jo Sminkey

cfset city = model(Cities).findOne(where=id=#id# AND
some_other_param=#param#)

If you know it should only accept a numeric value, you can just throw in a 
Val() function and that will ensure nothing but numbers get passed ( e.g. 
id=#Val(id)# ). If you need to allow strings, and can restrict to just 
alphanumeric, you can do something similar with a Regex or other custom 
function. It's not ideal, but it's certainly better than leaving it 
unsanitized! 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339028
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


A search with special characters in Solr

2010-11-08 Thread Mary Jo Sminkey

I have an unusual request from my client, they want to be able to have their 
people in the field put tags in their reports that they can search on, using 
some kind of special character to tag a word as being one of these special 
search phrases. They wanted to use asterisks to do this (such as ***HIGHLIGHT ) 
but obviously that won't work. I'm wondering if there's any other kind of 
character I could let them use that Solr would pick up as part of the work and 
index, but so far my tests have not resulted in much success. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

 What is in the log file? CF needs a JDK, not a JRE.

JDK?? Are you sure about that?? I'm not sure what it would do with the JDK. 

I'm basically trying to follow the instructions in this blog post to track 
memory leaks in the JVM:

http://www.ghidinelli.com/2009/07/16/finding-memory-leaks-coldfusion-jvm

I tried the Win 64-bit version of Mission Control JRocket for Java 6 but CF 
won't start when it's pointed to that. So I tried some of the others, same 
results. 

It looked like a pretty neat way to track memory leaks, if you can get it 
working. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

 What is in the log file? CF needs a JDK, not a JRE.

Oh, and I don't get anything in the log file(s) it doesn't get anywhere close 
to logging anything. 


MJS


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337981
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

The JDK seems to be required because the stock JRE doesn't come with 
all the components need to run the services.  There's a JRE inside the 
JDK, which is all you'll really need once you've extracted/installed 
it.  I've found this to be the case with all of the SUN builds as well.

Hhm, okay that makes sense, it does appear the downloads from the Oracle page 
do include a complete JDK, so I don't think that's the issue I am having. 

When I start CF from the command line the error just says No known VMs. Check 
for corrupt jvm.config. I am pointing java.home to the jre directory under the 
jrocket install, it just doesn't seem to like it. 


--- Mary Jo

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

Yes, CF requires the JDK because it includes the server-specific
version of jvm.dll. I don't remember enough about JRockit to know
whether it has the same sort of JVM/JDK division.

Ah okay, thanks for the info. This does appear to be part of the jrocket 
install that I have. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337987
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

I usually have to try a couple different directories before I find the right
one... and make sure your slashes are pointed the right direction :)

I'm not really seeing much in the way of choices to point to, but I did try 
both the top level directory as well as the JRE one (which is what seems to 
match what the CF runtime has). And yes, I do have the slashes going the right 
way (front slashes, but I did try backslashes too just on the off chance that 
was what it wanted). 

I'm thinking there's either something in the default JVM args that it doesn't 
like... or there is some other library that is missing or it doesn't like. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

I usually have to try a couple different directories before I find the right
one... and make sure your slashes are pointed the right direction :)


Just to verify I have the right install, for CF9 on a Win 7 64-bit, I *would* 
use the 64-bit for Java 6, right? Seemed obvious, but just in case I'm missing 
something


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338006
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

I usually have to try a couple different directories before I find the right
one... and make sure your slashes are pointed the right direction :)


Just to verify I have the right install, for CF9 on a Win 7 64-bit, I *would* 
use the 64-bit for Java 6, right? Seemed obvious, but just in case I'm missing 
something


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338007
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

I don't want to be contrary - but your error almost has to be related to not
finding the jvm.dll right? If it were args wouldn't it be some other sort of
error? Something more related to GC or whatever that would show up in the
out log?

Well, I'm just guessing, I really don't know enough about messing with the JVM 
to know, so you are probably right. Just kind of running out of ideas...


What about... are you showing extensions in your folder options? 

That's why one of the first things to do on a new install is to go to folder
options and show everything - extensions, paths, system files... everything.

Yup, agreed, it's just about the first thing I do on a new computer. So nothing 
in that respect to help me. ;-) 

I'm off now for the weekend, so will probably just throw in the towel on it for 
the time being. 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338028
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 with JRocket JRE

2010-10-08 Thread Mary Jo Sminkey

 That depends on whether you are running the 32-bit or 64-bit CF9.

Oops, sorry yes I am indeed using the 64-bit CF9. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338029
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9.01 with JRocket JRE

2010-10-07 Thread Mary Jo Sminkey

Is anyone using the JRocket JRE (with Mission Control) on ColdFusion 9.01 (I'm 
on Win 7 64-bit, standalone)? I'm having trouble getting ColdFusion to start up 
when I point it to the JRocket JRE and not sure what the problem is. I'm 
leaving out the mission control config in the args just to make sure I just get 
it working with the JRE but not having much luck. I tried a few different 
versions, but still can't get the CF server to start with any of them. 

Any ideas?

--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337940
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What version-/source control are you using (if any)?

2010-09-29 Thread Mary Jo Sminkey

What I like about git is the ability to work offline and still commit
changes, the lightweight branches and generally easier merging.

I also like that you have a copy of the entire repository, if you use hosting 
it makes it very easy to change hosts. 

Currently though I am using the hosted Jira Studio (which is quite awesome if 
you are a small group, as the pricing is very reasonable for the quality of 
tools you get) and it only includes SVN hosting so that's what I use. It's 
generally pretty good although you really want to avoid having to reconcile 
multiple changes to a file as it's a real pain to do in my experience. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Struct for Applicaton Datasource setting

2010-09-22 Thread Mary Jo Sminkey

 The CF documentation is a good place to start:
 
 http://help.adobe.com/en_US/ColdFusion/9.
 0/CFMLRef/WSd160b5fdf5100e8f790124b112a3b8b2adb-8000.html
 
 this.datasource={name='cfartgallery', username=user, 
 password=passwd}


Believe me, I *looked* long and hard in the docs and never found that page. It 
sure is well hidden, and none of the higher up pages on application settings 
have been updated with this information. I actually *had* tried 'name for the 
datasource name just as shown as well, and was still getting the error. 

It turned out that the server had *not* been updated to 9.01 as we thought it 
had...so duh! Always love when it's something obvious 

--- Mary Jo




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ORM and many to many relationships

2010-09-21 Thread Mary Jo Sminkey

When you cfdump an ORM entitiy, it tries to show _everything_. You can
control how many levels are displayed by using the top attribute.

I agree that writedump really can be problematic when working with ORM 
objects...but I've not seen that the top attribute helps. According to the 
docs, it sets levels for structures...not objects. And that's been my 
experience as well, it doesn't do anything for ORM objects if you are trying to 
dump them without converting to something else first (some of my objects just 
crash the server if I try to dump them due to this). I think there's a feature 
request or two to this regard in the CF bug database. 


--- Mary Jo



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337272
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Struct for Applicaton Datasource setting

2010-09-21 Thread Mary Jo Sminkey

I posted this over on the CF-ORM list on google, but not much luck, so thought 
I'd see if any of you smart HOF folks know. ;-) 

According to the CF 9.01 release notes, you can now use a structure
for setting the application.datasource setting. I really would like to
do this for an ORM application I'm doing, as we use a single Oracle
database for our servers, and each application has its own
schemaso typically we just have one db and each application
has a specific username/password to connect to its own schema.  But there 
doesn't seem to be any documentation or example anywhere on how to do this, and 
I'm not having much luck trying to figure it out. I tried this:

this.datasource = {datasource = 'oracle_db', username='schema',
password='password' } ;

And all I got was an error from ColdFusion that it couldn't cast a
struct to a string. So clearly that's not the way to do it. 

So any idea how to do this? 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF9 Solr Search issue

2010-09-13 Thread Mary Jo Sminkey

I've run into a frustrating issue while trying to use Solr search in CF9. I'm 
not sure if the Verity has the same problem, but basically the problem is that 
I have 3 different queries I want to index into a single collection and if I 
purge the collection first, it is refusing to index all three. The records come 
from fairly difference sources, so not easy to combine, I'm using categories to 
mark the record type so my search interface allows the user to select the scope 
they want to search in. The code basically looks like this:

cfindex collection=#variables.collection# action=purge

 Code to Retrieve the 3 different document types to index 

!--- add documents to collection ---
cfindex collection=#variables.collection# action=update body=doc_text 
category=doc_type_code custom1=id key=key query=local.qryDocs1 /
cfindex collection=#variables.collection# action=update body=doc_text 
category=doc_type_code custom1=id key=key query=local.qryDocs2 /
cfindex collection=#variables.collection# action=update 
body=doc_text1,doc_text2,doc_text3 category=doc_type_code custom1=id 
key=key query=local.qryDocs3 /

Depending on the order that I run the cfindex tags, I only get one or two of 
the queries being indexed, never all three. If however, I *don't* run a purge 
first, they always get indexed properly. 

The keys in each of these queries is unique from all the others, so I know 
that's not the problem. It's not a major problem that I don't run a purge, 
since these records pretty much never change (at least in terms of being 
removedI generally only have new ones, or changes to existing ones) but 
just not thrilled at having to leave it out, when it *should* work with it in 
there.

Any ideas? Anyone seen anything similar? 


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Shopping carts

2010-06-26 Thread Mary Jo Sminkey


 Saying that the USD 200,- that Mary Jo asks for her CFWebstore is too 
 much seems like an oddity to me. If the customer cannot pay USD 200,- 
 for the licence, how on earth is the customer able to pay for the 
 consultant/developer fees for installing and modifying the webshop if 
 needed?

Well, actually the price for a new first-time store is $400. 

And yes, that's a fair amount more than any of the various PHP carts, but even 
that price is barely enough for me to support future development with it. 
There's a reason there are so few CF carts out therethe amount of work 
needed to build and maintain even a reasonably good cart is pretty significant, 
and there just isn't a big enough market for CF apps to easily bring in the 
sales needed to support the work required. 

There's a lot of pitfalls to using open source software for ecommerce (and yes, 
I may be biased, but I also speak from lots of experience in this field). 
Anyone that has spent anytime with OSCommerce knows how convoluted the code has 
become from years of many people messing with it. And yes, there are tons of 
addons you can get for just about any payment gateway, shipper, etc. you might 
want to use, but what happens when they change their API and your client's 
store stops working? I can't tell you how many times I've had to redo code 
because of API changes, or how many times I've had to go onto a site to debug a 
particular server issue that they might be having that's causing things to 
break. I've got a pretty long to-do list at the moment of things that have to 
be updated, changed or added in the next several months to keep sites running 
properly. Most of my customers will agree...they are paying just as much for 
the support they get as for the code itself. Knowing that if something goes 
wrong or stops working, they have someone to go to that will get it working for 
them again. With something as mission critical as most ecommerce sites are, 
that's usually worth a few bucks to get, versus saving some up-front with OSS 
and then being on your own should any problems arise. 

I do agree that the fact that my code is still procedural though is a bit of an 
issue. Not that it's *bad* code, just not OO, and I've always felt one 
advantage it had was that I get a lot of web designers that really know very 
little CF but can do minor changes to the application since it's fairly easy to 
learn as is. But I definitely have seen more in the last year or so the need 
for a more enterprise-level solution that provides APIs and proper MVC 
architecture, that can easily plug into other apps and work directly with them, 
etc. There's a ton of stuff I have in the works right now but an almost 
complete rewrite of the code is a hard thing to fit in there in terms of time 
and money needed to do itparticularly since the only way to get it done in 
a reasonable amount of time while freezing other development is probably to 
hire some good developers to do a sizable chunk of the work.. The amount of 
time involved in refactoring an application of this size and complexity is 
definitely not trivial. But I'm looking into some possibilities and hopefully 
can continue to move this forward. I'm certainly open though to ideas for how 
we might get it done (and done well) without it costing tens of thousands of 
dollars!

One thing I have considered doing in the past and if we are able to update the 
architecture I might consider doing is having a free version that just includes 
the most basic functions needed for a shopping cart...and then the commercial 
version that would require purchase for the full suite of features. 

--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is it time for Adobe to Rebrand Cold Fusion?

2010-06-24 Thread Mary Jo Sminkey

With the limitations on budget in today's economic, few companies can
afford money for both.  I'd much rather the money be spent on
development.  Frankly, if I get another overpriced glossy marketing
packet from Abode when they are cutting staff in product development,
I'm gonna barf.

As someone that is in software development and sales myself I can say that you 
won't HAVE any money for development UNLESS you have sales. So you absolutely 
need to be putting resources into both. Sure, as a developer in CF I'd prefer 
that the bulk of resources go to development but that's just not reasonable to 
expect that all of it would. If in a bad economy that means cutting back some 
on development, that's understandable. 

If Adobe feels rebranding will help increase exposure and/or interest in the 
product, then it certainly should be looked at. I'm dubious that it would make 
much difference and can't imagine after all these years having to refer to it 
as anything but ColdFusion but if it might help uptake among certain markets, 
I can live with that. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334816
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF vs. ASP.Net

2010-06-21 Thread Mary Jo Sminkey

Again, I must make the argument why CF and not ASP.NET.


Brand New - In Defense of CF:

http://www.terrenceryan.com/blog/post.cfm/dear-coldfusion-skeptic


--- Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF CAPTCHA?

2010-06-01 Thread Mary Jo Sminkey

Before I go writing my own CAPTCHA generating method I just want to check to
see if CF has something to offer along those lines.

Frankly, I'd dump the user-unfriendly captcha and use cfformprotect 

http://cfformprotect.riaforge.org/


--- Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334209
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-11 Thread Mary Jo Sminkey

FWIW, I would be interested in running a store inside of Mura.  Will it be
like a Mura Plug in or just play nicely.

For now, I'm just working on getting it to play nicely...it doesn't really use 
anything right now that the plugin architecture would provide. That would also 
be fairly Mura-specific whereas I would like the integration to work in other 
CMS products as well. So a plugin would need to be something developed 
separately in the future, which I'll certainly look at but right now it works 
pretty well just including the app into a Mura page. We've just got a couple 
issues still to sort out (like getting SES links to work properly). 

If you're interested in following the progress, and/or helping test it out, 
feel free to contact me off-list.


--- 
Mary Jo Sminkey
mar...@dogpatchsw.com
CFWebstore, ColdFusion Ecommerce
http://www.cfwebstore.com 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-10 Thread Mary Jo Sminkey

 I briefly examined CFWebStore, but my 
 investigation did not find any type of API that would facilitate 
 integration. 

This is true, it doesn't really provide any API or web services to hook into 
currently. However, we have been working over the last month to modify the code 
extensively to allow it to run inside another application with minimal effort, 
and will hopefully be moving into testing fairly soon. I've specifically been 
working with Mura as the testing platform, but the changes should typically 
allow you to run it in a variety of other CMS products as well. 


--- 
Mary Jo Sminkey
mar...@dogpatchsw.com
CFWebstore, ColdFusion Ecommerce
http://www.cfwebstore.com



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Looking for Suggestion: e-Commerce/CMS Integration

2010-04-10 Thread Mary Jo Sminkey

FWIW, I would be interested in running a store inside of Mura.  Will it be
like a Mura Plug in or just play nicely.

For now, I'm just working on getting it to play nicely...it doesn't really use 
anything right now that the plugin architecture would provide. That would also 
be fairly Mura-specific whereas I would like the integration to work in other 
CMS products as well. So a plugin would need to be something developed 
separately in the future but right now it works pretty well just including the 
app into a Mura page. We've just got a couple issues still to sort out (like 
getting SES links to work properly). 

If you're interested in following the progress, and/or helping test it out, 
feel free to contact me off-list.


--- 
Mary Jo Sminkey
mar...@dogpatchsw.com
CFWebstore, ColdFusion Ecommerce
http://www.cfwebstore.com 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder Released!

2010-03-23 Thread Mary Jo Sminkey

Lets be fair Rick, ColdFusion Builder can and will be installed as a stand
alone product in a very large number of cases.


Truebut I wonder if that will continue to be an issue when installing 
updates, as it was with the betas. Normal Eclipse plugins update much more 
elegantly than CFB did, and what I've heard is this will continue to be the 
case. I don't know if it's true, but it definitely is something I would 
consider when moving to it off the normal Eclipse environment. 


Those of us that code CFML all day
everyday need a full featured product that works and is fast.  ColdFusion
Builder has that potential.


Potential yes, but it's not there yet, at least for me. I'd agree that things 
like better code folding, proper word-wrapping, better CFC introspection and 
other such features are things that *would* make it worth the price. It's 
certainly got some things that are very beneficial, the syntax checker I found 
to be excellent overall, and certainly if you are using some of the CF9 stuff 
like ORM, that would be a big plus. But then I look at some of the unresolved 
issues like the scrolling bug that just drives me nuts and easily kill my 
productivity when I run across it on a regular basis. I had lots of issues with 
the tag insight and tag help as well, that often inserted when I didn't want it 
to, and yet didn't come up when I needed. It's two steps back for me for every 
thing it helps with. 

I think the best approach they could have taken would have been what they did 
with Lightroom when that came out and offered it to all the initial buyers at 
$100 off (knowing that we were essentially still going to be beta testing it 
for them, and also being up-front from the start that it was an introductory 
price only good for a certain amount of time). That would have been a big way 
to support all the existing developers and getting them on board with the 
product, without committing themselves to a lower price going forward. Release 
a good enough 2.0 version and most users will pay to upgrade anyway. 

Having said that, I really am thrilled to hear that they are giving it for free 
for educational use. That certainly is a big step in the right direction and 
that along with educational use of the server really shows that they are 
starting to see that bringing in more developers is really critical for the 
future of ColdFusion. 




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332124
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder Released!

2010-03-23 Thread Mary Jo Sminkey

 Is the ColdFusion Server actually going to be free to 
 education systems? I had not heard that.

Yes, CF 9 is free for educational use, but good luck finding information on 
their website about it, it's pretty well hidden! I think you have to go into 
the product FAQs to even find mention of it, other than a phone number for 
educational licenses. It's a full fledged license, not the normal developer 
license that has IP restrictions, but of course is restricted solely to 
educational and not production use. The typical requirements for validating 
such as a student or faculty ID are required to obtain the license key. I do 
hope they are actually marketing it to colleges and such as it definitely is 
not well known information at all.

So yeah, if you have any association with schools or colleges, be sure to let 
them know that CF is now free for them to use in labs and such. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332135
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   3   4   5   >