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
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
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
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
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
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
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
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
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
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
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
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!
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
~|
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
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
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.
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
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
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
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
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
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
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
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
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
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
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,
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
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!
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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.
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
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
(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
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
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
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
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
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
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
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
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:
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!
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
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
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
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
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
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
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!
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
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
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
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
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
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
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?
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
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!
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
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
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
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
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
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
1 - 100 of 458 matches
Mail list logo