element undefined in String
this morning I refreshed my local dev and although I haven't have problems in months.. this morning I get Element USER is undefined in a Java object of type class [Ljava.lang.String;. The line ColdFusion points to is: cfif session.user.getid() neq 0 and session.user.getsec_id() neq 0 In the Application.cfc OnSessionStart I have: cfset qUser = createObject(component, com.mydev.sec_login.sec_login).init( ) / cfparam name=session.user default=#qUser# type=struct / This has worked for a long time and only now getting this error.. What gives? When the session is created it should have those default values by the initialization of the bean. ~| 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:348405 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFDocument problem - direct call works cfinclude doesn't
Hi all, I've searched and my google-foo is failing me today. I have a very simple page that generates a pdf file. When called directly it works just fine, however if the file is included through a cfinclude then the error: cfdocument tag has no body. It must have a body or a source file or URL. comes up every time. The code for the page is: cfsetting showdebugoutput=false enablecfoutputonly=false cfdocument format=PDF filename=c:\testpdf.pdf overwrite=yes pTest/p /cfdocument This is part of a system where the user requests a report and what formats that the report should be in. That is why I am doing it with a cfinclude. If the user chose PDF then it makes it. It is just stumping me as to why it works one way, but not the other. Any insights will be really appreciated. Steve ~| 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:348406 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: element undefined in String
disregard.. I put in a default session.user variable on the page indicated in the error and it pointed me to an error in a CFC I had overlooked late yesterday.. I had typed cfqueryparam name=foo... cfqueryparam doesn't have a name attribute. It should have been value=foo I changed that to value, restarted the service and I'm golden.. On Wed, Nov 2, 2011 at 8:36 AM, Greg Morphis gmorp...@gmail.com wrote: this morning I refreshed my local dev and although I haven't have problems in months.. this morning I get Element USER is undefined in a Java object of type class [Ljava.lang.String;. The line ColdFusion points to is: cfif session.user.getid() neq 0 and session.user.getsec_id() neq 0 In the Application.cfc OnSessionStart I have: cfset qUser = createObject(component, com.mydev.sec_login.sec_login).init( ) / cfparam name=session.user default=#qUser# type=struct / This has worked for a long time and only now getting this error.. What gives? When the session is created it should have those default values by the initialization of the bean. ~| 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:348407 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFDocument problem - direct call works cfinclude doesn't
On Wed, Nov 2, 2011 at 2:43 PM, DURETTE, STEVEN J wrote: I've searched and my google-foo is failing me today. I have a very simple page that generates a pdf file. When called directly it works just fine, however if the file is included through a cfinclude then the error: cfdocument tag has no body. It must have a body or a source file or URL. comes up every time. The page that does the cfinclude probably has a different setting for enablecfoutputonly. Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| 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:348408 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFDocument problem - direct call works cfinclude doesn't
Why would that matter? The cfdocument isn't generating screen output, it is supposed to create a file. I'll try adding cfoutput tags inside the cfdocument. Thanks for the idea! Steve -Original Message- From: Jochem van Dieten [mailto:joch...@gmail.com] Sent: Wednesday, November 02, 2011 9:52 AM To: cf-talk Subject: Re: CFDocument problem - direct call works cfinclude doesn't On Wed, Nov 2, 2011 at 2:43 PM, DURETTE, STEVEN J wrote: I've searched and my google-foo is failing me today. I have a very simple page that generates a pdf file. When called directly it works just fine, however if the file is included through a cfinclude then the error: cfdocument tag has no body. It must have a body or a source file or URL. comes up every time. The page that does the cfinclude probably has a different setting for enablecfoutputonly. Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| 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:348409 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFDocument problem - direct call works cfinclude doesn't
Thanks Jochem! That was exactly the problem higher up in the file chain someone used enablecfouputonly=true. Steve -Original Message- From: DURETTE, STEVEN J Sent: Wednesday, November 02, 2011 9:58 AM To: cf-talk Subject: RE: CFDocument problem - direct call works cfinclude doesn't Why would that matter? The cfdocument isn't generating screen output, it is supposed to create a file. I'll try adding cfoutput tags inside the cfdocument. Thanks for the idea! Steve ~| 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:348410 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: runing CF and ASP.NET on the same web server (IIS 6)
Russ, it was the same error 404.17 even though I tried several things. Nathan -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Monday, October 31, 2011 3:58 PM To: cf-talk Subject: RE: runing CF and ASP.NET on the same web server (IIS 6) Then it can't be anything to do with cf, what is the actual error you get. Regards Russ Michaels From my mobile On 31 Oct 2011 21:45, Nathan Chen nathan.c...@cu.edu wrote: Russ, no, it still didn't work after disabled CF. Nathan -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Saturday, October 29, 2011 5:33 AM To: cf-talk Subject: Re: runing CF and ASP.NET on the same web server (IIS 6) does the ASP pages work if you disable CF on that site ? On Sat, Oct 29, 2011 at 2:21 AM, Nathan Chen nathan.c...@cu.edu wrote: Thank you, Russ, Lincoln, and Ben, for the replies. I thought it might have to do with the mapping handler but wasn't sure. I did according to Russ' solution on his site, and it didn't work so I also added *.aspx handler by pointing to this file C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll but that didn't work either, still getting the same error. What else do I need to do? Nathan From: Ben Conner [mailto:b...@webworldinc.com] Sent: Wed 10/26/2011 8:48 PM To: cf-talk@houseoffusion.com Cc: Nathan Chen Subject: Re: runing CF and ASP.NET on the same web server (IIS 6) Gosh. I guess the mission-critical ASP sites I've been running on the same server as CF for years don't work then. Good thing I found out. ;-) Seriously, when properly configured, IIS will call the ASP engine just as it calls the CF engine at the appropriate time. In fact, a single site can have both technologies deployed on it, intermixing pages from both. It isn't pretty, but it will work. --Ben On 10/26/2011 3:03 PM, Nathan Chen wrote: Dave, Thank you. Have you run both CF and ASP.NET on the same sever? I am trying to install a web program that we bought from a vendor(written in ASP.NET). After installation I encountered http error 404.17 - not found. I contacted the vendor and they said it would not work if both are on the same web server. Here is what they said: Cold Fusion is a web application framework that is installed on a web server. It allows a developer to build web sites using a simple set of tools and those websites, instead of running directly on the web server, run on top of the Cold Fusion components installed on the server. ASP.NET is the basic web application framework built into Windows 2003 and Windows 2008 servers. In IIS, there is a configuration file that defines the basic settings of ASP.NET. This configuration file (called the machine.config) is not to be tampered with generally. Unfortunately, when Cold Fusion is installed, this configuration file is altered drastically. Several core sections in the file are removed or changed and some new sections are added. This renders most newer ASP.NET web applications unable to run on the same server. If these sections in this machine.config file are put back to their default state, then the ASP.NET applications will run just fine but Cold Fusion will no longer function. - Nathan -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, October 26, 2011 2:52 PM To: cf-talk Subject: Re: runing CF and ASP.NET on the same web server (IIS 6) If I set up a ASP.NET site along with my CF site under wwwroot, do I need to do anything special, or on separate port? No, as long as CF is configured to use IIS. Of course, if either application has resource contention issues, you might see them earlier with both applications active. 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:348411 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: runing CF and ASP.NET on the same web server (IIS 6)
Nathan, as others have said, running ASP or .Net side-by-side with ColdFusion is not a problem, I've been doing it for years. It sounds like you may have a faulty .Net installation. I would try repairing it. Here is a link to the Microsoft article on fixing your install. http://support.microsoft.com/kb/306160 Dean On Wed, Nov 2, 2011 at 11:13 AM, Nathan Chen nathan.c...@cu.edu wrote: Russ, it was the same error 404.17 even though I tried several things. Nathan -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Monday, October 31, 2011 3:58 PM To: cf-talk Subject: RE: runing CF and ASP.NET on the same web server (IIS 6) Then it can't be anything to do with cf, what is the actual error you get. Regards Russ Michaels From my mobile On 31 Oct 2011 21:45, Nathan Chen nathan.c...@cu.edu wrote: Russ, no, it still didn't work after disabled CF. Nathan -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| 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:348412 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: runing CF and ASP.NET on the same web server (IIS 6)
also try this http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx Russ On Wed, Nov 2, 2011 at 3:20 PM, Dean Lawrence dean...@gmail.com wrote: Nathan, as others have said, running ASP or .Net side-by-side with ColdFusion is not a problem, I've been doing it for years. It sounds like you may have a faulty .Net installation. I would try repairing it. Here is a link to the Microsoft article on fixing your install. http://support.microsoft.com/kb/306160 Dean On Wed, Nov 2, 2011 at 11:13 AM, Nathan Chen nathan.c...@cu.edu wrote: Russ, it was the same error 404.17 even though I tried several things. Nathan -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Monday, October 31, 2011 3:58 PM To: cf-talk Subject: RE: runing CF and ASP.NET on the same web server (IIS 6) Then it can't be anything to do with cf, what is the actual error you get. Regards Russ Michaels From my mobile On 31 Oct 2011 21:45, Nathan Chen nathan.c...@cu.edu wrote: Russ, no, it still didn't work after disabled CF. Nathan -- --- Dean M. Lawrence INTERNET DATA TECHNOLOGY p // 888.438.4381 ext. 701 w // www.idatatech.com f // www.facebook.com/idatatech t // www.twitter.com/idatatech Social Marketing | SEO | Design | Internet Development ~| 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:348413 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF8 cftextarea richtext is stealing form focus, and being referred to by the form
is houseoffusion.com down? TESTING On Sun, Feb 13, 2011 at 5:52 PM, Michael Benoit michael.ben...@prsa.orgwrote: In addition, FCKConfig.StartupFocus= false; in fckconfig.js Hi, sorry for necroposting, but has anyone seen a solution to this problem in CF8? I'm experiencing the exact same issue, and it's a bit aggravating. Thanks! ~| 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:348414 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Weird issue with timestamp
Hi All. I am hoping this reaches the group because I can't get to the site. I need to append a variable to a url which just so happens to be timestamp. The url is for a credit card processing site and I HAVE to pass in the variable. Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Is there any way to escape times so it won't send an X? Thanks ~| 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:348415 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Weird issue with timestamp
Try amp;timestamp (get rid of the space though) -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Wednesday, November 02, 2011 2:29 PM To: cf-talk Subject: Weird issue with timestamp Hi All. I am hoping this reaches the group because I can't get to the site. I need to append a variable to a url which just so happens to be timestamp. The url is for a credit card processing site and I HAVE to pass in the variable. Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Is there any way to escape times so it won't send an X? Thanks ~| 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:348416 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Weird issue with timestamp
On Wed, Nov 2, 2011 at 11:29 AM, Monique Boea moniqueb...@gmail.com wrote: I am hoping this reaches the group because I can't get to the site. I spoke to the Dinowitzes and they're having lots of problems with server stability and have called in reinforcements. They hope to have the site back up in a few days... Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Is there any way to escape times so it won't send an X? Not sure why that would happen but amp;timestamp should solve your problem. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) ~| 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:348417 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
HouseOfFusion is down (was: CF8 cftextarea richtext is stealing form focus, and being referred to by the form
On Wed, Nov 2, 2011 at 11:21 AM, Monique Boea moniqueb...@gmail.com wrote: is houseoffusion.com down? Yes, but luckily the mailing list is handled by a different server so anyone using regular email is still able to send/reply to the list. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) ~| 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:348418 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Weird issue with timestamp
Wow. I am such a dork! This did it: amp;timestamp On Wed, Nov 2, 2011 at 2:29 PM, Monique Boea moniqueb...@gmail.com wrote: Hi All. I am hoping this reaches the group because I can't get to the site. I need to append a variable to a url which just so happens to be timestamp. The url is for a credit card processing site and I HAVE to pass in the variable. Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Is there any way to escape times so it won't send an X? Thanks ~| 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:348419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HouseOfFusion is down (was: CF8 cftextarea richtext is stealing form focus, and being referred to by the form
Eh, websites are SO overrated. ;) I don't think I've ended up on HoF site for a long time The only reason is when directed there by a google search for an issue. -- Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog twitter.com/ophbalance ~| 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:348420 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Weird issue with timestamp
Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Can you identfy the process which changes times for 'x' ? Because it's wrong, x is times; not just times ~| 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:348421 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HouseOfFusion is down (was: CF8 cftextarea richtext is stealing form focus, and being referred to by the form
Yes, but luckily the mailing list is handled by a different server so anyone using regular email is still able to send/reply to the list. AKA... all the REAL users. :-p .:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Wednesday, November 02, 2011 2:38 PM To: cf-talk Subject: HouseOfFusion is down (was: CF8 cftextarea richtext is stealing form focus, and being referred to by the form On Wed, Nov 2, 2011 at 11:21 AM, Monique Boea moniqueb...@gmail.com wrote: is houseoffusion.com down? Yes, but luckily the mailing list is handled by a different server so anyone using regular email is still able to send/reply to the list. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) ~| 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:348422 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
FCKEditor.. XML Request error: Access denied (403)
Coldfusion 9, just started has been working fine on all the websites until today when using FCKEditor to browse server for an image. Any Ideas? Java recently Updated. Terry ~| 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:348423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Weird issue with timestamp
You could also move that to the first parameter.. .cfm?timestamp At 02:29 PM 11/2/2011, you wrote: Hi All. I am hoping this reaches the group because I can't get to the site. I need to append a variable to a url which just so happens to be timestamp. The url is for a credit card processing site and I HAVE to pass in the variable. Here is the problem: 'timestamp' is being changed to 'x' because times is the special character entity for x. Is there any way to escape times so it won't send an X? Thanks ~| 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:348424 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm