Re: New CF8 vulnerability

2009-07-07 Thread Dave l
Well, CF contains TONS of bundled items I've switched to railo now which doesn't have some of that stuff but it might be a good idea for adobe to implement some admin controls to be able to turn that stuff on or off. here is the video http://www.coldfusion.tv/viewVideo.cfm?videoID=111

Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
I need help on this, can any one tell me that, how can i get the last modified date of a file, because every day my file is going to update i.e some scheduler is runnign for that.Just i need last modified date of that file.

Re: Reg:Last modified Date for file

2009-07-07 Thread Charlie Griefer
cfdirectory action=list ... / will return a query object listing all of the files. if you do a cfdump of that query, you'll see the dateLastModified as one of the available columns. On Tue, Jul 7, 2009 at 2:38 AM, RamaDevi Dobbala ramadobb...@gmail.comwrote: I need help on this, can any one

RE: Last modified Date for file

2009-07-07 Thread Adrian Lynch
Try GetFileInfo() on CF8. Not sure how reliable the date last modified attribute is though. Doesn't it get updated with any kind of access? Maybe I'm thinking of something else. Adrian -Original Message- From: RamaDevi Dobbala [mailto:ramadobb...@gmail.com] Sent: 07 July 2009 10:39

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
cfset fileList = datatrac.csv,datatrac-ag.csv cfoutput cfloop list=#fileList# index=page cfdirectory action=list directory=#application.domainname#\sections\uploads\xfer\ filter=#page# name=qGetLastdateModified #page# was last modified on :

Re: Reg:Last modified Date for file

2009-07-07 Thread Charlie Griefer
what do you see if you do a cfdump var=#qGetLastdateModified# / ? On Tue, Jul 7, 2009 at 2:56 AM, RamaDevi Dobbala ramadobb...@gmail.comwrote: cfset fileList = datatrac.csv,datatrac-ag.csv cfoutput cfloop list=#fileList# index=page cfdirectory action=list

RE: Reg:Last modified Date for file

2009-07-07 Thread Adrian Lynch
Dump qGetLastdateModified to see what's being returned as your code looks sound. Adrian -Original Message- From: RamaDevi Dobbala [mailto:ramadobb...@gmail.com] Sent: 07 July 2009 10:57 To: cf-talk Subject: Re: Reg:Last modified Date for file cfset fileList =

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
datatrac.csv was last modified on : datatrac-ag.csv was last modified on : query ATTRIBUTES DATELASTMODIFIEDDIRECTORY MODENAME SIZETYPE it's printing the structure not the values: Dump qGetLastdateModified to see what's being returned as your code looks

Re: Reg:Last modified Date for file

2009-07-07 Thread Azadi Saryev
make sure that 1) the path you specify in DIRECTORY attribute is a) correct and b) full absolute path (not relative) 2) those files actually exist in that directory Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 07/07/2009 17:15, RamaDevi Dobbala wrote: datatrac.csv was last modified

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
datelastmodified is there in that, but why it is not printing that?. datatrac.csv was last modified on : datatrac-ag.csv was last modified on : query ATTRIBUTES DATELASTMODIFIEDDIRECTORY MODENAME SIZETYPE it's printing the structure not the values: Dump

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
In some other place i am using the same file path there it is giving correct result only,but not here why? make sure that 1) the path you specify in DIRECTORY attribute is a) correct and b) full absolute path (not relative) 2) those files actually exist in that directory Azadi Saryev

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
cfset filePath = #application.domainname#/sections/uploads/xfer/datatrac.csv cfset fileObj = createObject(java,java.io.File).init(filePath) cfset fileDate = createObject(java,java.util.Date).init(fileObj.lastModified()) cfoutputFile Last modified date:#dateformat(fileDate,' d

Re: Reg:Last modified Date for file

2009-07-07 Thread Azadi Saryev
what does your #application.domainname# var evaluate to? is it an absolute path, i.e. C:\somedir\blahblahblah ? also, check permissions on that folder. can CF access it at all? can CF read a file from that folder? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 07/07/2009 17:31,

Re: Reg:Last modified Date for file

2009-07-07 Thread RamaDevi Dobbala
ya exactly, i have all permission on that file.This file path is absolute path. what does your #application.domainname# var evaluate to? is it an absolute path, i.e. C:\somedir\blahblahblah ? also, check permissions on that folder. can CF access it at all? can CF read a file from that folder?

Re: New CF8 vulnerability

2009-07-07 Thread Tom Chiverton
On Monday 06 Jul 2009, Pete Freitag wrote: I would keep FCKeditor file upload manager disabled for now: http://www.petefreitag.com/item/705.cfm As you seem to have a good test case, is it enough to set Config.Enabled=false ? -- Helping to efficiently empower customized distributed

Re: aggregate query problems

2009-07-07 Thread Jason Fisher
Hmmm ... do you get a record for every language group if you CFDUMP that query or if you run it directly on the DB server? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

Ext Js 3.0 Released

2009-07-07 Thread Cutter (ColdFusion)
Ext Js, the force behind the ColdFusion Ajax components, has just released v3.0. This update, which will be included in ColdFusion 9 (according to the slide deck used when the Adobe User Group Tour stopped here in Nashville), is a significant upgrade, with many new features to take advantage

Re: Ext Js 3.0 Released

2009-07-07 Thread James Holmes
My only gripe is that they only included one theme with the current ExtJS deployment. However, it won't take long before people modify the old themes and port them across. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/7 Cutter (ColdFusion)

problem with the output

2009-07-07 Thread alex poyaoan
Hi all am using cfmx7 and got a problem with the output of an ntext field.. On the database all of the data is there but on my cfoutput even on a cfdump it truncates the output.. the lenght of the data is 32223 characters with spaces... is there a limit on the cfoutput of ntext fields? thanks

Re: problem with the output

2009-07-07 Thread Dave Watts
Hi all am using cfmx7 and got a problem with the output of an ntext field.. On the database all of the data is there but on my cfoutput even on a cfdump it truncates the output.. the lenght of the data is 32223 characters with spaces... is there a limit on the cfoutput of ntext fields?

Re: aggregate query problems

2009-07-07 Thread Seamus Campbell
Ta - just tried that and no records for all language groups. BUT that did make me realise one of my (many) errors - the database is actually quite complicated so I created a table (tbl_demographics) which I re-populate every time I run this query - and that does not collect towns with zero

Re: DSN is Saving CF Query Ops to Wrong Database?

2009-07-07 Thread Matthew Reinbold
So do your Application.cfc files have a cfset this.name = etc / in their pseudo constructors? The application name is setup exactly as you've described: this.name = 'myapp'. But the dsn used by queries is set in the onapplicationstart method by saying application.ds = 'mydb'. As implied

Re: aggregate query problems

2009-07-07 Thread Jason Fisher
LOL, I know that feeling. With that LEFT JOIN, though, you should see records even where there are none in tbl_demographics ... odd. ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: problem with the output

2009-07-07 Thread alex poyaoan
Thanks a lot Dave that got my outputs going... Hi all am using cfmx7 and got a problem with the output of an ntext field.. On the database all of the data is there but on my cfoutput even on a cfdump it truncates the output.. the lenght of the data is 32223 characters with spaces...

Re: DSN is Saving CF Query Ops to Wrong Database?

2009-07-07 Thread Matthew Reinbold
the DEV table on one instance while the datasource 'mydb' is configured to use the TEST table Ugh. Long night of tracking down shadows, hints, and allegations. That's the DEV *database* and the TEST *database*, not tables. Turns out the problem was that the previous developer had buried

Reality check

2009-07-07 Thread Phillip Vector
Just need confirmation that I'm not losing it.. I have apache running on my dev server. A client gave me his files and I'm trying to get them set up on my local server (he is running IIS). However, after I create the mappings in CF and go to the directory that in his IIS, he has set to default

Re: Reality check

2009-07-07 Thread Alan Rother
The code is just broke.It sounds like it, but it would be helpful if you showed us the actual error message. -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org

Re: Reality check

2009-07-07 Thread Cutter (ColdFusion)
That might depend on the app. We have seen instances where IIS will pass something as one CGI variable, whereby Apache would send it as something completely different. If you don't have internal logic to check for both and act accordingly, it can be an issue. These occurrences are rare, but

Re: DSN is Saving CF Query Ops to Wrong Database?

2009-07-07 Thread Adam Haskell
Point of clarification Jrun (app server) can have multiple ColdFusion deployments (WARs or EARs) and while they share the same JVM they are separate. In other words, you could have CF Instance 1 with an application named MyApp and a cf instance 2 with an application named MyApp and they would not

Flash forms problem

2009-07-07 Thread Kris Sisk
I just upgrade to CF 8 and the upgrade did not go well. I ended up having to configure the connectors in IIS6 manually. I've gotten everything working again except for flash forms. They start to load fine, but some things don't. Notably, any text or html cfformitems don't load at all and any

RE: Reality check

2009-07-07 Thread Nathan C. Smith
Don't forget about case-sensitivity of filenames. Especially on includes and such. -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Tuesday, July 07, 2009 10:25 AM To: cf-talk Subject: Reality check Just need confirmation that I'm not losing it..

Re: Reality check

