Re: problem getting coldfusion and iis running together

2015-02-08 Thread Russ Michaels
I assume you actuaLLY CHECKED the cfm handler to make sure that is the actual path ? use the web config tool to enable and disable CF again on all sites, this should also fix the cgi rescriptions. On Sun, Feb 8, 2015 at 2:24 PM, Mark Spence wrote: > > Under the top level of IIS manager, under

Re: problem getting coldfusion and iis running together

2015-02-08 Thread Mark Spence
Under the top level of IIS manager, under "ISAPI and CGI restrictions", there was what I thought to be the proper entry. I went to the website in question and removed the inherited entry and added an explicit entry for C:\ColdFusion11\config\wsconfig\1\isapi_redirect.dllbut it still does not w

Re: problem getting coldfusion and iis running together

2015-02-08 Thread Russ Michaels
You need to make sure that the handler path on your site giving the error is added to cgi restrictions and set to allow. On Sat, Feb 7, 2015 at 23:04 PM, Mark Spence wrote: Thank you for the reply. I googled the error code and found this thread: http://forums.iis.net/t/1150673.aspx?Am+gettin

Re: problem getting coldfusion and iis running together

2015-02-07 Thread Mark Spence
Thank you for the reply. I googled the error code and found this thread: http://forums.iis.net/t/1150673.aspx?Am+getting+the+error+0x800704ec+in+webpage+while+calling+the+perl+script I looked in the "ISAPI and CGI restrictions" and there is an entry under "tomcat_Default Web Site" with the path

Re: problem getting coldfusion and iis running together

2015-02-07 Thread Russ Michaels
firstly you do not want to allow unspecified modules, you simply need to allow the ColdFusion handler. have you tried enabling detailed errors so you can actually see what is causing the 500 internal server ? On Sat, Feb 7, 2015 at 7:46 PM, Mark Spence wrote: > > Sorry, this is both a IIS a

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 fie

RE: Speech to text

2015-02-06 Thread Robert Harrison
What are you going to do with it? If you going to voice drive your websites it's an HTML issue. You can speak and it will record in test fields, etc. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118 Direct Line: 516-302-4345 www.aimg.com ~~~

Re: Speech to text

2015-02-06 Thread John Allen
Have you run Dragon as a service/headless app accessible via CF? Do tell. Don't understand the HTML issue part. Thanks Robert. On Fri, Feb 6, 2015 at 4:16 PM, Robert Harrison wrote: > > Yes. Dragon software seems to integrate rather well... but really it's not > a > CF issue, it more of an H

RE: Speech to text

2015-02-06 Thread Robert Harrison
Yes. Dragon software seems to integrate rather well... but really it's not a CF issue, it more of an HTML issue. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: John Allen

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Nathan, that's good to know. I will definitely have to look deeper into that. I have been using ColdSpring in a common way for so long that I have not looked over the documentation in a couple years. I may have had the ability all along and not known it. Thanks again! On Fri, Feb 6, 2015 a

Re: Passing arguments into base class

2015-02-06 Thread Nathan Strutz
You're using ColdSpring and you say CS is not autowiring the field on a base class? It's supposed to, FYI, it just is. If it does not, you can do it explicitly in your xml file (if you use the DefaultXMLBeanFactory.cfc). Also, make sure the autowire option is on, at least for this object if not fo

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Hi Jon, No, the utility class is not dependent on the base class. The base class has some universal methods that handle things like performing common preInsert and preUpdate ORM methods across all my persistent objects. My utility class has some common methods that I use for such things as encryp

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Byron, This is pretty much what I was thinking that I had to do, but was hoping to not have to explicitly call the super.init() method for every class that extends the base class. I'm just not sure if what I am trying to do is even possible. On Fri, Feb 6, 2015 at 2:23 PM, Byron Mann wrote: >

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Nathan, I am familiar with IoC and am using ColdSpring for this very purpose. However, it doesn't really work in this situation because the base class is never called directly though the beanfactory. The bean that is extending the base class may, but not the baseclass itself. This is my is

