Re: Writing an Apache 404 Handler in CF

2014-10-10 Thread Jon Clausen
You’ve likely got a rewrite rule passes everything that is not a document to CF for handling. I’m guessing you have a friendly URL setup that routes everything through index.cfm, which is why the redirect is taking place. Something like this is probably the culprit: #These are handled by

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-10 Thread Byron Mann
Ideally I would also suggest SSIS for this, but sounds like a total re-write might be out of the question. This is what I would probably try, maybe breaking the number of records done during one transaction into something reasonable depending on server performance. Believe the OUTPUT clause is

Re: CFML restart ACF 10 app server service

2014-10-09 Thread John M Bliss
I came to the same conclusion. Thanks. On Wed, Oct 8, 2014 at 9:46 PM, Al Musella, DPM muse...@virtualtrials.com wrote: It doesn't make sense to do it from cf scheduler because if CF is locked up it won't execute. The windows scheduler always will! At 07:21 PM 10/1/2014, Russ Michaels

Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
I've got an application that imports email list from Excel sheets. Mostly working fine, but I've got one spot where I'd like to optimize things if I could. Once the data is imported I run two queries against each email address: 1. see if the email address is already in the group in question 2.

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Cameron Childress
On Thu, Oct 9, 2014 at 12:30 PM, Les Mizzell wrote: Is there a better way to set up my two insert queries above so it's not making two calls for every single address? Most databases will let you issue multiple SQL statements in a single request/transaction. You just have to separate them with

RE: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread William Seiter
Have you investigated using a Stored Procedure that does both inserts? -- William Seiter -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Thursday, October 09, 2014 9:31 AM To: cf-talk Subject: Avoiding a boat load of queries

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-09 Thread Bobby
That¹s not what Adobe is telling us. They want a license per virtual machine, not per host. On 10/2/14, 3:22 PM, Russ Michaels r...@michaels.me.uk wrote: as they are virtual, if you have enterprise license then you are covered as long as you are within the CPU/core requirements. On Thu, Oct

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-09 Thread Russ Michaels
that would only apply if you are using professional edition, or each VM exceeds their number of cpu cores/speed on enterprise license. if you have enterprise and your 2 vm's are within the license restrictions, then the person at Adobe who told you that obviously doesn;t understand their own

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Dean Lawrence
Les, I think that it would probably be more efficient if you imported all the records into a temp table and then did an insert into the main email table based upon a join query that only includes records from the temp table that are not in the main email table. You could then do a similar insert

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Russ Michaels
or just get all the email addresses from excel and send them over to a tored procedure as a list to process in one go. On Thu, Oct 9, 2014 at 7:22 PM, Dean Lawrence dean...@gmail.com wrote: Les, I think that it would probably be more efficient if you imported all the records into a temp

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
Have you investigated using a Stored Procedure that does both inserts? This seems the way to go. Writing Transact-SQL is outside my area of expertise. I'm looking at example code now. Give me a bit and maybe I'll figure it out... Thanks to everybody that replied.

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
On 10/9/2014 1:49 PM, Cameron Childress wrote: Most databases will let you issue multiple SQL statements in a single request/transaction. You just have to separate them with a semicolon. If you did it this way, how would you get the ID from the first insert for use in the 2nd ... (because I'm

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Cameron Childress
On Thu, Oct 9, 2014 at 4:29 PM, Les Mizzell lesm...@bellsouth.net wrote: If you did it this way, how would you get the ID from the first insert for use in the 2nd ... No I don't think that's going to work the way you want it to in that case. A few years ago I stopped using numerics and

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
On 10/9/2014 5:00 PM, Cameron Childress wrote: A few years ago I stopped using numerics and auto-increment and started using UUID for all PK/FK columns. On new stuff, this is what I'm doing as well. Unfortunitely, this is a pre-existing app and would take a good bit of rewrite to do that.

RE: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread William Seiter
What kind of database? MSSql? Mysql? Oracle? ... -- William Seiter -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Thursday, October 09, 2014 1:29 PM To: cf-talk Subject: Re: Avoiding a boat load of queries inserting multiple

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
On 10/9/2014 5:16 PM, William Seiter wrote: What kind of database? MSSql? Mysql? Oracle? ... SQL Server 10 ~| Order the Adobe Coldfusion Anthology now!

RE: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread William Seiter
Off the top of my head... To insert the last inserted unique id in a transaction... cfquery INSERT dbo.table(column) SELECT 1; SELECT @newID = SCOPE_IDENTITY(); INSERT dbo.table_2 (column) SELECT @newID; /cfquery -- William Seiter -Original Message-

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
On 10/9/2014 5:20 PM, William Seiter wrote: Off the top of my head... To insert the last inserted unique id in a transaction... cfquery INSERT dbo.table(column) SELECT 1; SELECT @newID = SCOPE_IDENTITY(); INSERT dbo.table_2 (column) SELECT @newID; /cfquery I'll give this a try. It's

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Maureen
I would probably use a trigger to do the second insert. On Thu, Oct 9, 2014 at 5:38 PM, Les Mizzell lesm...@bellsouth.net wrote: I'll give this a try. It's got to be way less processor intensive than running multiple queries for each insert. Still, looks the stored procedure will be the less

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Alan Rother
Just to play devil's advocate for moment... This thread reminds me of the old adage about what happens when you hire a carpenter for just any old job, they tend to hit things with hammers. As web software developer, our first instinct is to go out and write code. Having been down this same

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Les Mizzell
Not knowing much about your overall process, I'll try to stick to some generic ideas. Let's assume you don't need this stuff dumped into the database the very second it gets sent to you. This is actually part of a client's admin system on their website. They send out legal newsletters.

Re: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-09 Thread Mike K
You do know that Microsoft changed the insert syntax as from SQLServer 2008 dont you?now you can insert multiple records in one go like this: INSERT into Tablename (field1, field2, field3, field4 ) Values ( value1, value2, value3, value4 ... ; value1, value2, value3, value4 ;

CFHTTP Raw Request

2014-10-08 Thread Donnie Carvajal
I have a process that is sending xml via cfhttp and I am not getting the anticipated response from the web service. I would like to see the actual headers and the body of the request. Does anyone know if there is a way to track the raw request that is created by a cfhttp post? Thanks,

RE: CFHTTP Raw Request

2014-10-08 Thread DURETTE, STEVEN J
If you are doing this on a developer machine, install fiddler. Then you can watch everything the request and response and look at the raw outputs. It has saved me multiple times from pulling my hair out. Steve -Original Message- From: Donnie Carvajal

CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Gaulin, Mark
Hi Folks Our single CF11 test server just highlighted a freaky difference between CF10 and CF11 that has us all puzzled. (We are running CF11 with the latest service pack.) It appears that the CF mappings defined in CFIDE (such as /cfc - root dir for all of our CFC's) are not defined inside

Re: CFHTTP Raw Request

2014-10-08 Thread Russ Michaels
Try the getpagecontext or getmetadata functions. On Wed, Oct 8, 2014 at 17:17 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: I have a process that is sending xml via cfhttp and I am not getting the anticipated response from the web service. I would like to see the actual headers

Re: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Dean Lawrence
Mark, When you say global mappings, are you saying that you created a mapping in the ColdFusion admin? Also, can you maybe share some of your Application.cfc code for us to get a better idea as to what you are trying to accomplish? On Wed, Oct 8, 2014 at 1:58 PM, Gaulin, Mark

Re: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Cameron Childress
On Wed, Oct 8, 2014 at 1:58 PM, Gaulin, Mark mark.gau...@ihs.com wrote: It appears that the CF mappings defined in CFIDE (such as /cfc - root dir for all of our CFC's) are not defined inside the block of code at the top of Application.cfc I would also test this with a global mapping not

RE: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Gaulin, Mark
Hi Dean Yes, we defined mappings in the CF Admin. These mappings all work outside of the top script block, but not in it. Here's a sketch of what currently works on CF10: cfcomponent name=MyApplication output=false cfscript // All of these settings can be done by the

RE: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Gaulin, Mark
Hi Cameron We can successfully use the /cfc mapping outside of the top script block, so I don't think it is reserved in that way. We also observed that expandPath() behaves differently in the top script block vs in a Application.cfc method. (It expands the mappings paths properly in the

Re: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Dean Lawrence
Hmm, that is odd. It may very well be a bug. I don't know for sure if the location of where you define the application properties is restricted to the top of your Application.cfc or not, but here are two things to try. Placing the calling of your configuration cfc inside your

Re: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Cameron Childress
On Wed, Oct 8, 2014 at 2:42 PM, Gaulin, Mark wrote: We can successfully use the /cfc mapping outside of the top script block, so I don't think it is reserved in that way. You are probably right but it may still be worth testing out, since the very root of your problem is that something in

RE: CF11 changes to Application.cfc - no mappings defined?

2014-10-08 Thread Gaulin, Mark
Yup, I tried setting this.mappings as you suggest and it didn't change anything. We are getting the strong feeling that no mappings are applied, even the ones configured in CF Admin, until after the top script block has completed. That explains all of the behavior that we see. Hmm..

Re: CFML restart ACF 10 app server service

2014-10-08 Thread Al Musella, DPM
It doesn't make sense to do it from cf scheduler because if CF is locked up it won't execute. The windows scheduler always will! At 07:21 PM 10/1/2014, Russ Michaels wrote: Just use the previously mentioned commands that is all you need On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss

(ot) Coldfusion leads for cash

2014-10-07 Thread Mark A Kruger
Folks, this is a little off topic but I'll try it here anyway and hope that Michael doesn't slap me down. CFWT has a new program for developers offering cash bonuses (10 month residual) for help with locating new customers. It's generous and easy to do. Check out this post on my blog.

CFHTTP Host Header Issue

2014-10-07 Thread Donnie Carvajal
Hi All, I have a project that requires me to connect to a web server that requires a request header host value that is different from the URL of the request. For example... cfhttp url=http//www.domain1.com method=post chttpparam type=header name=Host value=www.domain2.com ... /cfhttpparam

Re: CFHTTP Host Header Issue

2014-10-07 Thread Russ Michaels
this would be spoofing and is very easy to do. Whether or not you can do it via cfhttp I do not know, if not then try adding a cfheader as well. You should certainly be able to do it from the web server, I know on IIS you can use the URL rewrite tool to change OUTGOING requests as well as

Re: cfchart issue...

2014-10-06 Thread Gonzo Rock
So CF 11 will not pass info to charts via $ItemLabel$ ... if it's client side... so clearly not for a type=html chart... or flash either I have discovered... however it should still be operational for png and jpg but alas it's not. Looking around I found the causes mentioned above and some

D3 Chart

2014-10-04 Thread Kam Heydari
Hi - Is there anyone using D3 Chart with coldfusion - If so any example as how to. Thanks in advance. Kam. ~| Order the Adobe Coldfusion Anthology now!

Re: Using caching and threading to load a page quickly

2014-10-03 Thread Chris h
Thanks Jonah, I am sorry for the late reply. The WordPress's RSS feed is stable but due to excessive resource usage, the newswebsite has been suspended a few times after which we had to call the Hosting company to restore it. To have the rest of the page load and then the feed display

RE: CFML restart ACF 10 app server service

2014-10-03 Thread UXB Internet
explains the problems with CF on shared hosting: http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not- suited-to-shared-hosting Interesting article and a nice refresher for anyone running a shared hosting environment. It goes to show how the technology has changed over the

Re: CFML restart ACF 10 app server service

2014-10-03 Thread Russ Michaels
actually asp and PHP always ran as a separate cgi process because they were always executable or ISAPI, but before the days of application pools, they were not as isolated as they are now. CF 1 - 5 were the same too as it was writen in C language and also ran as a cgi process. The main issue was

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-02 Thread John Pullam
Some more info: - I have not issued a setclientcookies=yes so assuming that is the default it should be there. - the redirect is via an htaccess file which says RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] - I think the redirect

Why this regex takes so long?

2014-10-02 Thread Claude Schnéegans
Hi, I'm having a problem with a scheduled task that chokes my server. Its role is to analyse bounced messages. I have been able to identify where it blocks, when analysing a line like this one with the regex below: Message-id: 26823262.22036.1411993378646.JavaMail.NS4007563$@127.0.0.1 CFSET

Re: Getting memory amount used

2014-10-02 Thread Claude Schnéegans
Might be able to get this using Java. Thanks, I'll dig into this. I thought that my server chokes because of lack of memory, but I finally found that it was because of an infinite time taken in a regExp analysis. I just dropped a post about this.

Re: Why this regex takes so long?

2014-10-02 Thread Byron Mann
Think this has something to do with the Regex itself. I stink at them; however try plugging it in here: http://regex101.com/ It returns something about catastrophic backtracking. You may want something like this: [A-Z0-9]*@ On Thu, Oct 2, 2014 at 11:51 AM, wrote: Hi, I'm having a problem

Re: Why this regex takes so long?

2014-10-02 Thread Claude Schnéegans
however try plugging it in here: It gives me the same result: Timout for PHP and Python (after about 3 sec) and a result in Javascript in about 4 sec, because it happens in my computer and there is no time out. It looks like the problem is really in the regEx itself. I'll try to get another

CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Dan LeGate
Okay, if I have a single site, being run on two or more virtual (vmware) servers behind a load balancer, does each server need a license? Or does one license cover the site? Thanks! ~| Order the Adobe Coldfusion Anthology

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Wil Genovese
IANAL - As I understand it if one server is just failover then you only need one license. If both servers are active then you need two. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Oct 2, 2014, at

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Russ Michaels
as they are virtual, if you have enterprise license then you are covered as long as you are within the CPU/core requirements. On Thu, Oct 2, 2014 at 8:15 PM, Dan LeGate d...@legeek.com wrote: Okay, if I have a single site, being run on two or more virtual (vmware) servers behind a load

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Wil Genovese
as they are virtual, if you have enterprise license then you are covered as long as you are within the CPU/core requirements. And this is why I hate licensing agreements. You need a lawyer to understand it and another lawyer to tell you you got it wrong. 😉 Why does it have to be so

RE: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread UXB Internet
Why does it have to be so complicated? Money. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com

RE: CFML restart ACF 10 app server service

2014-10-02 Thread UXB Internet
we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. Wow! How far we have come, he says with great sarcasm, it harkens back to the good old CF4 on NT server days. Dennis Powers UXB Internet - A website Design and

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
except we rarely had any such issues with cf4/5, it ran like a dream compared to CF6+, which is down to java On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet denn...@uxbinternet.com wrote: we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese
If you are having to do regular restarts for server stability then there is definitely something wrong. At CF Webtools we have work with a large number of clients on CF10 that have very high load websites. None of them need regular restarts anymore. We are experts at rooting out server

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
so just to clarify, these are servers with hundreds of different websites and customers on right ? not just 1 client/app per server? which is easy to tune On Thu, Oct 2, 2014 at 10:09 PM, Wil Genovese jugg...@trunkful.com wrote: If you are having to do regular restarts for server stability

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese
Russ, I love those types of challenges! Yes, I have stabilized very large shared hosting ColdFusion 10 servers. Even some with hundreds of websites. It can be true that it’s not always as easy to do, but I know it can be done. Of course one of the best bangs for the buck is to buy Fusion

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Claude Schnéegans
None of them need regular restarts anymore. If you do need restart, it could be because you have a problem in your code. I have a task scheduled every 2 hours, it scans mail rebounces with regular expressions and who knows why, after one year with no problem, I recently got a certain string

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
we have been using FR for years. The primary issue we have on shared servers is hung database queries, which causes all coldfusion requests to be used up until there are none left, and cf will then stop serving up pages to any new requests. There are so many things that can cause this, especially

CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
Hi. What's the current best way to use CFML to restart ACF 10 app server service (on Windows server)? -- John Bliss - http://www.linkedin.com/in/jbliss ~| Order the Adobe Coldfusion Anthology now!

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Gerald Guido
I don't know if this is the best way but you can put the following text in a .bat file and run it using cfexecute. net stop ColdFusion 10 Application Server net start ColdFusion 10 Application Server cfexecute name = C:\somefolder\yourbatfile.bat /cfexecute HTH G! *Gerald Anthony Guido*

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. On Wed, Oct 1, 2014 at 3:46 PM, Gerald Guido gerald.gu...@gmail.com wrote: I don't know if this is the best way but you can put the following text in a .bat file and run

Re: CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
And do you do it the way Gerald recommended...? On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels r...@michaels.me.uk wrote: we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. On Wed, Oct 1, 2014 at 3:46 PM, Gerald Guido

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
we have a batch file which we run via a windows scheduled task, we don't do it via CF. On Wed, Oct 1, 2014 at 7:10 PM, John M Bliss bliss.j...@gmail.com wrote: And do you do it the way Gerald recommended...? On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels r...@michaels.me.uk wrote: we

Re: CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
Care to share the batch file? On Oct 1, 2014 5:56 PM, Russ Michaels r...@michaels.me.uk wrote: we have a batch file which we run via a windows scheduled task, we don't do it via CF. On Wed, Oct 1, 2014 at 7:10 PM, John M Bliss bliss.j...@gmail.com wrote: And do you do it the way Gerald

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Wil Genovese
The simplest way would be to use these two commands net stop “Servcie name net start “Servcie name Thats all you really need to stop and start ANY Windows service from the command line on the local machine. You can eve use the NET command to access a remote Windows server to stop and start

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
Just use the previously mentioned commands that is all you need On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss bliss.j...@gmail.com wrote: Care to share the batch file? On Oct 1, 2014 5:56 PM, Russ Michaels r...@michaels.me.uk javascript:; wrote: we have a batch file which we run via a

Getting memory amount used

2014-10-01 Thread Claude Schnéegans
Hi, Would any one know some trick to get the amount of memory occupied by a structure like query, etc.? Thanks ~| Order the Adobe Coldfusion Anthology now!

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-01 Thread John Pullam
I did what you suggested and thought that the problem had gone away. I was successful in getting any traffic to move to the www prefixed name but that didn't solve the cookie problem. I am having trouble creating the failure but I am still seeing duplicate cookies with the same CFID and

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-01 Thread Byron Mann
If your Application has setclientcookies=yes, which is the default, a cookie/session will be created for each host used by the client to access the site. So domain.com,www.domain.com, 127.0.0.1, could all be the same physical web site, but would have 3 different cookies and sessions generated.

Re: Getting memory amount used

2014-10-01 Thread Byron Mann
Might be able to get this using Java. http://stackoverflow.com/questions/52353/in-java-what-is-the-best-way-to-determine-the-size-of-an-object For simpler objects maybe serialize the variable to json or wddx and do a regex to replace all the syntax characters and get the length. Fusion reactor

RE: Anyone have experience running CyberSource Secure Acceptance

2014-09-30 Thread Sandra Clark
I got it working, thanks Had to configure a Java Development VM, and get their sample working. It wasn't, figured out that problem and then re-wrote a Security.cfc that basically just calls the Java. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday,

Re: cfchart issue...

2014-09-30 Thread Gonzo Rock
just figured out that cfchart format = flash or html will create this problem, while: cfchart format = jpg or png do not no clue as to why yet Also... verified all works as expected on CF 10... it seems to only be a CF 11 issue. Oh and it's a format=flash for the cfchart On Mon, Sep 29, 2014

cfchart issue...

2014-09-29 Thread Gonzo Rock
I have just finished updating a large application to run on CF 11 but not having any luck chasing down a particular issue with cfchart. Any any ideas as to why $ITEMLABEL$ will not resolve in CF 11 but the same template works just fine on our CF 9 installs? Here is the line where there are

Re: cfchart issue...

2014-09-29 Thread Al Musella, DPM
Maybe replace the $ with # At 03:40 PM 9/29/2014, you wrote: I have just finished updating a large application to run on CF 11 but not having any luck chasing down a particular issue with cfchart. Any any ideas as to why $ITEMLABEL$ will not resolve in CF 11 but the same template works just

Re: cfchart issue...

2014-09-29 Thread Gonzo Rock
I wish! the $ is a cfchart specific way of passing values.you can find the deets here: https://wikidocs.adobe.com/wiki/display/coldfusionen/cfchart On Mon, Sep 29, 2014 at 1:04 PM, Al Musella, DPM muse...@virtualtrials.com wrote: Maybe replace the $ with # At 03:40 PM 9/29/2014, you wrote:

RE: Not able to read a RSS feed from a WordPress website

2014-09-28 Thread Robert Harrison
That was my original suggestion was to check the firewall of the receiving server :-) -Original Message- From: Ben [mailto:b...@webworldinc.com] Sent: Friday, September 26, 2014 6:55 PM To: cf-talk Subject: Re: Not able to read a RSS feed from a WordPress website Ah. Good call! I'm

Using caching and threading to load a page quickly

2014-09-28 Thread Chris h
Hi All, I have a main index page which is in ColdFusion which gets a RSS feed from another website(Newswebsite which is a WordPress 3.9.2 website running on shared hosting). The Newswebsite is on shared hosting so takes about 7 seconds to load(a little slow, I know, but the decision to go

Re: Not able to read a RSS feed from a WordPress website

2014-09-28 Thread Chris h
That was my original suggestion was to check the firewall of the receiving server :-) I agree Robert, but I told them to check and they responded there was nothing in the firewall blocking that IP address. I appreciate your assistance and time with this thread.

Re: Using caching and threading to load a page quickly

2014-09-28 Thread .jonah
To have the rest of the page load and then the feed display later, you'll have to use AJAX to pull in a separate CF page clientside. (You'd still use caching in the feed.cfm so it'd only be slow occasionally.) Another approach would have the feed fetching functionality in a separate template

Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Chris h
Hi Dave, The server hosting WordPress was blocking the IP address of server running ColdFusion because it was seeing too much traffic for the news feeds from the server running ColdFusion. I just wish the hosting company which was running WordPress had told me this before. I appreciate all

Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Ben
Wow. How in hell did you figure that out? Ben On Sep 26, 2014, at 10:34 AM, Chris h h_chris...@yahoo.com wrote: Hi Dave, The server hosting WordPress was blocking the IP address of server running ColdFusion because it was seeing too much traffic for the news feeds from the server

Using caching for a RSS feed

2014-09-26 Thread Chris h
Hi All, Below is the code which is being used for reading a RSS feed from a Wordpress(WP) site running Wordpress 3.9.1 --

Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Chris h
Wow. How in hell did you figure that out? Ben Hi Ben, I asked for the firewall logs of the server running WordPress and saw that the IP address of server running ColdFusion was blocked. ~| Order the Adobe Coldfusion

Re: Not able to read a RSS feed from a WordPress website

2014-09-26 Thread Ben
Ah. Good call! I'm surprised they had them. Ben On Sep 26, 2014, at 3:39 PM, Chris h h_chris...@yahoo.com wrote: Wow. How in hell did you figure that out? Ben Hi Ben, I asked for the firewall logs of the server running WordPress and saw that the IP address of server running

Re: cf talk

2014-09-26 Thread Matthew Allen
http://serhanpompa.com/jfhlz/tkuaweqgxtjhh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Anyone have experience running CyberSource Secure Acceptance

2014-09-25 Thread Russ Michaels
Have they given you code and an example hash? On Tue, Sep 16, 2014 at 18:48 PM, Sandra Clark sclarkli...@gmail.com wrote: I'm trying to take a sample that they have written and convert it to ColdFusion. I have the Java in the signature code which is creating the HMAC exactly the same as

Re: Anyone have experience running CyberSource Secure Acceptance

2014-09-24 Thread Shawn Coughlin
I've been working on a solution you can see here: https://forums.adobe.com/thread/1560066 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Adding n characters to a string

2014-09-24 Thread Mike K
I'm having a brain fade - I know I've done this before but for the life of me I can't find where it was.I hope someone can help me out here before i go crazy ... I need to add (n) hard spaces (nbsp;) before a string, so it indents the string a variable amount depending on its level in a

Re: Adding n characters to a string

2014-09-24 Thread Bill Moniz
I think you're looking for repeatString(string, count). On 25 September 2014 13:54, Mike K afpwebwo...@gmail.com wrote: I'm having a brain fade - I know I've done this before but for the life of me I can't find where it was.I hope someone can help me out here before i go crazy ... I

Re: Adding n characters to a string

2014-09-24 Thread Mike K
Damn!!! Thanks Bill you posted this just seconds before I was about to post that I'd found it. Yes you're right, it's repeatstring( ) that i want. Thanks for your help anyway. On Thu, Sep 25, 2014 at 1:56 PM, Bill Moniz hydro.b...@gmail.com wrote: I think you're looking for

Re: First Data Global Gateway e4 sample code

2014-09-23 Thread Michael Dinowitz
Thanks for the API reference but it's already in my compiled notes. The issue is that there are a number of examples in other languages but nothing current in CF. Someone mentioned to me about a problem in CF9 and firstdata's SSL gateway, but I need more information on that. As a follow-up,

Cartweaver code

2014-09-23 Thread Michael Dinowitz
I was shown an example of a firstdata implementation that was outsourced to India and a few things grabbed my attention right away. The first was that the hmac.cfc template that they sent was an exact copy of the code by Tim McCarthy sans comments. The second was that the firstdata processing

Re: Cartweaver code

2014-09-23 Thread Matt Quackenbush
I don't see a `cw-auth-firstdata.cfm` in the CW4 code base. However, the code snippets you posted **are** exceptionally similar to those in CW4 auth files. ~| Order the Adobe Coldfusion Anthology now!

Re: Cartweaver code

2014-09-23 Thread Michael Dinowitz
I know that there is a cw-auth-authorize.net.cfm so I assumed a small name change on that or another template like it for a 'new' cw-auth-firstdata.cfm. I've emailed Cartweaver and I'm hoping they'll send me a copy of their auth code templates so I can do some more in-depth comparisons. Again,

First Data Global Gateway e4 sample code

2014-09-22 Thread Michael Dinowitz
I'm updating a payment gateway to the First Data e4 spec and after looking through their site, I can't find anything that looks like useful sample code. The one example they have for CF is from 2003. The link that looks like it goes to a more current sample asks me to log in.

Re: Not able to read a RSS feed from a WordPress website

2014-09-22 Thread Chris h
Thanks Dave. This is no longer a programming issue, though. It has nothing to do with reading and displaying the RSS feeds at this point. Instead, it has to do with fixing the connectivity problem between the two machines. People on a mailing list are not going to be able to help you do

Re: Not able to read a RSS feed from a WordPress website

2014-09-22 Thread Dave Watts
This is no longer a programming issue, though. It has nothing to do with reading and displaying the RSS feeds at this point. Instead, it has to do with fixing the connectivity problem between the two machines. People on a mailing list are not going to be able to help you do this

RE: Forms not passing data?

2014-09-22 Thread UXB Internet
The issue mainly is that it's not always happening all the time. So it's not repeatable as far as I can tell. If you have verified the code then check to see if the user in question is running an internet security program of some kind. Many of the firewalls they install prevent form

Re: Forms not passing data?

2014-09-22 Thread Phillip Vector
AAAa... There we go. That's the most logical answer (since I blocked the error emails from that one user and when that specific error shows up and it's been quiet). I'll pass the word along and let him know. Thank you. :) On Mon, Sep 22, 2014 at 12:19 PM, UXB Internet

<    6   7   8   9   10   11   12   13   14   15   >