2009-07-07 Thread Phillip Vector
The files were given to me as is and I was told they work fine on his windows dev machine. The more I think about it, the more I'm wondering if I don't have the files that are on the server, or his remake of it (he said only the admin directory works currently, but on the site, the non-admin

Re: Reality check

2009-07-07 Thread Phillip Vector
As for the error message.. The WEEKDAYDAO argument passed to the init function is not of type ScheduleTimeDAO. If the component name is specified as a type of this argument, its possible that a definition file for the component cannot be found or is not accessible. The error occurred in

RE: Reality check

2009-07-07 Thread Paul Alkema
Hey Nathan, Could you provide the error your receiving? Paul Alkema Application Developer http://www.alkemadesigns.com/ -Original Message- From: Nathan C. Smith [mailto:nathan.sm...@ipmvs.com] Sent: Tuesday, July 07, 2009 12:18 PM To: cf-talk Subject: RE: Reality check Don't forget

Re: Reality check

2009-07-07 Thread Francois Levesque
Is the app installed at the same place than on his machine relative to the root? The error seems to say that the object isn't returning in the right type, probably because it's missing the path (or mapping). Francois Levesque http://blog.critical-web.com/ On Tue, Jul 7, 2009 at 12:24 PM,

Re: Reality check

2009-07-07 Thread Alan Rother
The WEEKDAYDAO argument passed to the init function is not of type ScheduleTimeDAO. Umm Bingo. If you check *Disable CFC Type Check in the CFADMIN (Server SettingsSettings) That will make this error go away.* *=] * -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager,

Re: Reality check

2009-07-07 Thread Phillip Vector
Holly s**t... That worked.. Thanks. :) On Tue, Jul 7, 2009 at 9:28 AM, Alan Rotheralan.rot...@gmail.com wrote: The WEEKDAYDAO argument passed to the init function is not of type ScheduleTimeDAO. Umm Bingo. If you check *Disable CFC Type Check in the CFADMIN (Server SettingsSettings) That

RE: Reality check

2009-07-07 Thread Paul Alkema
Good call Alan. :) Paul Alkema Application Developer http://www.alkemadesigns.com/ -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Tuesday, July 07, 2009 12:33 PM To: cf-talk Subject: Re: Reality check Holly s**t... That worked.. Thanks. :) On Tue,

Getting back up to speed with things?

2009-07-07 Thread Chris Johnson
Over the past several years, work has revolved around 2 large projects for different companies that both used CF7. Both being very low on funds for a developer, time has been of the essence, which left no time for keeping up to date with CF8, CFCs, etc. Finally at the point where I can take

RE: Reality check

2009-07-07 Thread Adrian Lynch
cfset variables.instance.scheduleWeekdayDAO=null / Ermmm, since when has this worked?! Do you create your own null variable? Adrian -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: 07 July 2009 17:24 To: cf-talk Subject: Re: Reality check

Re: Getting back up to speed with things?

2009-07-07 Thread Casey Dougall
On Tue, Jul 7, 2009 at 12:51 PM, Chris Johnson u...@askugg.com wrote: In need of some serious up-to-date immersion :) cfunited? ~| Want to reach the ColdFusion community with something they want? Let them know on the

Re: Reality check

2009-07-07 Thread Phillip Vector
Like I mentioned before, this is badly written code and apparently, it's being held together by some gum and duct tape (TAKE THAT MCGUYVER!) :) Anyway, yeah. I hope to be able to convince the guy to just let me overhaul the entire thing as there's allot of things like this. On Tue, Jul 7, 2009

RE: Reality check

2009-07-07 Thread Adrian Lynch
The reason I asked is because cfset something = null will error unless null is defined. I thought maybe there was some Java magic going on a few lines up. -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: 07 July 2009 18:27 To: cf-talk Subject: Re:

Re: Reality check

2009-07-07 Thread Phillip Vector
Nope. No java magic. At least, not from what I saw in the limited amount of time I was willing to dive into this. :) On Tue, Jul 7, 2009 at 10:34 AM, Adrian Lynchcont...@adrianlynch.co.uk wrote: The reason I asked is because cfset something = null will error unless null is defined. I thought

Equity

2009-07-07 Thread Phillip Vector
Just curious about what people think.. Would you ever work for equity in a company? Why or why not? What guidelines would you put in place if you were to? ~| Want to reach the ColdFusion community with something they want? Let

Re: Equity

2009-07-07 Thread Wil Genovese
During the dot-bomb phase I worked for shares of stock. I have 13,000 shares of one company that no longer exists and 72,500 shares in another that does not exist. I'm not sure if these times are much different. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is

Re: Equity

2009-07-07 Thread Alan Rother
It's a big gamble. I think the most important factors are: - How much do you believe in the idea? - How much do you believe in the people running the company? (I've seen a lot of great ideas run into the ground by people who just don't know what they are doing) - How much is your