Re: CF10 setting comparable to CF9 maximum JRun threads?

2015-02-06 Thread Byron Mann
Do not believe this is a setting any longer. There are only options to set the template, flash, web service and CFC requests. Believe the defaults are 20,5,5,10 respectively. ~| Order the Adobe Coldfusion Anthology now! http://

Re: Passing arguments into base class

2015-02-06 Thread Jason Durham
I tried to answer this twice but neither of my previous emails went through. I'm trying from another account. Byron's last example passing the value from the child object to the parent definitely works. I'm not sure what's in your Util class, but the name of it seems to imply using it as a mixi

Re: Passing arguments into base class

2015-02-06 Thread Byron Mann
This might work, if I'm understanding. component name='baseClass' { variables.utilClass = ''; public any function init(utilClass utilClass){ variables.utilClass = arguments.utilClass; } } In your derived class you can do this. component extends='baseClass'{ public any function

Re: Passing arguments into base class

2015-02-06 Thread Jon Clausen
Dean, Is your utility class dependent on the the base class (e.g. - does it use “this” or the variables scope)?  If so, then you have a couple of different ways you can go: 1) use it as a mixin inside your component{} , and forego the class wrapper for the Utility methods entirely: incl

Re: Passing arguments into base class

2015-02-06 Thread Nathan Strutz
Dean, Byron's suggestion is a good one, and the right way to go unless you use an IoC container. It's an object-oriented programming idea where, when you come to the point of not wanting to instantiate all your objects. You invert the control of creating away from what normally creates them into

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Byron, I wasn't wanting my utility class to inherit my base class, I am wanting to inject the utility class into the base class. I'm trying to get away from explicitly defining the utility class from within the base class. Since the base class is not called directly, I don't know how to pa

Re: Passing arguments into base class

2015-02-06 Thread Byron Mann
Think you might want something like this in your base cfc? I think you'd not want the UtilClass to inherit the base class however, or this would lead to a circular reference and probably kill the app. component name='baseClass' { variables.utilClass = new UtilClass(); } On Fri, Feb 6, 2015 a

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

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,

Re: Solr Suggestions

2015-02-05 Thread Russ Michaels
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. On Wed, F

RE: PATH_INFO missing in CF 11

2015-02-05 Thread Robert Harrison
Is that ColdFusion or IIS? Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: Alex DeMarco [mailto:alex.dema...@suny.edu] Sent: Wednesday, February 04, 2015 2:23 PM To: cf-ta

Re: Iif() Evaluation Weirdness

2015-02-03 Thread Russ Michaels
Well if you want to try it out then try using nested evaluate(de('')) You can also achieve same using nested quotes like de("'stuff'") to avoid evaluation, But it just gets messy imho Iif() has its uses for simple inline evaluations, such as select lists or dynamic style classes but beyond that I

Re: Iif() Evaluation Weirdness

2015-02-03 Thread Dave Watts
> > > > > (IsDefined("importData.nickname")), > > > De(importData.Nickname), De(""))> > > > > CF is going to verify that the variable exists, because you're referring to > > it. > > > > That's what's happening here. Just because you're using the DE() function > > doesn't > > mean that CF isn't

RE: Iif() Evaluation Weirdness

2015-02-03 Thread Mosh Teitelbaum
Thanks Russ (and Dave). That's the route I ended up going to. Kind of annoying as I think the Iif() method produces cleaner code (and I had already written it) but it is what it is. -- Mosh Teitelbaum Russ Michaels wrote > If you are going to use a variable that doesn't exist then using this

Re: Iif() Evaluation Weirdness

2015-02-03 Thread Russ Michaels
If you are going to use a variable that doesn't exist then using this method will cause you issues as cf will still try to evaluate both sides of it even if false. There are ways round it using nested evaluate and de statements, but frankly it just becomes messy and unreadable, I used to do this

