Developer knowledge/admin access was: Source control in CF
On 31 January 2013 01:11, Raymond Camden raymondcam...@gmail.com wrote: Maybe I'm crazy, but if a developer doesn't know how to install ColdFusion, or install a web server, than they aren't a web developer. (And they can learn to this in one hour.) I have _never_ seen an org where IT was responsible for setting up base installs like that. That would be like IT installing Chrome for you. There are two things here, Ray: 1. Yes, anyone calling themselves a CF dev should be able to do those things. I am, however, *astounded* at how many do not, and how many CF developers' technical knowledge capabilities drop away very quickly once they get away from CFML itself. 2. That said, I've found it reasonably common in larger teams (and in companies that aren't just a specialist IT shop) wherein the developers are not special users when it comes to how they fit into the company's IT infrastructure, and they're all just plain users like everyone else in the company. Having been on both sides of this code: a sysadmin, and a user, I prefer the developers to *not* be administrators. From an admin POV few developers know what they're doing well enough to be trusted with admin role on a network: the chief thing they don't know is that they don't know everything (whilst thinking they do), and they certainly don't tend to consider anything other than their own personal requirements (which can compromise the network if left unchecked). From a user POV, I'd rather than someone administer my machine for me, than have to do it myself. I'm here to write code, not configure maintain my computer. Then again perhaps I'm an anomalous developer in that hardware and software configuration bore me shitless. I can do it, but I find it tedious. And it's nice to have people around to do it for me. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
They are some very good points Adam, but one has to ask would there not be, considering that there was an actual number mentioned, at least one or two Senior guys who could? If not why not... -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jan 31, 2013 at 9:48 PM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: On 31 January 2013 01:11, Raymond Camden raymondcam...@gmail.com wrote: Maybe I'm crazy, but if a developer doesn't know how to install ColdFusion, or install a web server, than they aren't a web developer. (And they can learn to this in one hour.) I have _never_ seen an org where IT was responsible for setting up base installs like that. That would be like IT installing Chrome for you. There are two things here, Ray: 1. Yes, anyone calling themselves a CF dev should be able to do those things. I am, however, *astounded* at how many do not, and how many CF developers' technical knowledge capabilities drop away very quickly once they get away from CFML itself. 2. That said, I've found it reasonably common in larger teams (and in companies that aren't just a specialist IT shop) wherein the developers are not special users when it comes to how they fit into the company's IT infrastructure, and they're all just plain users like everyone else in the company. Having been on both sides of this code: a sysadmin, and a user, I prefer the developers to *not* be administrators. From an admin POV few developers know what they're doing well enough to be trusted with admin role on a network: the chief thing they don't know is that they don't know everything (whilst thinking they do), and they certainly don't tend to consider anything other than their own personal requirements (which can compromise the network if left unchecked). From a user POV, I'd rather than someone administer my machine for me, than have to do it myself. I'm here to write code, not configure maintain my computer. Then again perhaps I'm an anomalous developer in that hardware and software configuration bore me shitless. I can do it, but I find it tedious. And it's nice to have people around to do it for me. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
Andrew... most of my brain is still influenza-ridden or ejected into tissues and has been discarded at some stage over the last few days. So... err... *huh*? Sorry mate, am not trying to be obtuse, but I'm just not able to connect your dots today. -- Adam On 31 January 2013 10:52, Andrew Scott andr...@andyscott.id.au wrote: They are some very good points Adam, but one has to ask would there not be, considering that there was an actual number mentioned, at least one or two Senior guys who could? If not why not... -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jan 31, 2013 at 9:48 PM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: On 31 January 2013 01:11, Raymond Camden raymondcam...@gmail.com wrote: Maybe I'm crazy, but if a developer doesn't know how to install ColdFusion, or install a web server, than they aren't a web developer. (And they can learn to this in one hour.) I have _never_ seen an org where IT was responsible for setting up base installs like that. That would be like IT installing Chrome for you. There are two things here, Ray: 1. Yes, anyone calling themselves a CF dev should be able to do those things. I am, however, *astounded* at how many do not, and how many CF developers' technical knowledge capabilities drop away very quickly once they get away from CFML itself. 2. That said, I've found it reasonably common in larger teams (and in companies that aren't just a specialist IT shop) wherein the developers are not special users when it comes to how they fit into the company's IT infrastructure, and they're all just plain users like everyone else in the company. Having been on both sides of this code: a sysadmin, and a user, I prefer the developers to *not* be administrators. From an admin POV few developers know what they're doing well enough to be trusted with admin role on a network: the chief thing they don't know is that they don't know everything (whilst thinking they do), and they certainly don't tend to consider anything other than their own personal requirements (which can compromise the network if left unchecked). From a user POV, I'd rather than someone administer my machine for me, than have to do it myself. I'm here to write code, not configure maintain my computer. Then again perhaps I'm an anomalous developer in that hardware and software configuration bore me shitless. I can do it, but I find it tedious. And it's nice to have people around to do it for me. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
Wasn't this in regards to the the lack of experience in the original thread? He seemed to indicate there was like 50+ developers, you would think out of that many there is at least 1 or 2 very smart people who could train the other developers. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
lets not just tar cf developers with that brush Adam. It really applies to all developers. PHP developers are just as bad if not worse, in fact even companies who develop and sell PHP software (whmcs.com for example) are at a loss when you get server caused by PHP, they have absolutely no idea what to do or where to look when things break. One reason why I hate PHP in fact, it is awful to debug. So many people rely on control panels to do everything for them, so they have hosting with ABC Host, and they have cpanel, and they develop directly on the live site and do not have any development environment at all. This is shockingly common. On Thu, Jan 31, 2013 at 11:17 AM, Andrew Scott andr...@andyscott.id.auwrote: Wasn't this in regards to the the lack of experience in the original thread? He seemed to indicate there was like 50+ developers, you would think out of that many there is at least 1 or 2 very smart people who could train the other developers. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
I agree with Russ. We have CF, .Net, Java, and PHP all in our environments and the majority of the developers don't know how install and configure. The senior people do, particularly with CF and Java. I've only worked in large organizations where there is a distinct group in charge of administration so even have a developer with any type of rights to learn about configuration and setup is very rare, Phil On Thu, Jan 31, 2013 at 7:16 AM, Russ Michaels r...@michaels.me.uk wrote: lets not just tar cf developers with that brush Adam. It really applies to all developers. PHP developers are just as bad if not worse, in fact even companies who develop and sell PHP software (whmcs.com for example) are at a loss when you get server caused by PHP, they have absolutely no idea what to do or where to look when things break. One reason why I hate PHP in fact, it is awful to debug. So many people rely on control panels to do everything for them, so they have hosting with ABC Host, and they have cpanel, and they develop directly on the live site and do not have any development environment at all. This is shockingly common. On Thu, Jan 31, 2013 at 11:17 AM, Andrew Scott andr...@andyscott.id.au wrote: Wasn't this in regards to the the lack of experience in the original thread? He seemed to indicate there was like 50+ developers, you would think out of that many there is at least 1 or 2 very smart people who could train the other developers. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Survey
http://cfunited.com/blog/index.cfm/2013/1/30/State-of-the-CF-Union-survey-2013 -- John Bliss - http://about.me/jbliss ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
I have contracted at a few large orgs where they have sysadmin who do everything, and even they didn't really know what they were doing. Here are just a few things I have found in such orgs (cf specific) :- cf badly configured in general debugging left on on a production server log files, class files and temp files never cleaned up so causing bottlenecks not given enough ram and not even posisble to give enough due to running 32bit on a 64bit OS (for no reason). FusionReactor installed and not configured, so sitting there doing virtually nothing. RDS installed on production All mail going through localhost instead of separate mail server, which was not even being used undelivered mail never being checked and it goes on for some reason they really pissed off when you point all these problems out to them as well. On Thu, Jan 31, 2013 at 12:24 PM, Phillip Duba phild...@gmail.com wrote: I agree with Russ. We have CF, .Net, Java, and PHP all in our environments and the majority of the developers don't know how install and configure. The senior people do, particularly with CF and Java. I've only worked in large organizations where there is a distinct group in charge of administration so even have a developer with any type of rights to learn about configuration and setup is very rare, Phil On Thu, Jan 31, 2013 at 7:16 AM, Russ Michaels r...@michaels.me.uk wrote: lets not just tar cf developers with that brush Adam. It really applies to all developers. PHP developers are just as bad if not worse, in fact even companies who develop and sell PHP software (whmcs.com for example) are at a loss when you get server caused by PHP, they have absolutely no idea what to do or where to look when things break. One reason why I hate PHP in fact, it is awful to debug. So many people rely on control panels to do everything for them, so they have hosting with ABC Host, and they have cpanel, and they develop directly on the live site and do not have any development environment at all. This is shockingly common. On Thu, Jan 31, 2013 at 11:17 AM, Andrew Scott andr...@andyscott.id.au wrote: Wasn't this in regards to the the lack of experience in the original thread? He seemed to indicate there was like 50+ developers, you would think out of that many there is at least 1 or 2 very smart people who could train the other developers. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
On 31 January 2013 12:16, Russ Michaels r...@michaels.me.uk wrote: lets not just tar cf developers with that brush Adam. I wasn't mate. However I can only speak for developers I know, and the ones I know are CF ones. Hence my wording. Which, incidentally, cannot really be read as CF developers and not other developers. Also bear in mind that the comment I was replying to - and this entire mailing list - is CF specific. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
All very true. Of course having dedicated sysadmin people is not * automatically* a solution to CF server config. I was kinda meaning having dedicated people competent at the task at hand. Which - fortunately - we have here. On 31 January 2013 13:02, Russ Michaels r...@michaels.me.uk wrote: I have contracted at a few large orgs where they have sysadmin who do everything, and even they didn't really know what they were doing. Here are just a few things I have found in such orgs (cf specific) :- cf badly configured in general debugging left on on a production server log files, class files and temp files never cleaned up so causing bottlenecks not given enough ram and not even posisble to give enough due to running 32bit on a 64bit OS (for no reason). FusionReactor installed and not configured, so sitting there doing virtually nothing. RDS installed on production All mail going through localhost instead of separate mail server, which was not even being used undelivered mail never being checked and it goes on for some reason they really pissed off when you point all these problems out to them as well. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
On Thu, Jan 31, 2013 at 4:48 AM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: 2. That said, I've found it reasonably common in larger teams (and in companies that aren't just a specialist IT shop) wherein the developers are not special users when it comes to how they fit into the company's IT infrastructure, and they're all just plain users like everyone else in the company. Having been on both sides of this code: a sysadmin, and a user, I prefer the developers to *not* be administrators. From an admin To be clear, I was not suggesting CF Noobs or Junior Devs be admins. They shouldn't be doing anything on production. But on their own machines, I'd imagine they should be able to install CF. I would expect a designer to install Photoshop. (OK, maybe IT could pre-image that since CS is so freaking huge.) -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
But on their own machines, I'd imagine they should be able to install CF. I would expect a designer to install Photoshop. (OK, maybe IT could pre-image that since CS is so freaking huge.) This has not been my experience at large organizations. People often can't install software, period. That has to be done by IT (manually, or via automation). Fortunately, CF can actually be run as an application rather as a service, so you can run it without even installing it! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer knowledge/admin access was: Source control in CF
On 31 January 2013 14:24, Dave Watts dwa...@figleaf.com wrote: But on their own machines, I'd imagine they should be able to install CF. I would expect a designer to install Photoshop. (OK, maybe IT could pre-image that since CS is so freaking huge.) This has not been my experience at large organizations. People often can't install software, period. That has to be done by IT (manually, or via automation). This is the same with me. There are a lot of devs out there with the capabilities to do this, sure. But a surprising number could not, would not be able to understand the install instructions, and would not have the nous to work out what to do when they get stuck. A very high number of CF devs I have encountered don't know where there log files are, where the mail spool dirs are, really fundamental stuff like that. They know CFML, and that's it. How they come to be this way,I really don't understand, but this is the way they are. As for more desktop-software-oriented people? You're having a laugh to suggest they could install something in a coherent fashion (other than by accident). -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
On Wed, Jan 30, 2013 at 5:51 PM, Michael Christensen wrote: For us at least, running on a shared codebase with 1 development server and all code available via a webpath (usually mounted as a drive for convenience) works quite well and has done so without major snafus for 10+ years. Michael- I've worked with a shop in the past that used one development server successfully (with Perforce) bu giving each developer their own directory on the server to each put their own copy of the code. This helps in cases where you may have complicated server software that you don't want to instal on everyone's desktops, but still means someone's setting up the code a bunch of times in a bunch or directories. In that case, each developer had their own port on the webserver mapped to their copy of the code. this let people play in their own protected little sandboxes, but still on one central server. Might be food for thought in your case. However, for the record, I wholeheartedly agree with the recommendation to consider moving to a local development model. If you are brave, you can even tinker with that idea without making the whole team do it. Just set things up on your own local computer and give it a week or two of working that way to see if it's really as hard as you think. You may be surprised. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
To build on this idea, look at Vagrant. It allows your IT department (or whoever's responsible) to maintain a script that loads a VM, necessary assets, and code. I've written a Vagrant script for Railo: https://github.com/bdcravens/railo-vagrant Here's a Chef recipe Nathan Mische wrote for CF10 (which can be used in a Vagrant setup): https://github.com/nmische/chef-coldfusion10 Vagrant is awesome. Run a script, get a VM. Dev against a local directory on your machine, and check into source code repo as necessary. When you're done, shut the machine off. The shared directories don't go away (so you keep working code), but everything else does, until you need to spin it up again. Currently works against VirtualBox, VMWare coming soon. Billy Cravens bdcrav...@gmail.com On Jan 30, 2013, at 6:52 PM, Andy Ousterhout a...@omygoodness.com wrote: Why not just have a local VMware image for developer unit testing? Sent from my iPhone On Jan 31, 2013, at 7:51 AM, Michael Christensen mich...@strib.dk wrote: First of, let me thank all of you for your (quite lively) inputs. The discussion did spiral a bit out of control in a GIT vs SVN tussle, but I understand and can respect that people have strong opinions as to which systems they prefer. I also wholeheartedly agree, that there are certain advantages to be gained by each developer having a working copy of the code on their local machines. I would, however, contest the absoluteness of this as the only way to go. While it is true, that the CF Developer licensing does allow for each developer to run a CF server locally without paying a license fee, the time spent by the IT department setting up and supporting 50+ websites (plus our backend/admin software) on each developer machine does come at a cost. Add in the cost of additional licenses for 3rd party components (like ImageGlue or ISAPI rewrite for example) and the cost of being able to run code locally can add up quite quickly. For us at least, running on a shared codebase with 1 development server and all code available via a webpath (usually mounted as a drive for convenience) works quite well and has done so without major snafus for 10+ years. Is this an oldschool approach? Very much so. Is it a good solution? Maybe not for every company, but it works for us. I understand, that our setup makes running version/source control very difficult and it is a conclusion that I feared I might reach, when I posted the question initially. I think that I may have to go back and have a long, hard think about how we will proceed from here. If any of you, who are running a setup where each developer runs the code locally, I would be very appreciative if you could give me 30 minutes to an hour of your time, so I might pick your brain as to how you have gone about getting this setup and how you maintain it (I think this is probably best done over Skype). So once again, thank you guys so much for all your input :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFFile Question
Before I go nuts trying to write a fix for this, I'm hoping maybe someone will know of a simple solution. Seems like it should be simple. I use CFFILE to allow user to upload files to our extranet. Our server is windows based, so it does not support all of the file characters supported on the Mac. A MAC client was trying to upload a file named: S107-CounterCard:GiftSheet.indd4.zip Because of the : in the file name the upload bombed. I had him rename the file to: S107-CounterCard-GiftSheet-indd4.zip and that worked fine. Question is: Is there some simple thing I should be doing to avoid this that I'm missing? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFFile Question
http://cflib.org/udf/filterFilename On Thu, Jan 31, 2013 at 10:12 AM, Robert Harrison rob...@austin-williams.com wrote: Before I go nuts trying to write a fix for this, I'm hoping maybe someone will know of a simple solution. Seems like it should be simple. I use CFFILE to allow user to upload files to our extranet. Our server is windows based, so it does not support all of the file characters supported on the Mac. A MAC client was trying to upload a file named: S107-CounterCard:GiftSheet.indd4.zip Because of the : in the file name the upload bombed. I had him rename the file to: S107-CounterCard-GiftSheet-indd4.zip and that worked fine. Question is: Is there some simple thing I should be doing to avoid this that I'm missing? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFFile Question
You can specify the local file name of the uploaded file as it is uploaded, through the cffile tag's destination= attribute. It's like this: cffile action=upload destination=#expandPath('.')#/#createUUID()# filefield=postfile result=f Good security dictates first that uploaded files should never go in the web root (even though I'm doing that here), and also that they do not keep the same filename. You see here that I am giving the file a uuid as its name, but you can give it a database unique key if you have a record of your upload, or something else. You can get the name cffile gave it through #f.serverFile#. Track that name in your database, and the #f.clientFile# original file name as well. In fact, just cfdump var=#f# to see all that cffile has. nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] On Thu, Jan 31, 2013 at 9:12 AM, Robert Harrison rob...@austin-williams.com wrote: Before I go nuts trying to write a fix for this, I'm hoping maybe someone will know of a simple solution. Seems like it should be simple. I use CFFILE to allow user to upload files to our extranet. Our server is windows based, so it does not support all of the file characters supported on the Mac. A MAC client was trying to upload a file named: S107-CounterCard:GiftSheet.indd4.zip Because of the : in the file name the upload bombed. I had him rename the file to: S107-CounterCard-GiftSheet-indd4.zip and that worked fine. Question is: Is there some simple thing I should be doing to avoid this that I'm missing? Thanks, Robert Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
It was deleted via the cf admin interface, so I don't think undelete would have helped. I do wish Adobe would update the log interface to make it more useful. It hasn't changed much at all since at least 4.5. The navigation sucks and, apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) CF does not recreate the exception log. I ended up just reinstalling CF after backing up all the setting to a car file. That fixed the problem. When you have a new instance of cf...the exception log does not appear until you have an exception...so it would stand to reason that it would recreate it if it wasn't there at any other point. I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:28 PM To: cf-talk Subject: Re: Log question If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file back, but hurry because once the OS reuses the space it will be lost forever. Which usually could be awhile depending on the OS and disk size. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jan 29, 2013 at 9:20 AM, Eric Roberts ow...@threeravensconsulting.com wrote: How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Source control in CF
I was going to echo what Raymond and Andrew said as well. Every place I have worked at had given developers admin rights to their box with the caveat that we are on our own ;-) Eric -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:25 PM To: cf-talk Subject: Re: Source control in CF I agree with Raymond, any developer should be able to maintain their own CF and other things. As for Helicon mod_rewrite there is a lite version that allows developers to run with a few limitations, but as they clearly state the lite version is great for developers who are developing with a few sites. And ImageGlue also appears to exclude developers from extra cost, they state that the purchase is only needed if you want to expose the application to your clients, shooting them an email to confirm is not a bad idea. But there OEM license seems to come with some hefty discounts like 60% for 20 servers etc. And your IT should not be responsible for maintaining developer machines, your developers should be responsible for that, so why anyone else should have to maintain that is beyond me but I can understand some government red tape issues could be a cause. But normally these are not an issue in my experience. So in a nut shell I personally don't think you have explored your options fully enough. I have come across very few license purchases that force developers to purchase a new license, as they usually dedicate the license to actual production usage. But if unsure you can always read the products license and if it is not clear then contacting them and asking them is not that hard of a task. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jan 31, 2013 at 12:11 PM, Raymond Camden raymondcam...@gmail.comwrote: While it is true, that the CF Developer licensing does allow for each developer to run a CF server locally without paying a license fee, the time spent by the IT department setting up and supporting 50+ websites (plus our backend/admin software) on each developer machine does come at a cost. Maybe I'm crazy, but if a developer doesn't know how to install ColdFusion, or install a web server, than they aren't a web developer. (And they can learn to this in one hour.) I have _never_ seen an org where IT was responsible for setting up base installs like that. That would be like IT installing Chrome for you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Log question
personally I find the cfadmin and navigation quite straight forward. On Thu, Jan 31, 2013 at 5:55 PM, Eric Roberts ow...@threeravensconsulting.com wrote: apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) yes there is, and has been for a very long time, you just click the archive log button, which archives the log and creates a new one. CF does not recreate the exception log. normally it re-creates all the logs if they do not exist, there is something wrong with your install I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. maybe people want to just delete them instead of arching them when they get big. Most people don't even look at the logs let alone archive them and look through old ones. -- Russ Michaels www.bluethunderinternet.com : Business hosting services solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Log question
No what I was referring to is that the logs can be manually deleted, by just stopping ColdFusion, and then when ColdFusion is started again all logs will be recreated. You are not very clear on what your problem is, most of the logs can't be deleted from the Admin, because the logs are constantly locked. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Feb 1, 2013 at 4:55 AM, Eric Roberts ow...@threeravensconsulting.com wrote: It was deleted via the cf admin interface, so I don't think undelete would have helped. I do wish Adobe would update the log interface to make it more useful. It hasn't changed much at all since at least 4.5. The navigation sucks and, apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) CF does not recreate the exception log. I ended up just reinstalling CF after backing up all the setting to a car file. That fixed the problem. When you have a new instance of cf...the exception log does not appear until you have an exception...so it would stand to reason that it would recreate it if it wasn't there at any other point. I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:28 PM To: cf-talk Subject: Re: Log question If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file back, but hurry because once the OS reuses the space it will be lost forever. Which usually could be awhile depending on the OS and disk size. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jan 29, 2013 at 9:20 AM, Eric Roberts ow...@threeravensconsulting.com wrote: How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
And how's that exception log you accidentally deleted going, Eric? (sorry ;-) -- Adam On 31 January 2013 17:56, Eric Roberts ow...@threeravensconsulting.comwrote: I was going to echo what Raymond and Andrew said as well. Every place I have worked at had given developers admin rights to their box with the caveat that we are on our own ;-) Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
And how's that exception log you accidentally deleted going, Eric? http://instantrimshot.com/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Log question
Ah, Russ... your response was pretty much the same as what I was gonna say. The Admin UI is fine if one pays attention (like to the messages going Are you sure you want to delete this log file?, that pop up when one opts to delete it). And I dunno how much more clear a red circle with an X on it can get by way of suggesting of these options, this is the one that deletes stuff can get. Seriously. That said, if the UI is a pain: don't use it. The log files are just text files... open them up in a text editor! Or in the log file viewer in CFB if you have it. Why would someone want to delete the exception log? Because the info in it gets stale and meaningless pretty bloody quick. it's great for the here-and-now, but it's not much use shortly after then. on my dev machine I delete all my log files when I start CF up for the session... if I didn't deal with whatever was in the logs during the last session, I'm sure as hell not going to do it in a subsequent session. However I do cull them all via the file system, not via the UI. But there's a use case for axing them. If they *are* important though, why are you not backing them up? Important stuff - stuff that if you lose will cost you time - needs to be backed up. If they get too cluttered? rotate them. there's a button to do that right next to the DELETE one. Then you can farm them off to nearstorage or backup, depending on how quickly you might need them. Basically this whole situation seems to have arisen out of slight negligence rather than any mis-met expectations that CF or the file system ought to have delivered. This is cold comfort, I know, but hopefully there's a lesson in there. Oh, and finally... yeah, the exception log would have been recreated the next time CF came to log an exception. If it didn't, you were probably right to reinstall CF, as your install was bung. Ray (I presume you're reading)... this thread has good cross-over potential to that other thread I was commenting on earlier, as to why it's better to have specialist staff looking after the servers rather than developers, irrespective of how good they are at being developers. It does not equate to them being good sysadmins. -- Adam On 31 January 2013 18:07, Russ Michaels r...@michaels.me.uk wrote: personally I find the cfadmin and navigation quite straight forward. On Thu, Jan 31, 2013 at 5:55 PM, Eric Roberts ow...@threeravensconsulting.com wrote: apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) yes there is, and has been for a very long time, you just click the archive log button, which archives the log and creates a new one. CF does not recreate the exception log. normally it re-creates all the logs if they do not exist, there is something wrong with your install I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. maybe people want to just delete them instead of arching them when they get big. Most people don't even look at the logs let alone archive them and look through old ones. -- Russ Michaels www.bluethunderinternet.com : Business hosting services solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
Deleting it destroys it completely rather than clearing the log as I expected it to. I had an ongoing exception that wasn't causing the log to be recreated after I hit delete. The nav is straight forward, but it isn't very friendly. When the log starts with the first entry rather than the newest entry, with no way to jump to the end, that isn't very friendly. Eric -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, January 31, 2013 12:08 PM To: cf-talk Subject: Re: Log question personally I find the cfadmin and navigation quite straight forward. On Thu, Jan 31, 2013 at 5:55 PM, Eric Roberts ow...@threeravensconsulting.com wrote: apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) yes there is, and has been for a very long time, you just click the archive log button, which archives the log and creates a new one. CF does not recreate the exception log. normally it re-creates all the logs if they do not exist, there is something wrong with your install I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. maybe people want to just delete them instead of arching them when they get big. Most people don't even look at the logs let alone archive them and look through old ones. -- Russ Michaels www.bluethunderinternet.com : Business hosting services solutions www.cfmldeveloper.com: ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
The exception log had a delete button (icon) that completely deleted the log and stopped cf from recording exceptions in a log file. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, January 31, 2013 12:29 PM To: cf-talk Subject: Re: Log question No what I was referring to is that the logs can be manually deleted, by just stopping ColdFusion, and then when ColdFusion is started again all logs will be recreated. You are not very clear on what your problem is, most of the logs can't be deleted from the Admin, because the logs are constantly locked. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Feb 1, 2013 at 4:55 AM, Eric Roberts ow...@threeravensconsulting.com wrote: It was deleted via the cf admin interface, so I don't think undelete would have helped. I do wish Adobe would update the log interface to make it more useful. It hasn't changed much at all since at least 4.5. The navigation sucks and, apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) CF does not recreate the exception log. I ended up just reinstalling CF after backing up all the setting to a car file. That fixed the problem. When you have a new instance of cf...the exception log does not appear until you have an exception...so it would stand to reason that it would recreate it if it wasn't there at any other point. I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:28 PM To: cf-talk Subject: Re: Log question If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file back, but hurry because once the OS reuses the space it will be lost forever. Which usually could be awhile depending on the OS and disk size. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jan 29, 2013 at 9:20 AM, Eric Roberts ow...@threeravensconsulting.com wrote: How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Log question
On Thu, Jan 31, 2013 at 1:59 PM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: Ray (I presume you're reading)... this thread has good cross-over potential to that other thread I was commenting on earlier, as to why it's better to have specialist staff looking after the servers rather than developers, irrespective of how good they are at being developers. It does not equate to them being good sysadmins. I'll be honest and say I'm half listening. But I can't imagine a missing log file being an issue for a *developer* machine. A developer machine doesn't need a sys admin. Install CF. It's point and click. Install Apache. It's point and click. Connect. Done. I'd expect any CFer on my team to know how to do that, and if not, I'd show them once. -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
As stated by both me and adam more than once, this is not normal behaviour, the log is normally created automatically when error occurs, there is something wrong with your install or no exceptions occurred. Delete button does exactly what mos folks expect it to do, in even warns you after you click it as adam said, cant get much more obvious really. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 31, 2013 9:06 PM, Eric Roberts ow...@threeravensconsulting.com wrote: The exception log had a delete button (icon) that completely deleted the log and stopped cf from recording exceptions in a log file. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, January 31, 2013 12:29 PM To: cf-talk Subject: Re: Log question No what I was referring to is that the logs can be manually deleted, by just stopping ColdFusion, and then when ColdFusion is started again all logs will be recreated. You are not very clear on what your problem is, most of the logs can't be deleted from the Admin, because the logs are constantly locked. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Feb 1, 2013 at 4:55 AM, Eric Roberts ow...@threeravensconsulting.com wrote: It was deleted via the cf admin interface, so I don't think undelete would have helped. I do wish Adobe would update the log interface to make it more useful. It hasn't changed much at all since at least 4.5. The navigation sucks and, apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) CF does not recreate the exception log. I ended up just reinstalling CF after backing up all the setting to a car file. That fixed the problem. When you have a new instance of cf...the exception log does not appear until you have an exception...so it would stand to reason that it would recreate it if it wasn't there at any other point. I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:28 PM To: cf-talk Subject: Re: Log question If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file back, but hurry because once the OS reuses the space it will be lost forever. Which usually could be awhile depending on the OS and disk size. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jan 29, 2013 at 9:20 AM, Eric Roberts ow...@threeravensconsulting.com wrote: How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
Exactly...this is on a dev machine...I was trying to fix a way to fix what I did without having to reinstall...which wasn't that big of a deal anyway. Installing CF is pretty mindless. There is a new Jakarta directory you haveto add to a new site, but other than that, set isn't any more difficult than installing any other software. I think setting up apache is far more difficult than cf is (most windows boxes would have IIS anyway). -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Thursday, January 31, 2013 3:08 PM To: cf-talk Subject: Re: Log question On Thu, Jan 31, 2013 at 1:59 PM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: Ray (I presume you're reading)... this thread has good cross-over potential to that other thread I was commenting on earlier, as to why it's better to have specialist staff looking after the servers rather than developers, irrespective of how good they are at being developers. It does not equate to them being good sysadmins. I'll be honest and say I'm half listening. But I can't imagine a missing log file being an issue for a *developer* machine. A developer machine doesn't need a sys admin. Install CF. It's point and click. Install Apache. It's point and click. Connect. Done. I'd expect any CFer on my team to know how to do that, and if not, I'd show them once. -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Log question
I expected it to delete it but it would recreate the log if there was another exception...which is what it didn't do. I am wondering if there is an xml file somewhere that has a list of the log files... -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, January 31, 2013 3:12 PM To: cf-talk Subject: RE: Log question As stated by both me and adam more than once, this is not normal behaviour, the log is normally created automatically when error occurs, there is something wrong with your install or no exceptions occurred. Delete button does exactly what mos folks expect it to do, in even warns you after you click it as adam said, cant get much more obvious really. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 31, 2013 9:06 PM, Eric Roberts ow...@threeravensconsulting.com wrote: The exception log had a delete button (icon) that completely deleted the log and stopped cf from recording exceptions in a log file. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, January 31, 2013 12:29 PM To: cf-talk Subject: Re: Log question No what I was referring to is that the logs can be manually deleted, by just stopping ColdFusion, and then when ColdFusion is started again all logs will be recreated. You are not very clear on what your problem is, most of the logs can't be deleted from the Admin, because the logs are constantly locked. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Fri, Feb 1, 2013 at 4:55 AM, Eric Roberts ow...@threeravensconsulting.com wrote: It was deleted via the cf admin interface, so I don't think undelete would have helped. I do wish Adobe would update the log interface to make it more useful. It hasn't changed much at all since at least 4.5. The navigation sucks and, apparently, there is no way to clear the logs so you don't have to skip over many months of log entries to get where you want (which is what I was trying to do) CF does not recreate the exception log. I ended up just reinstalling CF after backing up all the setting to a car file. That fixed the problem. When you have a new instance of cf...the exception log does not appear until you have an exception...so it would stand to reason that it would recreate it if it wasn't there at any other point. I don't see any logical reason why you would want to permanently delete the exception log or why you would even want that option. -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Wednesday, January 30, 2013 9:28 PM To: cf-talk Subject: Re: Log question If the log is deleted ColdFusion should recreate the log, for example stop ColdFusion go to the logs directory and delete them, then restart ColdFusion and the logs will be recreated. If you are wanting the log information from inside the file then you will want an undelete tool to get the file back, but hurry because once the OS reuses the space it will be lost forever. Which usually could be awhile depending on the OS and disk size. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Tue, Jan 29, 2013 at 9:20 AM, Eric Roberts ow...@threeravensconsulting.com wrote: How do you restore a deleted log? In an attempt to clear the exception log, I ended up deleting it (they should label those buttons better).help! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
debugging output
I just recently moved to a dedicated server after years of slumming in a shared environment. Relatively painless so far except for the debugging stuff. I'm used to the Error Executing Database Query.You have an error in your SQL syntax...blah blah type messages coming up on errors, but now all I get is a blank 500 - Internal server error page, despite trying any/every debugging combination known to mankind in the CF Administrator. Any idea what I may be doing wrong? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm