How to Archive in a CMS
I'm reviewing the features list on the next version of my CMS, and I want to do a better job of handling archiving this time around. The way i'm doing it at the moment is pretty clunky and rolling back to a previous version of a page is far from straightforward and intuitive. Can anyone point me to a resource that could give me some hints on how i should design that part of the app? Or alternatively, could anyone give me some advice on how i should do it? I have a PageFramework table that contains things like page title, expiry date, UserID, date created, access restrictions, and also a Content table that contains the text/imagenames, etc for content elements inside the page. Each time anyone creates PageFrameworks, Content, or modifies either of those, it first copies the record it's about to modify to PageArchive table or ContentArchive table, giving it a version number that's an increment of the version it already has. Then it goes ahead and processes any updates that are required from the current operation. Is this the best way to do it? That ContentArchive table is getting pretty large, and there is a new version of a page even if the only change is a comma added. So if this current change is done with several steps, or multiple saves during the update process, rolling back to the last published version of hte page means looking through a whole lot of archived pages searching for the one that was on line earlier. As I said, it kind of works, but it's not very easy to use. How do you CMS authors handle this issue? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312926 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem with reading and writing UTF-8 characters
Hi, Problem has been solved. The problem occurred because the editor, Dreamweaver, was set to encode the file as UTF-8. There is more than one unicode normalization form and you can also include the Unicode signature in a file. The default settings we had appended the characters  (in hex/8-bit format they are ef bb bf) and this resulted in ColdFusion not being able to render properly the file. The problem was quickly solved by changing the file encoding. Technically, the problem was solved by removing the BOM (which is the UTF-8 byte order mark, and this is optional). In this was ColdFusion/Java created the file exactly as expected. Kind Regards, Joseph. Joseph Bugeja wrote: characters using the CHR function. This is a bit strange. Can you identify why? your editor, whatever that is. So what I am saying is that I must explicitly set the cfprocessingdirective you should be using this tag religiously, including any files via cfinclude. the only way things are getting messed up using that tag is if your files aren't utf-8 encoded. tag to store UTF-8 characters, however when I insert this tag in an existing file we are still left with this problem but instead we use CHR function to store these strings. most likely it's your editor. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312927 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Warm up CF8 service
Don L wrote: The girlfriend/wife in this case is a main app, so, could we have cf8 application server (jrunsvc.exe) launch a little app quietly when it first starts (as a warm-up process and do it quietly, that is, not to launch a page in a web browser)? jrunsvc is just a service wrapper, it is not the CF or even JRun executable. It has no other responsibilities then starting the main CF process, restarting it if it crashed and redirecting stdout and stderr to log files. What you want needs to be a part of CF itself (so it also works on Unix and J2EE servers other then JRun). Similar to the other event handlers you need some sort of onServerStart() handler for this. http://adobe.com/go/wish/ Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Windows 2003 server CF 8 Installation issue
Gus Denton wrote: I am have a really hard time installing CF 8 on Win 2003 SP2, I have changed permissions on the directories, turned off DEP, Installed on an old Win 2000 box and the same problem keeps poping up.. I am try to do the multiserver installation without linking to IIS and every time there is a single error in the install log about ANT not being able to find a single directory xxx\servers\cfusion\coldfusionwar\coldfusionear\webinf\something\lib I have changed permissions cleared temp directories and anything else I can see on the web but to no avail.. I have even pulled down a fresh copy of the Win 801 installer but no love.. Just an incomplete install without any of the CF directories or a wwwroot Short of covering myself in Chicken blood and dancing around a fire naked whilst offering votive offerings to IT gods I am out of ideas ! can anyone spare from an embarasing night in a paddock ! Gus Sounds like there is something in your path that doesn't belong there. What is the output of the set command on the command line? Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: importing data into a database
Based on your structure, the memberid field is not autogenerated therefore not sure what issue you have by not doing a basic import? If your worried about duplications you can check that by importing all records into a temp table then run a query to grab the distinct records and import those. If your new table has the memberid as autogenerated and has existing data, you need to determine if the data being imported matches any existing memberid records and if so, determine which takes precendence., You can still use a temp table to accomplish it. On Mon, Sep 22, 2008 at 8:54 PM, Toby King [EMAIL PROTECTED] wrote: Hi there I have a MySQL database setup with a table called members. Basically the structure of the table is Memberidvarchar 25 Firstname varchar 40 Lastnamevarchar 40 I have received the members list in an excel spreadsheet - approx 5,000 names. Had the Memberid column been autogenerating then it would have been easy. Just wanted to check how I do the the import - can I do an import to the table and if so how do I put a value into the the memberid column. Thanks in advance ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312930 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: importing data into a database
Hi Toby, is this a one-time task? If yes, I'd suggest a native mysql import, or simply use sqlyog for that. greetings, marcus Toby King schrieb: Hi there I have a MySQL database setup with a table called members. Basically the structure of the table is Memberidvarchar 25 Firstname varchar 40 Lastnamevarchar 40 I have received the members list in an excel spreadsheet - approx 5,000 names. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312931 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: importing data into a database
Just wanted to add this: You could alter the memberid column to varchar(35) and use a coldfusion uuid as memberid - somehow like that: cfloop ... cfquery... insert into members(memberid, firstname, lastname) values('#createuuid#', '#firstname#', '#lastname#') /cfquery /cfloop Toby King schrieb: Hi there I have a MySQL database setup with a table called members. Basically the structure of the table is Memberidvarchar 25 -- Mit freundlichen Grüßen, Marcus Raphelt at.net websolutions Mühlenbeck Raphelt GbR Klever Str. 60 47839 Krefeld Tel.: 02151 / 3699732 Fax : 02151 / 3699734 Mob.: 0151 / 58113803 mailto: [EMAIL PROTECTED] http://www.atnet-websolutions.de ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312932 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to Archive in a CMS
Mike, Why not just store the current version in your live CMS table, then store all the binary negative deltas in a revisions table? That reduces your storage requirements to almost nothing, it makes history retrievals lightning fast, and you can display any version from any point in history (or rollback to that point) with a simple binary operation. Respectfully, Adam Phillip Churvis President Productivity Enhancement -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 3:11 AM To: CF-Talk Subject: How to Archive in a CMS I'm reviewing the features list on the next version of my CMS, and I want to do a better job of handling archiving this time around. The way i'm doing it at the moment is pretty clunky and rolling back to a previous version of a page is far from straightforward and intuitive. Can anyone point me to a resource that could give me some hints on how i should design that part of the app? Or alternatively, could anyone give me some advice on how i should do it? I have a PageFramework table that contains things like page title, expiry date, UserID, date created, access restrictions, and also a Content table that contains the text/imagenames, etc for content elements inside the page. Each time anyone creates PageFrameworks, Content, or modifies either of those, it first copies the record it's about to modify to PageArchive table or ContentArchive table, giving it a version number that's an increment of the version it already has. Then it goes ahead and processes any updates that are required from the current operation. Is this the best way to do it? That ContentArchive table is getting pretty large, and there is a new version of a page even if the only change is a comma added. So if this current change is done with several steps, or multiple saves during the update process, rolling back to the last published version of hte page means looking through a whole lot of archived pages searching for the one that was on line earlier. As I said, it kind of works, but it's not very easy to use. How do you CMS authors handle this issue? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312933 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with reading and writing UTF-8 characters
Joseph Bugeja wrote: The problem occurred because the editor, Dreamweaver, was set to encode the file as UTF-8. There is more than one unicode normalization form and you can also include the Unicode signature in a file. The default settings we had appended the characters  (in hex/8-bit format they are ef bb bf) and this resulted in ColdFusion not being able to render properly the file. you mean prepend? those bytes (if used, optional for UTF-8) have to be the 1st 3 bytes of the file. that set of chars is called a Byte Order Mark (BOM) cf can certainly handle files that have a BOM. see the file data section here: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=i18n_13.html as i said, it's your editor but if it correctly writes a BOM to a file it won't cause normal cf files any problems (xml might be another story). try writing a cf page using notepad save it as a utf-8 encoded file (notepad will automatially add a BOM for this encoding). cf should not have any problems with it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312934 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem with reading and writing UTF-8 characters
Joseph Bugeja wrote: appended the characters  (in hex/8-bit format they are ef bb bf) and this resulted in ColdFusion not being able to render properly the file. oops and reference this too: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=i18n_10.html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312935 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfexecute, Windows 2003 and runas
I have a standalone Windows 2003 SP2 server running ColdFusion 8.01 Enterprise in multi-server mode. I have created 2 additional Windows accounts on this server, mediumpriv and lowpriv with /expires:never and /passwordchg:no. The mediumpriv account has been granted the Log on as a Service privilege and the ColdFusion service is configured to run under the mediumpriv account. This all works as it should. I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have a runas command: runas /user:lowpriv /savecred D:\lowpriv\run.bat %RunName% What happens is that bootstrap.bat runs fine and spawns a new cmd.exe process that indeed runs as lowpriv. Only that newly spawned process doesn't do anything, it sits there without consuming any CPU time or producing any output. Not even when the first line of run,bat is: echo 'Started run %1' d:\lowpriv\run.log The really weird thing is that I can make the process work by using runas myself to start a command line as the mediumpriv user and then starting CF manually from that command line. That runs as the same user, with the same environment and works, whereas CF as a service doesn't. Can anybody provide any insight into this problem? Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312936 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: 'Coldfusion' is undefined if using cflayout,cftree in cf8
Deppender - Did you change the code to use ColdFusion (!Coldfusion) remember that JS is case sensitive. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Sep 23, 2008 at 1:46 AM, Dave Watts [EMAIL PROTECTED] wrote: yes i have the cfide configured as virtual directory. But it appears the template is picking up the concerned javascript I don't know what you mean by this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312937 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cfdirectory onclick event
I am retriving the file system. From now i need to select a file and populate the name of the file to the input box cfform format=html action=#cgi.Script_Name# cfset test=CreateObject(component,Erik.Navigation).directory() cftree name=Test_Tree width=300 height=300 cfloop query=test cfif test.Type is Dir cftreeitem value=#test.Directory#\#test.Name# display=#test.Name# parent=#test.Directory# expand=yes cfelse cftreeitem value=#test.Directory#\#test.Directory# display=#test.Name# parent=#test.Directory# expand=yes /cfif /cfloop /cftree /cfform input type=text id=link name=link onclick=ColdFusion.Tree.getTreeObject (Test_Tree);/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312938 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
I believe there are 6 items in the mmc you need to give that user, including run as service. If I remember right, one was the batch process one. Lemme go see if I can dig up the MS KB article. We have to do this all the time, and it ends up being a pain! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Long running CF Program
I have a program that sends out bulk mail using CFMail. Problem is it sends the whole batch out at once. That sets off email blockers all over, so I have to trickle the mail out. My concept is to write a program that runs for up to 15 hours cfsetting requesttimeout=54000. It loops until it's sent all the mail. Inside the loop it has a cfif statement that processes X mails each time the minute changes (X mails per minute) until it's out of mail to send. Question is, if I invoke this program from a CFPage to start the process, will the process continue when the user exists the page? (i.e., continue to run in the background). Does this concept, loop and process a bit each minute until done, sound like a reasonable thing to do? Thanks, Robert Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312940 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
/ by zero error
I have two applications running on CF8 Enterprise in a multiple-instance cluster. In one, I have no problems. In the other, I get a '/ by zero' error when coming into the app. Both set session variables and a timeout in exactly the same manner. Here's a little bit of the error: / by zero The error occurred in \\ikraid\ikweb\RmsLive\Application.cfm: line 114 110:cfapplication name=SRV1 111: clientmanagement=Yes 112: sessionmanagement=Yes 113: setclientcookies=Yes 114: sessiontimeout=#ThisSessionTimeout# ThisSessionTimeout is set to #CreateTimeSpan(0,2,0,0)# earlier in the code, and I've verified that it is set correctly. I'm stuck at this point. I can't see where there is any arithmetic operation in the cfapplication tag, but obviously it doesn't like something. Thanks for any help or advice. Scott Taylor ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312942 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
Are you referring to 812614? Jochem - What would be interesting to see is why the batch file is in a hang condition. You can inspect the condition of the process by getting a hang dump of the process and examine it's callstack (I assume there's only one thread). Follow these steps and provide a place for me to download the dump from, I'll look at it if you like: 1) Download, install, and launch the DebugDiag v1.1 tool. You can get it from the Microsoft website 2) Launch your CFM template that creates the batch process 3) On the processes tab, find the batch process, right click on Create Full Userdump 4) Zip it up and put it on an FTP or web site and tell me how to get it. - Matt Small I believe there are 6 items in the mmc you need to give that user, including run as service. If I remember right, one was the batch process one. Lemme go see if I can dig up the MS KB article. We have to do this all the time, and it ends up being a pain! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312941 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfexecute, Windows 2003 and runas
I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have a runas command: runas /user:lowpriv /savecred D:\lowpriv\run.bat %RunName% Maybe you need to specify the path to runas? C:\windows\system32\runas.exe That's the only thing I can think of offhand. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312943 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Long running CF Program
We have a number of programs that loop through data just like this. I haven't hit one yet that didn't continue merrily on its way until the loop was finished. I'm pretty sure that it will continue running. Scott Taylor I have a program that sends out bulk mail using CFMail. Problem is it sends the whole batch out at once. That sets off email blockers all over, so I have to trickle the mail out. My concept is to write a program that runs for up to 15 hours cfsetting requesttimeout=54000. It loops until it's sent all the mail. Inside the loop it has a cfif statement that processes X mails each time the minute changes (X mails per minute) until it's out of mail to send. Question is, if I invoke this program from a CFPage to start the process, will the process continue when the user exists the page? (i.e., continue to run in the background). Does this concept, loop and process a bit each minute until done, sound like a reasonable thing to do? Thanks, Robert Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312944 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to Archive in a CMS
I'm sorry if i'm being a bit dense, but how would that work in a CF8Enterprise/Win2003/MSSQLServer2005 setup? How would I store the binary negative deltas? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Sep 23, 2008 at 9:45 PM, Adam Churvis [EMAIL PROTECTED] wrote: Mike, Why not just store the current version in your live CMS table, then store all the binary negative deltas in a revisions table? That reduces your storage requirements to almost nothing, it makes history retrievals lightning fast, and you can display any version from any point in history (or rollback to that point) with a simple binary operation. Respectfully, Adam Phillip Churvis President Productivity Enhancement ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312945 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Long running CF Program
Robert Harrison wrote: Question is, if I invoke this program from a CFPage to start the process, will the process continue when the user exists the page? (i.e., continue to run in the background). Does this concept, loop and process a bit each minute until done, sound like a reasonable thing to do? Thanks, Robert Yes it would, but that would not be my first choice. I think you may want to look at scheduled tasks and see if they could be applied to your problem. Then you don't have to have this single massive thread running and running taken up resources unnecessarily. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312946 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
yeah 812614 lays out the IIS permissions for the box. We also had to apply some of these to a custom user running CF 8.x in order to get some things working right http://support.microsoft.com/kb/812614/en-us ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312947 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to Archive in a CMS
It's been a while, but IIRC, basically you create binaries of each version, then XOR them against each other to create the binary delta file. Make sure to compress the delta before storing it, or you won't realize much (if any) space savings. To go back to a version, you just XOR a binary of the current version against each decompressed delta in succession all the way back to the version you want. Hope this helps. Respectfully, Adam Phillip Churvis President Productivity Enhancement -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 10:17 AM To: CF-Talk Subject: Re: How to Archive in a CMS I'm sorry if i'm being a bit dense, but how would that work in a CF8Enterprise/Win2003/MSSQLServer2005 setup? How would I store the binary negative deltas? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Sep 23, 2008 at 9:45 PM, Adam Churvis [EMAIL PROTECTED] wrote: Mike, Why not just store the current version in your live CMS table, then store all the binary negative deltas in a revisions table? That reduces your storage requirements to almost nothing, it makes history retrievals lightning fast, and you can display any version from any point in history (or rollback to that point) with a simple binary operation. Respectfully, Adam Phillip Churvis President Productivity Enhancement ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312948 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to Archive in a CMS
Ooh, sorry, but I forgot to answer one of your questions. You would store the deltas in binary columns in a database table named something like Revision, which would also have columns for version, date, author, the foreign key to the table containing the current version (stored as HTML, I assume), and any other attributes you care to store along with each revision. Makes it easy to see a list of all revisions. Make sure to index on the version number and foreign key to make processing rollbacks perform well. Respectfully, Adam Phillip Churvis President Productivity Enhancement -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 10:17 AM To: CF-Talk Subject: Re: How to Archive in a CMS I'm sorry if i'm being a bit dense, but how would that work in a CF8Enterprise/Win2003/MSSQLServer2005 setup? How would I store the binary negative deltas? Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Tue, Sep 23, 2008 at 9:45 PM, Adam Churvis [EMAIL PROTECTED] wrote: Mike, Why not just store the current version in your live CMS table, then store all the binary negative deltas in a revisions table? That reduces your storage requirements to almost nothing, it makes history retrievals lightning fast, and you can display any version from any point in history (or rollback to that point) with a simple binary operation. Respectfully, Adam Phillip Churvis President Productivity Enhancement ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312949 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, Windows 2003 and runas
Matthew Small wrote: Are you referring to 812614? IIS permissions are probably not very relevant when the system runs Apache, not IIS, and shows the same behaviour through the builtin webserver. Jochem - What would be interesting to see is why the batch file is in a hang condition. That is the $64k question. My best guess is that I need something like 'Interact with Desktop' so the cmd.exe under the lowpriv account can do something with its stderr and stdout. But 'Interact with Desktop' is only available for services under the Local System account, not under the mediumpriv account. 1) Download, install, and launch the DebugDiag v1.1 tool. You can get it from the Microsoft website I'm working on getting more tooling available on the server. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312950 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
Dave Watts wrote: I have a CF template that uses cfexecute to start a batch file named bootstrap.bat. bootstrap.bat runs under the same account as CF, mediumpriv. At the end of bootstrap.bat I have a runas command: runas /user:lowpriv /savecred D:\lowpriv\run.bat %RunName% Maybe you need to specify the path to runas? C:\windows\system32\runas.exe No, the process gets started under the lowpriv account just as it should, it just doesn't do anything anymore. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312951 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
You said the command works fine when you run it as your user then fire the runas right? Is your user a local/domain admin? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312952 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Long running CF Program
The ColdFusion code will continue running even if the user closes the browser, shuts down their computer, and goes home. Be careful if you do leave the browser open, I have had problems where Internet Explorer would re-request the page after about 8 hours of processing. Truthfully, if I were you, I would use a scheduled task to run every minute and process X number of records. If you really want to make a single request wait a minute doing a thread.sleep() will perform better since an endless loop checking the minute over and over will probably peg your CPU. ~Brad Original Message Subject: Re: Long running CF Program From: Scott Taylor [EMAIL PROTECTED] Date: Tue, September 23, 2008 9:12 am To: CF-Talk cf-talk@houseoffusion.com We have a number of programs that loop through data just like this. I haven't hit one yet that didn't continue merrily on its way until the loop was finished. I'm pretty sure that it will continue running. Scott Taylor I have a program that sends out bulk mail using CFMail. Problem is it sends the whole batch out at once. That sets off email blockers all over, so I have to trickle the mail out. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
Dana Kowalski wrote: You said the command works fine when you run it as your user then fire the runas right? Is your user a local/domain admin? The command runs fine when I: - log on to Windows as the mediumpriv user; - start cf using jrun -config instance1.config -start instance1 - call the CF template with the cfexecute command. The command does not run when I: - start instance1 as a Windows Service under the mediumpriv account; - call the CF template with the cfexecute command. The mediumpriv user is a regular user that is a member of the Users group and has the 'Log on as a Service' privilege. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312954 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Securing session
It definitely doesn't matter if it is encrypted or not. Just think about what happens when you read a cookie. Set a cookie, lets say a userid. In plain text, the userid might be 1000. When my application reads the cookie to find the users id, it asks the browser for the userid cookie, the browser hands me back the value of whatever is contained in that cookie. In plain text, it hands me back 1000. I check it against my database or whatever, see that 1000 corresponds to user Bob and say, oh, this is Bob. Now think about the situation where the cookie is an encrypted value. The cookie is still userid, but instead of 1000, the value is some sort of cryptographic hash of 1000. Lots of options for how to do the hash, but lets say that the outcome of the hash of 1000 is XXYHDG. That's what gets set in the cookie. The application comes along and asks the browser for the userid cookie. Browser reads the cookie and reports back to the app that the value is XXYHDG. Now your application looks up XXYHDG and says, oh, this matches up with Bob and his userid of 1000. Therefore it presumes you are Bob. If you copy that encrypted cookie over to another machine, the same exact process happens. The person doing the copy of the cookie doesn't care if Bob's userid is 1000 or XXYHDG. That information does them no good. They only care that your application will take that information and decide that they are Bob. Once your application decides that the person is Bob, they are in the clear. The actual value of the cookie is meaningless to them, only the function it serves in your authentication system. Hope that helps explain the situation a bit better. It obviously raises a number of very good questions, like, well, what are we supposed to do then? But there are a number of good resources out there on how to secure your web applications. Bottom line though, cookies are not secure and they should not be used as the primary method of authentication if you care about the applications security. Judah On Mon, Sep 22, 2008 at 7:45 PM, Al Musella, DPM [EMAIL PROTECTED]wrote: Dave, That is one of the scariest things I ever read :) Heath - If I am reading this correctly, encrypting the cookie doesn't matter. They can just get your encrypted cookie and use it as is, they do not need to unencrypt it. Thanks Dave, Do you think encrypting the cookie values would be acceptable way of securing the session? Heath ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: I have two applications running on CF8 Enterprise in a multiple-instance cluster. In one, I have no problems. In the other, I get a '/ by zero' error when coming into the app. Both set session variables and a timeout in exactly the same manner. Here's a little bit of the error: / by zero The error occurred in \\ikraid\ikweb\RmsLive\Application.cfm: line 114 110:cfapplication name=SRV1 111: clientmanagement=Yes 112: sessionmanagement=Yes 113: setclientcookies=Yes 114: sessiontimeout=#ThisSessionTimeout# ThisSessionTimeout is set to #CreateTimeSpan(0,2,0,0)# earlier in the code, and I've verified that it is set correctly. I'm stuck at this point. I can't see where there is any arithmetic operation in the cfapplication tag, but obviously it doesn't like something. Thanks for any help or advice. Scott Taylor ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Long running CF Program
I just set my Spooler in CF Admin, set the time for spooled messages to 60 seconds, and then it trickles them out. Sends three or four a minute I think. Rob On Tue, Sep 23, 2008 at 10:55 AM, [EMAIL PROTECTED] wrote: The ColdFusion code will continue running even if the user closes the browser, shuts down their computer, and goes home. Be careful if you do leave the browser open, I have had problems where Internet Explorer would re-request the page after about 8 hours of processing. Truthfully, if I were you, I would use a scheduled task to run every minute and process X number of records. If you really want to make a single request wait a minute doing a thread.sleep() will perform better since an endless loop checking the minute over and over will probably peg your CPU. ~Brad Original Message Subject: Re: Long running CF Program From: Scott Taylor [EMAIL PROTECTED] Date: Tue, September 23, 2008 9:12 am To: CF-Talk cf-talk@houseoffusion.com We have a number of programs that loop through data just like this. I haven't hit one yet that didn't continue merrily on its way until the loop was finished. I'm pretty sure that it will continue running. Scott Taylor I have a program that sends out bulk mail using CFMail. Problem is it sends the whole batch out at once. That sets off email blockers all over, so I have to trickle the mail out. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312957 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfexecute, Windows 2003 and runas
I know this exact issue has been a problem since CF 6.x. I've always thought it was a permissions problem, but to be honest I've never used cfexecute. We're just not allowed to =\ Is your CF install running as local system? If it's running as a specific user, you could try making the user starting the service a local/domain admin and see quick if it runs then. Obviously if it does, CF is lacking a permission to run it correctly. If you browse livedocs you'll see your exact issue wa back in 6.1 http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p25.htm There are a couple workarounds those people tried with varying success. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312958 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
You also might want to run Process Monitor on the server while executing this and see if it gives you any clue. - Matt Small I know this exact issue has been a problem since CF 6.x. I've always thought it was a permissions problem, but to be honest I've never used cfexecute. We're just not allowed to =\ Is your CF install running as local system? If it's running as a specific user, you could try making the user starting the service a local/domain admin and see quick if it runs then. Obviously if it does, CF is lacking a permission to run it correctly. If you browse livedocs you'll see your exact issue wa back in 6.1 http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p25.htm There are a couple workarounds those people tried with varying success. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312959 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Long running CF Program
Robert Harrison wrote: I have a program that sends out bulk mail using CFMail. Problem is it sends the whole batch out at once. That sets off email blockers all over, so I have to trickle the mail out. The proper place to do that is in your SMTP server. For instance, in Postfix that would be done by setting the default_destination_rate_delay to something not 0 seconds. In IIS SMTP server the closest is setting an outbound connection limit. Check the manual of your SMTP service. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312960 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Module for Pay-Pal integration
Did you ever get a response? I am trying to do the same thing as well. JHello everyone, I have several organizations wyho want to enable their Web sites to process transactions via Pay-Pal. I downloaded the Pay-Pal module which allows one to seemlessly integrate their PHP sites with Pay-Pal allowing visitors to remain on the native Web site while Pay-Pal works in the background. I found the PHP Asp.net and Classic ASP components for accomplishing this, but didn't find one for ColdFusion integration. Does anyone know where I can download the required component, or tell me where there are instructions for doing this using ColdFusion? Your assistance will be greatly. Happy new year from my wife and I. Peter Donahue ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312961 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Module for Pay-Pal integration
Rusty Owens wrote: Did you ever get a response? I am trying to do the same thing as well. I've done it once When I did it long ago, buried deep in the Pay Pal documentation behind the ASP* and PHP examples was one ColdFusion one. The basic concept is fairly simple. You make a request of a specific URL with specified parameters and then you parse the results. cfhttp worked fine to make the requests. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312962 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Module for Pay-Pal integration
Um, RIAForge? Found this in about 2 seconds: http://paypalcfc.riaforge.org/ Gentle reminder folks - if you want to find X support in CF, try searching on RIAForge (and yes, I know the search isn't the speediest in the world. ;) On Mon, Dec 31, 2007 at 7:32 PM, Peter Donahue [EMAIL PROTECTED] wrote: JHello everyone, I have several organizations wyho want to enable their Web sites to process transactions via Pay-Pal. I downloaded the Pay-Pal module which allows one to seemlessly integrate their PHP sites with Pay-Pal allowing -- === Raymond Camden, VP of Software Dev, Broadchoice Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312963 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
I should have put this in the OP. Both apps run on the same machine. The code that works is only very slightly modified and has the same cfapplication tag in it, and sets the variable ThisSessionTimeout exactly the same way. Scott Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312964 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFMAIL
Is there a way to insure that each variable will appear on a separate line when you process a form with cfmail? When the form is processed the Home Phone, Home Email, Local Address, and Local Phone are sent on 1 line with the Home Address. There are a total of 20 variables and these are the only ones that appear on 1 line. All other variables are sent on separate lines. ACTION PAGE Name: #form.name# Home Address: #form.hadd#, #form.city#, #form.state# #form.zip# Home Phone: #form.hphone# Home Email: #form.hemail# Local Address: #form.ladd# Local Phone: #form.lphone# Steve LaBadie, Web Manger East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312965 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMAIL
Just place a br/ after the variable and it will render onto a new line Subject: CFMAIL From: [EMAIL PROTECTED] To: cf-talk@houseoffusion.com Date: Tue, 23 Sep 2008 13:31:42 -0400 Is there a way to insure that each variable will appear on a separate line when you process a form with cfmail? When the form is processed the Home Phone, Home Email, Local Address, and Local Phone are sent on 1 line with the Home Address. There are a total of 20 variables and these are the only ones that appear on 1 line. All other variables are sent on separate lines. ACTION PAGE Name: #form.name# Home Address: #form.hadd#, #form.city#, #form.state# #form.zip# Home Phone: #form.hphone# Home Email: #form.hemail# Local Address: #form.ladd# Local Phone: #form.lphone#Steve LaBadie, Web Manger East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312966 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFMAIL
When I did that it was passed as text Steve LaBadie, Web Manger East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] -Original Message- From: Jarlath Eoin Gallagher [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 1:39 PM To: CF-Talk Subject: RE: CFMAIL Just place a br/ after the variable and it will render onto a new line Subject: CFMAIL From: [EMAIL PROTECTED] To: cf-talk@houseoffusion.com Date: Tue, 23 Sep 2008 13:31:42 -0400 Is there a way to insure that each variable will appear on a separate line when you process a form with cfmail? When the form is processed the Home Phone, Home Email, Local Address, and Local Phone are sent on 1 line with the Home Address. There are a total of 20 variables and these are the only ones that appear on 1 line. All other variables are sent on separate lines. ACTION PAGEName: #form.name# Home Address: #form.hadd#, #form.city#, #form.state# #form.zip# Home Phone: #form.hphone# Home Email: #form.hemail# Local Address: #form.ladd# Local Phone: #form.lphone#Steve LaBadie, Web Manger East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312967 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFMAIL
If you are not sending an HTML email ... set the ascii character cfset Variables.AddLineBreak = chr(10) / Name: #form.name# #Variables.AddLineBreak# Home Address: #form.hadd# #Variables.AddLinebreak# Ect.. Paul Giesenhagen QuillDesign http://www.quilldesign.com -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 12:32 PM To: CF-Talk Subject: CFMAIL Is there a way to insure that each variable will appear on a separate line when you process a form with cfmail? When the form is processed the Home Phone, Home Email, Local Address, and Local Phone are sent on 1 line with the Home Address. There are a total of 20 variables and these are the only ones that appear on 1 line. All other variables are sent on separate lines. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312968 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMAIL
Jarlath Eoin Gallagher wrote: Just place a br/ after the variable and it will render onto a new line OR #chr(13)##chr(10)# Depending on if your sending HTML or TEXT formated email. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312969 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
Could you try hardcoding the CreateTimeSpan(0,2,0,0) into the cfapplication tag, and at least see if that works? -- Josh - Original Message - From: Scott Taylor [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 23, 2008 10:17 AM Subject: Re: / by zero error I should have put this in the OP. Both apps run on the same machine. The code that works is only very slightly modified and has the same cfapplication tag in it, and sets the variable ThisSessionTimeout exactly the same way. Scott Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312970 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMAIL
Thank you Paul, your solution worked. Steve LaBadie, Web Manger East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 http://www.esu.edu [EMAIL PROTECTED] -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 1:42 PM To: CF-Talk Subject: RE: CFMAIL If you are not sending an HTML email ... set the ascii character cfset Variables.AddLineBreak = chr(10) / Name: #form.name# #Variables.AddLineBreak# Home Address: #form.hadd# #Variables.AddLinebreak# Ect.. Paul Giesenhagen QuillDesign http://www.quilldesign.com -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 12:32 PM To: CF-Talk Subject: CFMAIL Is there a way to insure that each variable will appear on a separate line when you process a form with cfmail? When the form is processed the Home Phone, Home Email, Local Address, and Local Phone are sent on 1 line with the Home Address. There are a total of 20 variables and these are the only ones that appear on 1 line. All other variables are sent on separate lines. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312971 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: 'Coldfusion' is undefined if using cflayout,cftree in cf8
I was able to reproduce the errror on my local machine. Moment i rename my scripts older in CFIDE folder.The same error is coming up. So the cause is that at the SERVER level my code is not able to acess the SCRIPTS folder under CFIDE. have you faced such issue in CF8 MULTISERVER istalled? As I mentioned earlier, you need to ensure that each virtual web server has the appropriate mapping to the /CFIDE directory. This has nothing to do with single-server vs multi-server in CF8, really. Create the appropriate virtual directories in your web server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312973 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: / by zero error
Can you include the stack trace as well, please? thanks, speeves On Tue, Sep 23, 2008 at 12:51 PM, Josh Nathanson [EMAIL PROTECTED]wrote: Could you try hardcoding the CreateTimeSpan(0,2,0,0) into the cfapplication tag, and at least see if that works? -- Josh - Original Message - From: Scott Taylor [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 23, 2008 10:17 AM Subject: Re: / by zero error I should have put this in the OP. Both apps run on the same machine. The code that works is only very slightly modified and has the same cfapplication tag in it, and sets the variable ThisSessionTimeout exactly the same way. Scott Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312974 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFMAIL
Thank you Paul, your solution worked. If that's the case, you might want to turn off aggressive whitespace management around your outgoing email... man I hate those features... cfmail ... cfprocessingdirective suppresswhitespace=false message here ... /cfprocessingdirective /cfmail That should allow it to behave normally rather than having to manually insert line breaks. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312975 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
(ot) Setting up an SVN on Localhost
Good day, I am trying to configure SVN for my local dev machine. Is it possible (using IIS (I know, I'm sorry)) to configure this to work just locally. I don't really want to be putting anything to an SVN server, unless I have to, I guess. Everytime I try to import a directory with a project in it into my newly created SVN repository, I get: The VCC property was not found on the resource Now, I have no idea what that means, and can't seem to google my way to an answer. If there is anyone who can help me set this up, it would be greatly appreciated! TIA, Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312976 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: (ot) Setting up an SVN on Localhost
The better option would be to create a development branch in your repository and just install a SVN client like Tortoise or one of the eclipse plugins if you use eclipse. I don't know what the VCC property is sorry Eric /*-Original Message- /*From: Rob Parkhill [mailto:[EMAIL PROTECTED] /*Sent: Tuesday, September 23, 2008 1:31 PM /*To: CF-Talk /*Subject: (ot) Setting up an SVN on Localhost /* /*Good day, /* /*I am trying to configure SVN for my local dev machine. Is it possible /*(using IIS (I know, I'm sorry)) to configure this to work just locally. I /*don't really want to be putting anything to an SVN server, unless I have /*to, I guess. /* /*Everytime I try to import a directory with a project in it into my newly /*created SVN repository, I get: /* /*The VCC property was not found on the resource /* /*Now, I have no idea what that means, and can't seem to google my way to an /*answer. If there is anyone who can help me set this up, it would be /*greatly appreciated! /* /*TIA, /* /*Rob /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312977 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 'Coldfusion' is undefined if using cflayout,cftree in cf8
thanks to all. I was able to reproduce the errror on my local machine. Moment i rename my scripts older in CFIDE folder.The same error is coming up. So the cause is that at the SERVER level my code is not able to acess the SCRIPTS folder under CFIDE. have you faced such issue in CF8 MULTISERVER istalled? Thanks, Deepender ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312972 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ot) Setting up an SVN on Localhost
Check this page out: http://docs.codehaus.org/display/GEOT/SVN+Windows svn can be accessed locally, (ie through a local client), through webDAV, or through svnserve, (the built-in server). The link above helps you to setup the command line client. speeves On Tue, Sep 23, 2008 at 1:30 PM, Rob Parkhill [EMAIL PROTECTED]wrote: Good day, I am trying to configure SVN for my local dev machine. Is it possible (using IIS (I know, I'm sorry)) to configure this to work just locally. I don't really want to be putting anything to an SVN server, unless I have to, I guess. Everytime I try to import a directory with a project in it into my newly created SVN repository, I get: The VCC property was not found on the resource Now, I have no idea what that means, and can't seem to google my way to an answer. If there is anyone who can help me set this up, it would be greatly appreciated! TIA, Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312978 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF Calendar Options
I'm looking for some good ColdFusion calendar options. Anyone have any good experiences with pre-constructed modules? Pay or otherwise? Thanks very much for the help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312979 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Module for Pay-Pal integration
There's nothing there to download. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312980 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CSS Failure in cfdocument (works once)
I'm using CF 8.01 with latest hotfixes. Have simple sample below that loops to create two PDF files. In the first one the CSS background-color style works. In the second it does not. Seems like a bug to me. Thoughts? cfloop index=i from=1 to=2 cfdocument format=PDF filename=#i#.pdf overwrite=Yes html head style type=text/css media=print h1 {background-color: #ddd;} /style /head body h1This is Heading One/h1 /body/html /cfdocument /cfloop ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312981 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Calendar Options
Here's one: http://www.steveeray.com/webdesign/calendar.cfm ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312982 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Calendar Options
Hi Keith, Check out the calendar module (daily, weekly, monthly, dashboard, global calendar and many other options) in the VICO suite. Was released as a dual source open and commercial license. You can get it at: http://vicocrm.riaforge.org If you have any questions please contact me off line Regards Marius Milosav ScorpioSoft Corp. www.scorpiosoft.com -Original Message- From: Wurst, Keith D. [mailto:[EMAIL PROTECTED] Sent: September 23, 2008 3:14 PM To: CF-Talk Subject: CF Calendar Options I'm looking for some good ColdFusion calendar options. Anyone have any good experiences with pre-constructed modules? Pay or otherwise? Thanks very much for the help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312983 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Module for Pay-Pal integration
I'd suggest pinging the project owner. He may not have had a chance to upload it yet. On Tue, Sep 23, 2008 at 2:16 PM, Ian Rutherford [EMAIL PROTECTED] wrote: There's nothing there to download. -ray ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312984 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Module for Pay-Pal integration
I have done a lot of Paypal integration so ping me if you need to. http://cfpayflowpro.riaforge.org/ Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org On Tue, Sep 23, 2008 at 3:32 PM, Raymond Camden [EMAIL PROTECTED] wrote: I'd suggest pinging the project owner. He may not have had a chance to upload it yet. On Tue, Sep 23, 2008 at 2:16 PM, Ian Rutherford [EMAIL PROTECTED] wrote: There's nothing there to download. -ray ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312985 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfexecute, Windows 2003 and runas
Dana Kowalski wrote: Is your CF install running as local system? No, it is running as mediumpriv. If it's running as a specific user, you could try making the user starting the service a local/domain admin and see quick if it runs then. It doesn't when I run CF as a service, it does when I run CF interactively. So the same as the mediumpriv account. Jochem ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312986 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf_upsprice problem anyone?
Did you ever find out what was causing the problem I have been using for 5 years..and never had a problem with it till now.. Is anyone out there experiencing any problem with this tag? We've used it in one of our e-commerce site and started to give us problems in the past two days. People would put in their zipcode as input and the site immediately choked. Here's the specific error that I got: CALLER.UPS_Error = ListGetAt(CFHTTP.FileContent, 2, %) I'm aware of the conversation that this tag wille eventually cease to work, but I don't expect to be this soon. Thanks in advance for everyone's help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312987 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
I did try hardcoding the createtimespan, and output the variable - same either way. Here's the stack trace: java.lang.ArithmeticException: / by zero at coldfusion.util.CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.util.FastHashtable.find(FastHashtable.java:38) at coldfusion.util.CaseInsensitiveMap.put(CaseInsensitiveMap.java:230) at coldfusion.util.FastHashtable.put(FastHashtable.java:43) at coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:56) at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) at coldfusion.runtime.Scope.put(Scope.java:74) at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:75) at coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:597) at coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:647) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:278) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:214) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Thanks, Scott Can you include the stack trace as well, please? thanks, speeves On Tue, Sep 23, 2008 at 12:51 PM, Josh Nathanson [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312988 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf_upsprice problem anyone?
Is anyone out there experiencing any problem with this tag? We've used it in one of our e-commerce site and started to give us problems in the past two days. People would put in their zipcode as input and the site immediately choked. Here's the specific error that I got: CALLER.UPS_Error = ListGetAt(CFHTTP.FileContent, 2, %) I'm aware of the conversation that this tag wille eventually cease to work, but I don't expect to be this soon. Thanks in advance for everyone's help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312989 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
It looks to me as if your session timeout variable is empty, causing the : java.lang.ArithmeticException: / by zero at coldfusion.util. CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) I'm with Josh on this. (sessiontimeout=#CreateTimeSpan(0,0,15,0)#) Use the example above, and make sure that you restart your coldfusion server to clear out the application variables. I'm not clear if this is a clustered instance, but if so, make sure that you are using J2EE session variables. If they are clustered, it could be that the nodes aren't sharing session variables. speeves On Tue, Sep 23, 2008 at 3:37 PM, Scott Taylor [EMAIL PROTECTED]wrote: I did try hardcoding the createtimespan, and output the variable - same either way. Here's the stack trace: java.lang.ArithmeticException: / by zero at coldfusion.util.CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.util.FastHashtable.find(FastHashtable.java:38) at coldfusion.util.CaseInsensitiveMap.put(CaseInsensitiveMap.java:230) at coldfusion.util.FastHashtable.put(FastHashtable.java:43) at coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:56) at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) at coldfusion.runtime.Scope.put(Scope.java:74) at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:75) at coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:597) at coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:647) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:278) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:214) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Thanks, Scott Can you include the stack trace as well, please? thanks, speeves On Tue, Sep 23, 2008 at 12:51 PM, Josh Nathanson [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312990 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: / by zero error
It looks to me as if your session timeout variable is empty, causing the : java.lang.ArithmeticException: / by zero at coldfusion.util. CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) I'm with Josh on this. (sessiontimeout=#CreateTimeSpan(0,0,15,0)#) Use the example above, and make sure that you restart your coldfusion server to clear out the application variables. I'm not clear if this is a clustered instance, but if so, make sure that you are using J2EE session variables. If they are clustered, it could be that the nodes aren't sharing session variables. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312991 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Disabling Application.cfm for a specific page
Hi, Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? The cfm is in a regular directory in the web root and I'd prefer to not mess with the directory structure or cfadmin custom tag paths. If you know of a way to do this, let me know. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312992 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Using Max Function on more that two data values
Hello, I have a query that returns sum of votes for each party in a constituency and I need to find out which party had the most votes within each constituency. Here is more detail about what I have done and what I want to do. I have the following tables along with their attributes(the stared fields show the primary key: Agent(AgentPhoneNo*, NameOfAgent) Constituency(ConstituencyNo*, ConstituencyName,District,RegionCode) PollingStation(StationNo*,ConstituencyNo*,AgentPhoneNo, StationName) VoteResults(Party*, ResultsCategory*,Votes, AgentPhoneNo*) Results category has two values (S,L) and the number of parties is variable My issue is this, below is my code that returns the total votes received by each party within each constituency. This query works fine. cfquery name=PartyConstituencyResults datasource=#request.datasource# SELECT c.ConstituencyName, s.ConstituencyNo, v.Party, Sum(v.Votes) AS TotalVotes From (Constituency c INNER JOIN PollingStation s ON c.ConstituencyNo = s.ConstituencyNo) INNER JOIN VoteResults v ON s.AgentPhoneNo = v.AgentPhoneNo WHERE v.ResultCategory = 'L' AND s.ConstituencyNo IN (Select ConstituencyNo From Constituency) Group By c.ConstituencyName, s.ConstituencyNo, v.Party Order By c.ConstituencyName /cfquery Now I want to check and return the name and total votes of the party with the maximum votes within each constituency. And but I can't seem to figure out how to do that, especially because the max() function takes only to values. I will appreciate any guidance on how to write a query that returns the the party with the maximum votes in each constituency and the votes it got. TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312993 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disabling Application.cfm for a specific page
are there other files in that directory? if not (or if the other files meet the same criteria and shouldn't invoke the Application.cfm), you can put an Application.cfm in that directory. CF will 'execute' that one and not the 'parent' one. Or (and this is a little fuglier), you can put conditional logic in the 'main' Application.cfm to not run if the requested template is foo.cfm. cfapplication ... / cfif cgi.script_name is not foo.cfm do application stuff here /cfif On Tue, Sep 23, 2008 at 3:01 PM, Philip Kaplan [EMAIL PROTECTED] wrote: Hi, Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? The cfm is in a regular directory in the web root and I'd prefer to not mess with the directory structure or cfadmin custom tag paths. If you know of a way to do this, let me know. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312994 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disabling Application.cfm for a specific page
I quite sure you cannot do it without creating a sub application or moving the file outside of the root application. Ie. application.cfm (the root application) onRequestEnd.cfm SomeFolder --- application.cfm -- creating a sub app --- myFile.cfm (that won't use the root application.cfm) SomeOtherFolder --- someFile.cfm (will use the root application.cfm) Dominic 2008/9/23 Philip Kaplan [EMAIL PROTECTED]: Hi, Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? The cfm is in a regular directory in the web root and I'd prefer to not mess with the directory structure or cfadmin custom tag paths. If you know of a way to do this, let me know. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312995 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Disabling Application.cfm for a specific page
Charlie- I was hoping for something more elegant but I might have to resort to that Dominic- That's what I was afraid of Thanks guys! On Tue, Sep 23, 2008 at 3:08 PM, Dominic Watson [EMAIL PROTECTED] wrote: I quite sure you cannot do it without creating a sub application or moving the file outside of the root application. Ie. application.cfm (the root application) onRequestEnd.cfm SomeFolder --- application.cfm -- creating a sub app --- myFile.cfm (that won't use the root application.cfm) SomeOtherFolder --- someFile.cfm (will use the root application.cfm) Dominic 2008/9/23 Philip Kaplan [EMAIL PROTECTED]: Hi, Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? The cfm is in a regular directory in the web root and I'd prefer to not mess with the directory structure or cfadmin custom tag paths. If you know of a way to do this, let me know. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312996 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Disabling Application.cfm for a specific page
Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? No, you can't do this without moving the files around. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312997 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Warm up CF8 service
Ok, what I meant is, cf8 seems like a car, one needs to start I don't think you can do this with CF alone, but you should be able to do it other ways. For example, you could create a batch file that invokes wget to call a page, and you could launch that batch file after the service has started - on Windows, you could use srvany to make it a service. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Good info, I'll try them out... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312998 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Warm up CF8 service
Ok, what I meant is, cf8 seems like a car, one needs to start I don't think you can do this with CF alone, but you should be able to do it other ways. For example, you could create a batch file that invokes wget to call a page, and you could launch that batch file after the service has started - on Windows, you could use srvany to make it a service. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ But wait, what this wget utility is about? I have a bunch of wget.exe spreading around from various programs in my hard drive. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312999 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Disabling Application.cfm for a specific page
I see to remember that you could just create a bare-bones app.cfm in that directory (thought it will affect all pages in that directory). This will not stop the app.cfm from loading, but will stop it from loading content from the app.cfm at the site root. On Sep 23, 2008, at 3:01 PM, Philip Kaplan wrote: Hi, Anyone know if there's a way to stop a specific cfm/cfc page from loading Application.cfm and OnRequestEnd.cfm? The cfm is in a regular directory in the web root and I'd prefer to not mess with the directory structure or cfadmin custom tag paths. If you know of a way to do this, let me know. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313000 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Using Max Function on more that two data values
cfquery name=PartyConstituencyResults datasource=#request.datasource# SELECT c.ConstituencyName, s.ConstituencyNo, v.Party, Sum(v.Votes) AS TotalVotes From (Constituency c INNER JOIN PollingStation s ON c.ConstituencyNo = s.ConstituencyNo) INNER JOIN VoteResults v ON s.AgentPhoneNo = v.AgentPhoneNo WHERE v.ResultCategory = 'L' AND s.ConstituencyNo IN (Select ConstituencyNo From Constituency) Group By c.ConstituencyName, s.ConstituencyNo, v.Party Order By c.ConstituencyName /cfquery After this query, add a query of query that gets the top 1 record sorted by totalVotes desc: cfquery name=WinningConstituency dbtype=query maxrows=1 select * from PartyConstituencyResults order by TotalVotes desc /cfquery That oughta do it. :) hth -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313001 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Warm up CF8 service
But wait, what this wget utility is about? http://en.wikipedia.org/wiki/Wget Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313002 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Flash Movie not playing
Does anyone know why this url would play all of the flash movies: http://sfwater.org/flash_test.cfm?MC_ID=35 But this one does not play one of them. http://sfwater.org/flash_test.cfm/MC_ID/35 This is the code that is converting the urls: CFSET PATH = REReplace(CGI.PATH_INFO,.*#ListLast(CGI.CF_TEMPLATE_PATH,\)#,) CFIF NOT Len(Path)CFEXIT/CFIF CFLOOP INDEX=X FROM=1 TO=#ListLen(Path,/)# STEP=2 CFTRY CFSET URL.#ListGetAt(Path,X,/)# = ListGetAt(Path,X+1,/) CFCATCH /CFCATCH /CFTRY /CFLOOP Thanks for the help with this. Jennifer ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313003 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flash Movie not playing
You probably need to set a base href. Try adding this: base href=http://sfwater.org/ http://sfwater.org/flash_test.cfm?MC_ID=35 Steve Nelson On Tue, Sep 23, 2008 at 7:18 PM, jennifer drechsler [EMAIL PROTECTED]wrote: Does anyone know why this url would play all of the flash movies: http://sfwater.org/flash_test.cfm?MC_ID=35 But this one does not play one of them. http://sfwater.org/flash_test.cfm/MC_ID/35 This is the code that is converting the urls: CFSET PATH = REReplace(CGI.PATH_INFO,.*#ListLast(CGI.CF_TEMPLATE_PATH,\)#,) CFIF NOT Len(Path)CFEXIT/CFIF CFLOOP INDEX=X FROM=1 TO=#ListLen(Path,/)# STEP=2 CFTRY CFSET URL.#ListGetAt(Path,X,/)# = ListGetAt(Path,X+1,/) CFCATCH /CFCATCH /CFTRY /CFLOOP Thanks for the help with this. Jennifer ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313004 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 Verity ServiceFactory
Hello all, We have an application that was created years ago for CF6 and uses some of the servicefactory methods for Verity. We have upgraded to CF8 recently and some of the code no longer works. A simple example of code that works on CF 6 but not on CF 8 is below--it just dumps the verity collections on the server: cfobject action=CREATE type=JAVA class=coldfusion.server.ServiceFactory name=obj cfdump var=#obj.getVerityService().getCollections()# In CF 8 I get the error: The getCollections method was not found. My question is, is this possible to do with CF 8? Do I just need to install the old servicefactory classes (if so, where are they located on the server)? Or is there some other way to do this with CF 8? Thanks in advance for your help! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313005 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flash Movie not playing
Is there a way to set the base without out using an href. What if someone types this url into the browser and doesn't get here from a link, or gets here from a link that I don't control? You probably need to set a base href. Try adding this: base href=http://sfwater.org/ http://sfwater.org/flash_test.cfm?MC_ID=35 Steve Nelson On Tue, Sep 23, 2008 at 7:18 PM, jennifer drechsler [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313006 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flash Movie not playing
As far as I can tell from your example, that should matter. Unless you were to set the href as a relative path. In the past when I've used this, I tend to make it dynamic. Like this: base href=http://#cgi.serverName#/; Do you have an example of when an external link would break it? Steve Nelson On Tue, Sep 23, 2008 at 7:35 PM, jennifer drechsler [EMAIL PROTECTED]wrote: Is there a way to set the base without out using an href. What if someone types this url into the browser and doesn't get here from a link, or gets here from a link that I don't control? You probably need to set a base href. Try adding this: base href=http://sfwater.org/ http://sfwater.org/flash_test.cfm?MC_ID=35 Steve Nelson On Tue, Sep 23, 2008 at 7:18 PM, jennifer drechsler [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313007 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flash Movie not playing
Actually, after doing a little digging around, and your suggestion of base, I finally figured out how and where to put this tag. Thanks so much for pointing me in the right direction. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313008 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Warm up CF8 service
But wait, what this wget utility is about? http://en.wikipedia.org/wiki/Wget Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! Didn't wiki would have entry for it, thanks, Dave. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313009 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Survey?
Hey Will... I'd be interested. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:4007 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: Survey?
Hi William Yes, it is good, please include me too. You may include in your survey about: 1.CF comparison with other web scripting technologies 2.Adobe future support for CF 3.Salary comparison with other web scripting technologies 4.How easy finding CF job Best regards Younas Aamir Hey all, I am thinking about putting together an intensive survey online for specifically ColdFusion developers and programmers. The theory is that if I am able to get enough anonymous respondents across the USA (and eventually world-wide) then I can publish to the respondents certain 'facts' about the life of a ColdFusion programmer. I have read many different studies on payrates, etc that focus on IT in general, but have not come across one that compares a specific discipline across cities, regions, states, etc. Is this something that would interest the users here? Would you respond to this kind of a survey? Most importantly, what kinds of data would YOU be interested in seeing come out of this kind of a survey? What kinds of questions about the CF world would you like to see answered? Thanks, William ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:4008 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11