RE: Iif() Evaluation Weirdness

2015-02-03 Thread Mosh Teitelbaum
Dave Watts wrote: > > > (IsDefined("importData.nickname")), > > De(importData.Nickname), De(""))> > > CF is going to verify that the variable exists, because you're referring to > it. > > That's what's happening here. Just because you're using the DE() function > doesn't mean that CF isn't goin

Re: Iif() Evaluation Weirdness

2015-02-03 Thread Dave Watts
> I've run into a problem that I could use some new eyes on... I have a > function inside a CFC that accepts a > query (importData) and a series of indicators (nicknameInd) that indicate if > the value from the query should > be used (indicator = 1) or not (indicator = 0). In the below code, th

Re: Cannot access session variables in a cfc

2015-01-29 Thread Scott Stewart
+1 On Thu, Jan 29, 2015 at 12:53 PM, Russ Michaels wrote: > > I'll add for the sake of brevity, please don't put application wide cfcs in > session scope, as a hosting provider I have seen this kill a server. 5000 > users = 5000 instances of the cfc. > > In most cases using a mapping solves

Re: Cannot access session variables in a cfc

2015-01-29 Thread Russ Michaels
I'll add for the sake of brevity, please don't put application wide cfcs in session scope, as a hosting provider I have seen this kill a server. 5000 users = 5000 instances of the cfc. In most cases using a mapping solves the issues you have with cf not finding the cfc. On Thu, Jan 29, 2015 at

Re: Cannot access session variables in a cfc

2015-01-29 Thread Scott Stewart
Some of the dangers to this approach include: the amount of memory allocated to the JVM. If you stuff alot of data into the Application scope, it persists in the JVM allocated memory and it's not available to the rest of the system/application. You really can't change data in the Application sco

Re: Cannot access session variables in a cfc

2015-01-29 Thread John Pullam
For what it's worth, the approach of storing a global data item in the application scope seems to be legit according to the documentation. Here's what it said in the CF10 doc: Application variables are a convenient place to store information that all pages of your application might need, no ma

Re: Cannot access session variables in a cfc

2015-01-28 Thread Dean Lawrence
Hmm, that's odd as I use that setup on numerous sites and I never have to map the applicationproxy. I am currently using it on both ACF 10 and 11, but I started using this around 8 or 9 and haven't changed it for new version. I don't believe that you could use the root.(dot) notation in 8 or 9, wh

Re: Cannot access session variables in a cfc

2015-01-28 Thread Byron Mann
@Dean, Looked into this a bit further on CF10. root - Application.cfc - ApplicationProxy.cfc (extends Application) - cfc-folder - - Application.cfc (extends ApplicationProxy) - - myCFC.cfc This does not work without the cfc/application.cfc having extends="root.ApplicationProxy", where 'root' is

Re: Mura or ContentBox

2015-01-28 Thread Dean Lawrence
Excellent! Thank you so very much, Jon. On Wed, Jan 28, 2015 at 4:16 PM, Jon Clausen wrote: > > Dean, > > Replies inline: > > > I do have a question though regarding the customization of > > ContentBox. My biggest stumbling block with the use of a CMS is the > > customized site functionality t

Re: Mura or ContentBox

2015-01-28 Thread Jon Clausen
Dean, Replies inline: > I do have a question though regarding the customization of > ContentBox. My biggest stumbling block with the use of a CMS is the > customized site functionality that I typically require being just managing > page content and blogs. As an example, adding a product catalog

Re: Cannot access session variables in a cfc

2015-01-28 Thread Dean Lawrence
Byron, the ApplicationProxy.cfc needs to be in the root directory along with the main Application.cfc. When you extend a CFC, CF will first look in the same directory to see if that CFC exist. If it doesn't CF will start looking for the CFC from the application root down. So by simply adding exten

Re: Cannot access session variables in a cfc