ColdFusion crawler that appears to be a user-agent?

2009-07-07 Thread tinar...@aol.com tinar...@aol.com
At my job we have a secure website. Every hit to the site is captured by the tracking system to the SQL Server database. We need to create an inventory system that can look at the data and tell us about the assets on the site. To get the appropriate data into the database, we need to use a

Re: Getting back up to speed with things?

2009-07-07 Thread Cameron Childress
CFUnited is a great suggestion. I would also start with the (free) online documentation at http://livedocs.adobe.com Also, FYI - both CFCs and Application.cfc existed in CF7 - they are not new to CF8. -Cameron On Tue, Jul 7, 2009 at 12:51 PM, Chris Johnsonu...@askugg.com wrote: Over the past

Directory Crawler that looks like a User-Agent

2009-07-07 Thread tinar...@aol.com tinar...@aol.com
At my job we have a secure website. Every hit to the site is captured by the tracking system to the SQL Server database. We need to create an inventory system that can look at the data and tell us about the assets on the site. To get the appropriate data into the database, we need to use a

Directory Crawler that looks like a user-agent

2009-07-07 Thread Tina Rock
Sorry if this posted more than once. At my job we have a secure website. Every hit to the site is captured by the tracking system to the SQL Server database. We need to create an inventory system that can look at the data and tell us about the assets on the site. To get the appropriate data

Re: Equity

2009-07-07 Thread Dave Watts
Just curious about what people think.. Would you ever work for equity in a company? Why or why not? What guidelines would you put in place if you were to? I think this is an inappropriate question for a technical list. I think you would be better served by posting this to cf-community. Dave

RE: Reality check

2009-07-07 Thread Paul Alkema
Adrian, You can't see what's before line 4, maybe it's something like... 3: cfset null=null 4: cfset variables.instance.scheduleWeekdayDAO=null / Paul Alkema Application Developer http://www.alkemadesigns.com/ -Original Message- From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]

Re: ColdFusion crawler that appears to be a user-agent?

2009-07-07 Thread Michael Dinowitz
It should take you all of 2 minutes to write one using cfhttp with the useragent attribute set to something like Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 This is a fragment of a bot I wrote to go to a manga site and download all of the images

Re: Directory Crawler that looks like a user-agent

2009-07-07 Thread Dave Watts
At my job we have a secure website. Every hit to the site is captured by the tracking system to the SQL Server database. We need to create an inventory system that can look at the data and tell us about the assets on the site. To get the appropriate data into the database, we need to

RE: Equity

2009-07-07 Thread Mark Kruger
Unless you have an absolutely compelling reason you should not do it. It is a two edge sword and it makes projects hard to walk away from as well. Only one group of folks have made money in a predictable way on the web - consultants (and porn vendors but I'll leave them out as a matter of

Re: Directory Crawler that looks like a user-agent

2009-07-07 Thread Michael Dinowitz
And you have to take into account travel via javascript, where links could be inside included .js files. An intelligent cfhttp based bot can do it all but you need to code it. There is probably anon CF based software solution already out there to do just this. On Tue, Jul 7, 2009 at 7:04 PM,

Re: Equity

2009-07-07 Thread Judah McAuley
I'd generally avoid equity only deals. In my experience the people that are proposing those sorts of deals to major developers also don't have the money make the business succeed once the product is built. If they don't have the money to pay developers to build their dream then either they don't

Re: Equity

2009-07-07 Thread Cameron Childress
On Tue, Jul 7, 2009 at 1:54 PM, Phillip Vectorvec...@mostdeadlygame.com wrote: Just curious about what people think.. Would you ever work for equity in a company? Why or why not? What guidelines would you put in place if you were to? I would ask these three questions of yourself: Do you

Re: Equity

2009-07-07 Thread James Holmes
Or cf-jobs-talk perhaps. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/7/8 Dave Watts dwa...@figleaf.com: Just curious about what people think.. Would you ever work for equity in a company? Why or why not? What guidelines would you put in place if you

Re: Reality check

2009-07-07 Thread Cameron Childress
On Tue, Jul 7, 2009 at 12:28 PM, Alan Rotheralan.rot...@gmail.com wrote: If you check *Disable CFC Type Check in the CFADMIN (Server SettingsSettings) That will make this error go away.* It's worth noting that this could actually cause other problems for you in the long run if you do not

Re: Equity

2009-07-07 Thread Judah McAuley
cf-community, perhaps. One of the problems with the HOF lists that I have mentioned to Michael (bless his soul for all the hard work he and Judith put in for the griping of folks like myself) is that they fragment way too easily and the specialized lists get started too early and die before they