2015-01-28 Thread Byron Mann
On Wed, Jan 28, 2015 at 1:57 PM, Robert Harrison wrote: > > > try adding an Application.cfc in the root physical directory > > I don't that that will work. It would still be a separate application pool, > and I think you need the CFID and CFTOKEN cookies to have session vars. > Did a simple t

Re: Cannot access session variables in a cfc

2015-01-28 Thread Steve 'Cutter' Blades
John, There are some pretty significant advancements to CFCs since CF 7, especially around scoping. You definitely want to look at the difference up the version chain. Cutter On 1/28/2015 12:02 PM, John Pullam wrote: > Thanx. That's what I think I will do for the time being. > > It is hard fo

Re: Mura or ContentBox

2015-01-28 Thread Dean Lawrence
Cameron and Jon, thank you so much for your input. Jon, your breakdown of uses is great. I do have a question though regarding the customization of ContentBox. My biggest stumbling block with the use of a CMS is the customized site functionality that I typically require being just managing page co

Re: Cannot access session variables in a cfc

2015-01-28 Thread Dean Lawrence
You could also extend the main application.cfc. You can't do this directly if the cfc's are in a sub-directory though. If that is the case, you could use a proxy, I do this all the time. Here would be the structure. root - Application.cfc - ApplicationProxy.cfc (extends Application) - cfc-folder

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
> try adding an Application.cfc in the root physical directory I don't that that will work. It would still be a separate application pool, and I think you need the CFID and CFTOKEN cookies to have session vars. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-12

Re: Cannot access session variables in a cfc

2015-01-28 Thread Byron Mann
While I agree it isn't a good practice to make use of scope variables in a CFC, try adding an Application.cfc in the root physical directory of your CFCs and use the same application name and session and app timeouts. I think this would work in older versions, but not too sure about more recent v

Re: cf11 and Tomcat Datasources

2015-01-28 Thread Jochem van Dieten
On Wed, Jan 28, 2015 at 1:27 AM, Alex DeMarco wrote: > > Is possible to configure a data-source in Tomcat and have it visible to > the CF11 instance? > Configure a JDBC datasource in Tomcat: http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#JDBC_Data_Sources Then use it as a JEE

Re: cf11 and Tomcat Datasources

2015-01-28 Thread James McCullough
This is not the right forum for that question. That info is available in the Tomcat documentation. >>> Is possible to configure a data-source in Tomcat and have it visible > >Yes but how do I add the datasource at the Tomcat level first? ~

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
Thanx. That's what I think I will do for the time being. It is hard for me to come up with all the symptoms that we started seeing on the cfc's now and I don't think I could do justice to any explanation of those issues. It seemed to me that it was all quite normal stuff. All pages and cfc's w

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
Well, I'd hate to do this, but you could define an application.myvar type variable and put all the variables you need to pass in that as a structure or list, then send that variable in your arguments. That would get to one variable ... but then you're still going to need to deconstruct it before

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
>You will need to pass your session variables as a parameter in order to use >them in the CFC, this is best practices anyways. > The difficulty is that there a lot of cfc calls and some of them are in bind expressions so the chance of making errors is high. That's why I am so anxious to find one

RE: Cannot access session variables in a cfc

2015-01-28 Thread William Seiter
up with BP later when the fires are out. Thanks, William -- William Seiter -Original Message- From: John Pullam [mailto:jpul...@mcleansystems.com] Sent: Wednesday, January 28, 2015 8:57 AM To: cf-talk Subject: Re: Cannot access session variables in a cfc I

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
Were you using relative paths to the CFCs. That could become hairy if you move things around. I'll generally define a CFC path variable in the application.cfm then use that everywhere. Never had a problem. Of course, this assumes all the CFC's are in the same location. Robert Harrison Full

RE: Cannot access session variables in a cfc

2015-01-28 Thread William Seiter
You will need to pass your session variables as a parameter in order to use them in the CFC, this is best practices anyways. Good news, however, is that you can send them as a complete struct, you don't necessarily need to have them send all separately. Hope this helps, William --

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
I know this isn't ideal, but it is a live application and the decision to move the cfc's outside of the doc root was taken because CF was having trouble finding them (for no obvious reason). Code that has worked since CF7 started breaking. So we moved them and this problem began. I am lookin

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
> You shouldn't, as it breaks encapsulation Honestly, I too think you should reconsider moving the CFC out of the web root. Maybe if you moved them out then created objects from them in the application.cfc, then you may be able to use session vars, as I think the objects would still be in the

Re: cf11 and Tomcat Datasources

2015-01-28 Thread Alex DeMarco
>> Is possible to configure a data-source in Tomcat and have it visible >> to the CF11 instance? If so how? I have tried following the Tomcat >> doc but continue to run into this error: >> DAOException: Naming Exception while looking up DataSource Connection >> mydb: >> Name [mydb] is not b

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
> What other method than session variables can I use to pass a common variable that won't require me to include it as a parameter of every calling routine? Since you've moved your CFCs out of the application I cannot think of any other method beside passing them all as arguments. Robert Harriso

Re: Cannot access session variables in a cfc

2015-01-28 Thread Steve 'Cutter' Blades
You shouldn't, as it breaks encapsulation. Any outside variables you would need inside a cfc should be passed into the cfc, either as part of your object initialization, or directly into a specific method. Cutter On 1/28/2015 10:25 AM, John Pullam wrote: >> If you moved your cfc's above the ap

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
>If you moved your cfc's above the application.cfc (or application.cfm) file, >the session variables will not be accessible. Session and application vars >are accessible from the application file down. > That's what we did. What other method than session variables can I use to pass a common vari

RE: Cannot access session variables in a cfc

2015-01-28 Thread Robert Harrison
If you moved your cfc's above the application.cfc (or application.cfm) file, the session variables will not be accessible. Session and application vars are accessible from the application file down. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118

Re: cf11 and Tomcat Datasources

2015-01-28 Thread James McCullough
> Is possible to configure a data-source in Tomcat and have it visible > to the CF11 instance? If so how? I have tried following the Tomcat > doc but continue to run into this error: > DAOException: Naming Exception while looking up DataSource Connection > mydb: > Name [mydb] is not bound i

Re: WebServices and HTTP/1.1

2015-01-28 Thread Steve 'Cutter' Blades
ColdFusion 11 updated to axis 2. Here's a StackOverflow question that talks about consuming axis 1 services in CF 11: http://stackoverflow.com/questions/23412414/coldfusion-11-consuming-axis-1-web-services Cutter On 1/27/2015 6:28 PM, Russ Michaels wrote: > I suspect this is due to the Apache

Re: WebServices and HTTP/1.1

2015-01-27 Thread Ricardo Russon
Thanks Russ! That's a big help. Ricardo. On Wed, Jan 28, 2015 at 10:28 AM, Russ Michaels wrote: > > I suspect this is due to the Apache Axis version you are using. Axis 1 uses > http 1.0 and axis 2 uses http 1.1 > I do not know which version CF10/11 use by default, but here is how to > switch

Re: WebServices and HTTP/1.1

2015-01-27 Thread Russ Michaels
I suspect this is due to the Apache Axis version you are using. Axis 1 uses http 1.0 and axis 2 uses http 1.1 I do not know which version CF10/11 use by default, but here is how to switch version to test this theory http://milanchandnacf.blogspot.in/2012/07/axis-2-and-axis-1-compatibility-issues.h

Re: Mura or ContentBox

2015-01-27 Thread Jon Clausen
I have and will continue to use both. They are both great for what they provide, but what they provide is very different. If I’m developing a basic site with maybe a few custom plugins for display on the front-end, Mura is my choice. If I’m refactoring an existing application or need to deve

Re: Mura or ContentBox

2015-01-27 Thread Cameron Childress
We've done a bunch of Mura installations and it's a pretty awesome CMS. It does a lot right out of the box and the architecture gives you tons of places to extend it as needed. I have no used ContentBox but I can say Mura is definitely a good choice for CMS platform. -Cameron On Mon, Jan 26, 20

Re: Call Rail API / CF

2015-01-19 Thread Dean Lawrence
When I use this code, I get a result back. It is an unauthorized result since I don't have an API key, but it is a GET request and does return a JSON result. https://api.callrail.com/v1/companies.json"; /> On Mon, Jan 19, 2015 at 12:07 PM, Robert Harrison wrote: > > Yep tried doub

RE: Call Rail API / CF

2015-01-19 Thread Robert Harrison
Subject: RE: Call Rail API / CF This line in the PHP seems to indicate that they are using double quotes around the key. curl_setopt($ch, CURLOPT_HTTPHEADER, array("Authorization: Token token=\"{$api_key}\"")); Have you tried using double q

RE: Call Rail API / CF

2015-01-19 Thread William Seiter
- William Seiter -Original Message- From: Robert Harrison [mailto:rharri...@aimg.com] Sent: Monday, January 19, 2015 8:48 AM To: cf-talk Subject: RE: Call Rail API / CF Yes. The PHP version does pull the data. The CF version comes up empty. Robert Harrison Full Stack Developer AIMG rha

RE: Call Rail API / CF

2015-01-19 Thread Robert Harrison
Nada! Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234 ext.121 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: Dean Lawrence [mailto:dean...@gmail.com] Sent: Monday, January 19, 2015 12:01 PM To: cf-talk Subject: Re: Call Rail

Re: Call Rail API / CF

2015-01-19 Thread Dean Lawrence
So when you dump the results of the cfhttp call, is it empty? If not, is there anything that is listed in the Filecontent key within the dump structure? On Mon, Jan 19, 2015 at 11:47 AM, Robert Harrison wrote: > > Yes. The PHP version does pull the data. The CF version comes up empty. > > > Rob

RE: Call Rail API / CF

2015-01-19 Thread Robert Harrison
: Monday, January 19, 2015 11:46 AM To: cf-talk Subject: Re: Call Rail API / CF Ok, good, I just wanted to make sure. So, when you use a GET, it sounds like you are authenticating correctly, no? This my sound stupid, but do you have any companies added to the system for the API to return? Also, have you

Re: Call Rail API / CF

2015-01-19 Thread Dean Lawrence
Ok, good, I just wanted to make sure. So, when you use a GET, it sounds like you are authenticating correctly, no? This my sound stupid, but do you have any companies added to the system for the API to return? Also, have you tried removing the single quotes from your API key in the header? In the

RE: Call Rail API / CF

2015-01-19 Thread Robert Harrison
eveloper AIMG rharri...@aimg.com Main Office: 704-321-1234 ext.121 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: Dean Lawrence [mailto:dean...@gmail.com] Sent: Monday, January 19, 2015 11:31 AM To: cf-talk Subject: Re: Call Rail API / CF You are more on track with the second o

Re: Call Rail API / CF

2015-01-19 Thread Dean Lawrence
You are more on track with the second one than the first. I have two comments. First, you are using a POST method and the documentation for the companies method states that it should be a GET method. Second, you are replacing MYKEYHERE with your assigned assigned API key, correct? On Mon, Jan 19,

RE: Call Rail API / CF

2015-01-19 Thread Robert Harrison
IMG rharri...@aimg.com Main Office: 704-321-1234 ext.121 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: Dean Lawrence [mailto:dean...@gmail.com] Sent: Monday, January 19, 2015 11:22 AM To: cf-talk Subject: Re: Call Rail API / CF Robert, can you share the code that

Re: Call Rail API / CF

2015-01-19 Thread Dean Lawrence
Robert, can you share the code that you have tried? On Mon, Jan 19, 2015 at 9:31 AM, Robert Harrison wrote: > > Below is a call rail API request in PHP. This works in PHP, but I need to > run this in ColdFusion. I've tried every combination of cfhttp and > cfhttpparam I can think of that looks

Re: Call Rail API / CF

2015-01-19 Thread LRS Scout
If I were you I wouldn't get caught up in the example. There's a ruby one on their site that might make more sense to you, but to be honest a quick look at the APIs docs make it seem like it should be easy to do. http://apidocs.callrail.com/ curl is a command line tool correct? So you're eithe

Re: CF Builder 3

2015-01-17 Thread Casey Dougall
Serialisly No sorry... On Sat, Jan 17, 2015, 7:37 AM Uwe Degenhardt wrote: > > Hi Casey, this is awesome ! > Thanks for sharing this link with us. :-) > > Do you have a HomeSite+-licence-serial you can sell me ? > Uwe > > My memory isn't what it use to be... > > > Good thing we have a nice arc

Re: CF Builder 3

2015-01-17 Thread Uwe Degenhardt
Hi Casey, this is awesome ! Thanks for sharing this link with us. :-) Do you have a HomeSite+-licence-serial you can sell me ? Uwe > My memory isn't what it use to be... > Good thing we have a nice archive now... > https://www.copy.com/s/nhIbHZYZnmPN/ColdFusion%20Repo > On Jan 15, 2015 4:20 PM,

Re: ckeditor in CF 11?

2015-01-16 Thread Russ Michaels
"IF" being the operative word here. And you should know as well as I that is usually not the case. We have a person on this very list, who likes to tell us about her 15+ years experience in IT and security expertise, but her CF server was about as insecure as can be, and her cfadmin was hackable i

Re: ckeditor in CF 11?

2015-01-16 Thread Dave Watts
It looks like your other questions have been answered already, so I'll just answer this one. > 4. Are there licensing issues with the CF bundled version? In other words, > if you use the free version from cksource in a commercial product, there is > typically a license fee. If you use the CF bu

Re: PHP To Cold Fusion

2015-01-16 Thread Byron Mann
The Y2K in me says this would be better ;-) int(getTickCount()/1000) On Fri, Jan 16, 2015 at 1:19 PM, Michael Dinowitz < mdino...@houseoffusion.com> wrote: > > 2. The epoch is GMT and using the ColdFusion now() function returns local > time, not GMT. This is a more accurate epoch value: > left(

Re: ckeditor in CF 11?

2015-01-16 Thread Pete Freitag
CKeditor is not included in CF11. CF8-11 includes FCKeditor, which is the predecessor to CKeditor. To answer question 3 in the context of FCKeditor, yes your updates to it could potentially be overwritten by the updater. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFu

RE: PHP To Cold Fusion

2015-01-16 Thread Robert Harrison
Thanks. I got through that one. Now I'm trying to set up the call rail API. Anyone done that in CF before? Thanks Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234 ext.121 Direct Line: 516-302-4345 www.aimg.com ~~

Re: PHP To Cold Fusion

2015-01-16 Thread Jon Clausen
And it’s simpler, to boot! What he said. :) > On Jan 16, 2015, at 1:19 PM, Michael Dinowitz > wrote: > > > 2. The epoch is GMT and using the ColdFusion now() function returns local > time, not GMT. This is a more accurate epoch value: > left(GetTickCount(), 10) > > > On Fri, Jan 16, 2015

Re: PHP To Cold Fusion

2015-01-16 Thread Michael Dinowitz
2. The epoch is GMT and using the ColdFusion now() function returns local time, not GMT. This is a more accurate epoch value: left(GetTickCount(), 10) On Fri, Jan 16, 2015 at 1:04 PM, Jon Clausen wrote: > > 1) No, that won’t work. toBase64(hash('testing', "SHA-256")) gets you > close but ha

Re: ckeditor in CF 11?

2015-01-16 Thread Russ Michaels
The problem with using the bundled version as it can easily become out of date and you are relying on the CFIDE folder again, which is somehting best avoided. There was a well known security hole in previous version which got abused big time for upload files to ColdFusion servers. it is much bett

Re: PHP To Cold Fusion

2015-01-16 Thread Jon Clausen
1) No, that won’t work. toBase64(hash('testing', "SHA-256")) gets you close but hash_hmac is a very specific PHP function in what it does. Is there a way you can use a different method to generate that signature or are you trying to maintain backward compatibility? Alternately, here’s a UDF

Re: CF Builder 3

2015-01-15 Thread Casey Dougall
My memory isn't what it use to be... Good thing we have a nice archive now... https://www.copy.com/s/nhIbHZYZnmPN/ColdFusion%20Repo On Jan 15, 2015 4:20 PM, "Michael Grant" wrote: > > I seem to remember TopStyle being on the CF5 discs along with CF Studio. Or > was it CF 6, which was MX wasn't

Re: CF Builder 3

2015-01-15 Thread Michael Grant
I seem to remember TopStyle being on the CF5 discs along with CF Studio. Or was it CF 6, which was MX wasn't it? I can't remember. That was ages ago. What I do remember is that I absolutely loved the RDS features on CF Studio. I was gutted when I had to stop using CF Studio for lack of compatibil

Re: validating email CF11

2015-01-15 Thread Dave Watts
> isValid("email","name@gmail") is returning a "Yes" > > Am I missing something or is this a bug. As far as I know CF9 would have > returned NO Well, it's not really a bug. Within certain contexts, that would in fact be a valid email address. It obviously wouldn't be a valid email address on a

Re: validating email CF11

2015-01-15 Thread Byron Mann
DNS lookup might suffice just to verify the domain is valid (ie, registered). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.ho

Re: validating email CF11

2015-01-15 Thread Scott Slone
You might want to look at Mailgun - http://www.mailgun.com/email-validation they have jquery implementation (https://github.com/mailgun/validator-demo) /S > Ben > January 15, 2015 at 9:35 AM > Given how often TLDs are changing is there a way in CF to do a > verif

Re: validating email CF11

2015-01-15 Thread Ben
Given how often TLDs are changing is there a way in CF to do a verification that the domain name exists? That would seem simpler. Ben > On Jan 15, 2015, at 10:06 AM, Byron Mann wrote: > > > With all the new top level domains available now (), you are better with a > regex that matches by s

Re: validating email CF11

2015-01-15 Thread Russ Michaels
I would avoid IsValid() it is not reliable and has been blogged about. try this https://github.com/teamcfadvance/ValidateThis On Thu, Jan 15, 2015 at 2:48 PM, Rob Voyle wrote: > > Hi Folks > > Using CF11 > isValid("email","name@gmail") is returning a "Yes" > > Am I missing something or is thi

Re: validating email CF11

2015-01-15 Thread Byron Mann
With all the new top level domains available now (), you are better with a regex that matches by size, instead of adding specific strings beyond 3 or 4 characters. Just change the {2,4} to something like {2,254}, which should fairly "future" proof the regex. I believe the RFC for DNS has a maxim

RE: validating email CF11

2015-01-15 Thread Robert Harrison
Thanks, I'm aware. You can change that if you'd like, but so far from the 200 plus sites I've done, I've never has a .museum address. It could happen; someone does the museum sites :-) If you want another that uses CF and allows museum, you could try the function below... someone on the list ga

Re: validating email CF11

2015-01-15 Thread Rob Voyle
Thanks Robert Your code limits TLD to 4 which would catch ".museum" What are people setting as a limit on TLDs Rob On 15 Jan 2015 at 9:53, Robert Harrison wrote: > > I had similar issues with this... use the script below instead of > CF. You > can do an onBlur="validateEmail();" on the email

<    1   2   3   4   5   6   7   8   9   10   >