Issue solved -> To insert Arabic text into my ColdFusion application with Oracle database.

2014-07-18 Thread Sathyanarayanan Ramanathan

Dear Friends,

Finally it worked for me.

*Steps taken:*

*Oracle side:* I created the new database with NLS_CHARACTERSET as AL32UTF8
and imported my old exported database having different characterset.

*CF side:*
I added the below two lines at the top of the cfm template.



But while saving the file using Dreamweaver I faced encoding problem.
I followed the below steps to solve it.

1.Open the cfm template in dreamweaver and copy the above two lines into
the top of the cfm template.
2.Goto Modify menu -> page properties ->Title/Encoding -> Unicode(UTF-8) ->
Click Apply & save the cfm template.

Thanks all for your valuable time & help. Really appreciated.

*Sathya.R*


On Sun, Jul 13, 2014 at 5:54 PM, Bobby  wrote:

>
> Your screenshots will not come through on the the list, you will have to
> put them online somewhere and send the links instead. As for the “Enable
> High ascii” settings, my apologies, it doesn’t appear to be available for
> oracle datasources.
>
>
> On 7/13/14, 9:47 AM, "Sathyanarayanan Ramanathan" 
> wrote:
>
> >
> >Dear All,
> >
> >I have created a test oracle database with AR8MSWIN1256 as characterset.
> >Also I created a test table with NVARCHAR2 (1000) as the datatype. Please
> >see the screenshots below.
> >
> >[image: Inline image 1]
> >*Test table:*
> >
> >[image: Inline image 2]
> >
> >*Simple insert statement using Toad for Oracle:*
> >
> >
> >*[image: Inline image 3] *
> >
> >I am not able to find "Enable High ASCII characters and Unicode for data
> >sources configured for
> >non-Latin characters²" as suggested by Bobby. I am using CF9.
> >
> >Regards,
> >Sathya
> >
> >
> >
> >On Sun, Jul 13, 2014 at 3:52 PM, Bobby  wrote:
> >
> >>
> >> In the CF Administrator datasource settings, under the advanced section,
> >> there is a checkbox for enabling high ascii/unicode chars. It is off by
> >> default. Be sure that is checked.
> >>
> >> "Enable High ASCII characters and Unicode for data sources configured
> >>for
> >> non-Latin characters²
> >>
> >>
> >> On 7/13/14, 3:26 AM, "Sathyanarayanan Ramanathan"  >
> >> wrote:
> >>
> >> >
> >> >Dear All,
> >> >
> >> >I am trying to insert Arabic text into my ColdFusion application with
> >> >Oracle database.
> >> >I tried below 3 scenarios but didn't work for me.
> >> >
> >> >1. One of my ColdFusion application is already implemented to handle
> >> >Arabic
> >> >text using Oracle db.
> >> >I checked the NLS_characterset & is set to AR8MSWIN1256. There are few
> >> >Arabic text found in few tables.
> >> >But when I try to insert some sample rows with arabic text using toad
> >>it's
> >> >coming as ?.
> >> >
> >> >2. I created a new database and tried to set NLS_characterset to
> >> >AR8MSWIN1256.
> >> >I tried to create a table & insert some sample rows with Arabic text
> >>using
> >> >toad it's still coming as ?.
> >> >
> >> >3. I searched few sites & set NLS_characterset to AL32UTF8. But still
> >>the
> >> >results are same.
> >> >
> >> >Your time & help will be really appreciated.
> >> >
> >> >Sathya.R
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
> 

~|
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:358915
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Replicate cache across multiple CF servers

2014-07-18 Thread Russ Michaels

god no don't use client variables.


On Fri, Jul 18, 2014 at 3:24 PM, Scott Stewart 
wrote:

>
> this sounds like a job for client variables. Set up a blank table in your
> DB, create a datasource for it in the CF Admin. While in the CF Admin,
> activate client variables and point it at the datasource... DO NOT let it
> use the registry to store client vars under any circumstance.
>
> The things that need to be replicated could then be stored in the client
> scope.
>
>
> On Fri, Jul 18, 2014 at 9:37 AM, Cameron Childress 
> wrote:
>
> >
> > On Thu, Jul 17, 2014 at 5:10 PM, Uday Patel wrote:
> >
> > > I have an application running on single server and i was caching some
> > > commonly used data in Application scope. There is a logic tied in my
> > > caching object such that when data changes the cache is rebuild.
> > >
> > > Now we are moving to clustered server environment with 3 three servers.
> > If
> > > the cached data changes I need to replicate them across other servers.
> I
> > > want the other servers to go to database and get new data. How can I
> > > achieve this.
> >
> >
> > You definitely should look at using an external cache (Russ' suggestion).
> >
> > For application scope - I've also solved this in the past with a Database
> > table something like this:
> >
> > instance (varchar): Name of CF instance or machine name
> > refreshdate (datetime): moment in time that this instance last updated
> it's
> > app scope
> >
> > 1) In onApplicationStart(), put a quick check to see if the instance or
> > machine name is present in the table, if not, add it.
> > 2) In onRequestStart(), put a select statement that checks to see if the
> > refreshdate is null for the instance or machine. If so, rebuild the
> > application scope here.
> >
> > When you want to refresh the app scope on all servers, just set
> > "refreshdate = null" on all entries in that table. It does add one DB
> call
> > to every request, but if you only have three servers that table should
> only
> > have three entries. The DB call should be very very fast.
> >
> > See also:
> >
> >
> http://www.carehart.org/blog/client/index.cfm/2012/6/30/get_instancename_in_cf10
> > http://www.petefreitag.com/item/97.cfm
> >
> > -Cameron
> >
> > --
> > Cameron Childress
> > --
> > p:   678.637.5072
> > im: cameroncf
> > facebook  | twitter
> >  | google+
> > 
> >
> >
> >
>
> 

~|
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:358914
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamic variable Name in cfif

2014-07-18 Thread Dave Watts

> Also, shouldn't it be
>
> 
>
> ???
>
> or is it the current trend to use EQ when checking a text field nowadays? :)

They're equivalent, so it doesn't matter which one you use. It's
purely a matter of personal preference.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
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:358913
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamic variable Name in cfif

2014-07-18 Thread Phillip Vector

Also, shouldn't it be



???

or is it the current trend to use EQ when checking a text field nowadays? :)


On Fri, Jul 18, 2014 at 6:22 AM, Dave Watts  wrote:

>
> > I'm having no trouble setting and outputting a dynamic variable name:
> >
> > Expires_#UpdateMe#= #form[ 'Expires_' & UpdateMe]#
> >
> >
> > but when I go to evaluate that variable:
> >
> > 
> >
> > it returns:
> >
> > Variable YES is undefined
> >
> > because the VALUE of the Variable named "Expires7" is indeed "YES".
>
> Without quotes around "Yes", CF sees it as a variable name, not a
> literal string.
>
> Dave Watts, CTO, Fig Leaf Software
> 1-202-527-9569
> 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:358912
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Replicate cache across multiple CF servers

2014-07-18 Thread Scott Stewart

this sounds like a job for client variables. Set up a blank table in your
DB, create a datasource for it in the CF Admin. While in the CF Admin,
activate client variables and point it at the datasource... DO NOT let it
use the registry to store client vars under any circumstance.

The things that need to be replicated could then be stored in the client
scope.


On Fri, Jul 18, 2014 at 9:37 AM, Cameron Childress 
wrote:

>
> On Thu, Jul 17, 2014 at 5:10 PM, Uday Patel wrote:
>
> > I have an application running on single server and i was caching some
> > commonly used data in Application scope. There is a logic tied in my
> > caching object such that when data changes the cache is rebuild.
> >
> > Now we are moving to clustered server environment with 3 three servers.
> If
> > the cached data changes I need to replicate them across other servers. I
> > want the other servers to go to database and get new data. How can I
> > achieve this.
>
>
> You definitely should look at using an external cache (Russ' suggestion).
>
> For application scope - I've also solved this in the past with a Database
> table something like this:
>
> instance (varchar): Name of CF instance or machine name
> refreshdate (datetime): moment in time that this instance last updated it's
> app scope
>
> 1) In onApplicationStart(), put a quick check to see if the instance or
> machine name is present in the table, if not, add it.
> 2) In onRequestStart(), put a select statement that checks to see if the
> refreshdate is null for the instance or machine. If so, rebuild the
> application scope here.
>
> When you want to refresh the app scope on all servers, just set
> "refreshdate = null" on all entries in that table. It does add one DB call
> to every request, but if you only have three servers that table should only
> have three entries. The DB call should be very very fast.
>
> See also:
>
> http://www.carehart.org/blog/client/index.cfm/2012/6/30/get_instancename_in_cf10
> http://www.petefreitag.com/item/97.cfm
>
> -Cameron
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  | twitter
>  | google+
> 
>
>
> 

~|
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:358911
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Replicate cache across multiple CF servers

2014-07-18 Thread Russ Michaels

what I also used to do in the early days, was to periodically dump the
application scope out to a wddx file on a network share.~
and load this file in from all servers.
I also did the same with users sessions as well, which was an easy way to
do session replication


On Fri, Jul 18, 2014 at 2:37 PM, Cameron Childress 
wrote:

>
> On Thu, Jul 17, 2014 at 5:10 PM, Uday Patel wrote:
>
> > I have an application running on single server and i was caching some
> > commonly used data in Application scope. There is a logic tied in my
> > caching object such that when data changes the cache is rebuild.
> >
> > Now we are moving to clustered server environment with 3 three servers.
> If
> > the cached data changes I need to replicate them across other servers. I
> > want the other servers to go to database and get new data. How can I
> > achieve this.
>
>
> You definitely should look at using an external cache (Russ' suggestion).
>
> For application scope - I've also solved this in the past with a Database
> table something like this:
>
> instance (varchar): Name of CF instance or machine name
> refreshdate (datetime): moment in time that this instance last updated it's
> app scope
>
> 1) In onApplicationStart(), put a quick check to see if the instance or
> machine name is present in the table, if not, add it.
> 2) In onRequestStart(), put a select statement that checks to see if the
> refreshdate is null for the instance or machine. If so, rebuild the
> application scope here.
>
> When you want to refresh the app scope on all servers, just set
> "refreshdate = null" on all entries in that table. It does add one DB call
> to every request, but if you only have three servers that table should only
> have three entries. The DB call should be very very fast.
>
> See also:
>
> http://www.carehart.org/blog/client/index.cfm/2012/6/30/get_instancename_in_cf10
> http://www.petefreitag.com/item/97.cfm
>
> -Cameron
>
> --
> Cameron Childress
> --
> p:   678.637.5072
> im: cameroncf
> facebook  | twitter
>  | google+
> 
>
>
> 

~|
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:358910
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Installing CF11 on OS X Server.

2014-07-18 Thread Ricardo Russon

I got this working.
Always the way just after I post to a list.

Thought I would post what I did to get it working just in case it helps
someone else.

- I uninstalled CF (Deleted the CF11 Dir because the uninstall program
wouldn't launch).
- Created the apache2.conf file ( touch
/Library/Server/Web/Config/apache2.conf )
- Ran the installe; this time it let me pick the /Library/Server/Web/Config
directory for the connector
- Copied the line it put in the apache2.conf file to the bottom of the
/Library/Server/Web/Config/httpd.conf.1 file
- Renamed /Applications/ColdFusion11/cfusion/bin/cf-connectors.sh  to
cf-connectors.sh.bak
- Restarted the web server, started CF using sudo ./coldfusion/start

Then I was able to run up the CFAdmin and get everything finalised.

happy days.


~|
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:358909
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread M.A. Kruger

wow I never would have guessed. maybe just a bad communicator - trouble really 
describing his problem?

Sent from my iPhone

> On Jul 18, 2014, at 8:30 AM, Matt Quackenbush  wrote:
> 
> 
> Defies logic, especially given certain claims.
> http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358850
> 
> 
> 
>> On Fri, Jul 18, 2014 at 8:26 AM, mac jordan  wrote:
>> 
>> 
>> On Fri, Jul 18, 2014 at 2:21 PM, Dave Watts  wrote:
>> 
 Still doesn't work...?
>>> 
>>> That's still not a URL, is it?
>> 
>> ​It's like pulling teeth …​
>> 
>> 
>> 
>> --
>> mac jordan
>> www.kestrel.org | www.reactivecooking.com |  www.jordan-cats.org
>> twitter: @ramtops
> 
> 

~|
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:358908
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Replicate cache across multiple CF servers

2014-07-18 Thread Cameron Childress

On Thu, Jul 17, 2014 at 5:10 PM, Uday Patel wrote:

> I have an application running on single server and i was caching some
> commonly used data in Application scope. There is a logic tied in my
> caching object such that when data changes the cache is rebuild.
>
> Now we are moving to clustered server environment with 3 three servers. If
> the cached data changes I need to replicate them across other servers. I
> want the other servers to go to database and get new data. How can I
> achieve this.


You definitely should look at using an external cache (Russ' suggestion).

For application scope - I've also solved this in the past with a Database
table something like this:

instance (varchar): Name of CF instance or machine name
refreshdate (datetime): moment in time that this instance last updated it's
app scope

1) In onApplicationStart(), put a quick check to see if the instance or
machine name is present in the table, if not, add it.
2) In onRequestStart(), put a select statement that checks to see if the
refreshdate is null for the instance or machine. If so, rebuild the
application scope here.

When you want to refresh the app scope on all servers, just set
"refreshdate = null" on all entries in that table. It does add one DB call
to every request, but if you only have three servers that table should only
have three entries. The DB call should be very very fast.

See also:
http://www.carehart.org/blog/client/index.cfm/2012/6/30/get_instancename_in_cf10
http://www.petefreitag.com/item/97.cfm

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook  | twitter
 | google+



~|
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:358907
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Installing CF11 on OS X Server.

2014-07-18 Thread Ricardo Russon

Does anyone know anywhere with instructions on how to configure CF 11 on OS
X Server (10.9.4)?

The connector scripts don't seem to support the alternate Apache locations
and config files (Server doesn't have an 'apache2.conf' file.)

I've tried to configure it all manually, but all I ever get is
"java.lang.NullPointerException" when running up CFM's.

I am trying to install it as Developer Edition.

Any assistance is appreciated.

Thanks,
Ricardo.


~|
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:358906
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread M.A. Kruger

Matt, 

you need to make a stromger effort to understand what you are being told. we 
can't solve your
problem. we can only help point you in the right direction. 

Sent from my iPhone

> On Jul 18, 2014, at 6:35 AM, Matthew Smith  wrote:
> 
> 
> \taolcad_images\products\resize\qry_latest24items.largepic1
> 
> Still doesn't work...?
>> On Jul 17, 2014, at 23:09, Maureen  wrote:
>> 
>> 
>> As I told you four days ago:
>> Instead of a physical path like C:\magedirector\imagename.ext  you
>> need a url like http://domainname.com/imagedirectory/imagename.ext
>> 
>> You use the physical path to determine if the file exists, but you
>> need the url to display it.
>> 
>>> On Thu, Jul 17, 2014 at 10:37 PM, Matthew Smith  
>>> wrote:
>>> 
>>> Anyone?
>>> 
 On Jul 15, 2014, at 1:59, Matthew Smith  wrote:
 
 Does anyone know what path I should use?  Stuck...
 
> On Jul 13, 2014, at 10:40, Matthew Smith  wrote:
> 
> what path should i use?
> 
> 
>>> On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts  wrote:
>>> 
>>> Yes, this code is broken. You have a logic error.  The code inside the
>>> CFCATCH will only execute of the code in the CFTRY fails.  The syntax
>>> on the CFCATCH tag is wrong as you have no type declared, and the code
>>> on the first line inside the CFCATCH is the same as what you just
>>> tried.  So if it fails on the TRY it will fail inside the CFCATCH.
>> 
>> This is all very accurate except for one portion. CFCATCH doesn't
>> require a type. It's generally recommended that you specify a type,
>> but in the absence of that attribute it'll simply catch any exception
>> thrown by the CFTRY.
>> 
>> Dave Watts, CTO, Fig Leaf Software
>> 1-202-527-9569
>> 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:358905
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread Matt Quackenbush

Defies logic, especially given certain claims.
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358850



On Fri, Jul 18, 2014 at 8:26 AM, mac jordan  wrote:

>
> On Fri, Jul 18, 2014 at 2:21 PM, Dave Watts  wrote:
>
> > > Still doesn't work...?
> >
> > That's still not a URL, is it?
> >
>
> ​It's like pulling teeth …​
>
>
>
> --
> mac jordan
> www.kestrel.org | www.reactivecooking.com |  www.jordan-cats.org
> twitter: @ramtops
>
>
> 

~|
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:358904
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread mac jordan

On Fri, Jul 18, 2014 at 2:21 PM, Dave Watts  wrote:

> > Still doesn't work...?
>
> That's still not a URL, is it?
>

​It's like pulling teeth …​



-- 
mac jordan
www.kestrel.org | www.reactivecooking.com |  www.jordan-cats.org
twitter: @ramtops


~|
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:358903
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamic variable Name in cfif

2014-07-18 Thread Dave Watts

> I'm having no trouble setting and outputting a dynamic variable name:
>
> Expires_#UpdateMe#= #form[ 'Expires_' & UpdateMe]#
>
>
> but when I go to evaluate that variable:
>
> 
>
> it returns:
>
> Variable YES is undefined
>
> because the VALUE of the Variable named "Expires7" is indeed "YES".

Without quotes around "Yes", CF sees it as a variable name, not a
literal string.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
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:358902
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread Dave Watts

> > Instead of a physical path like C:\magedirector\imagename.ext  you
> > need a url like http://domainname.com/imagedirectory/imagename.ext
> >
> > You use the physical path to determine if the file exists, but you
> > need the url to display it.
>
> \taolcad_images\products\resize\qry_latest24items.largepic1
>
> Still doesn't work...?

That's still not a URL, is it?

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
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:358901
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: help

2014-07-18 Thread Matthew Smith

\taolcad_images\products\resize\qry_latest24items.largepic1

Still doesn't work...?
> On Jul 17, 2014, at 23:09, Maureen  wrote:
> 
> 
> As I told you four days ago:
> Instead of a physical path like C:\magedirector\imagename.ext  you
> need a url like http://domainname.com/imagedirectory/imagename.ext
> 
> You use the physical path to determine if the file exists, but you
> need the url to display it.
> 
>> On Thu, Jul 17, 2014 at 10:37 PM, Matthew Smith  
>> wrote:
>> 
>> Anyone?
>> 
>>> On Jul 15, 2014, at 1:59, Matthew Smith  wrote:
>>> 
>>> Does anyone know what path I should use?  Stuck...
>>> 
 On Jul 13, 2014, at 10:40, Matthew Smith  wrote:
 
 what path should i use?
 
 
>> On Sun, Jul 13, 2014 at 10:11 AM, Dave Watts  wrote:
>> 
>> Yes, this code is broken. You have a logic error.  The code inside the
>> CFCATCH will only execute of the code in the CFTRY fails.  The syntax
>> on the CFCATCH tag is wrong as you have no type declared, and the code
>> on the first line inside the CFCATCH is the same as what you just
>> tried.  So if it fails on the TRY it will fail inside the CFCATCH.
> 
> This is all very accurate except for one portion. CFCATCH doesn't
> require a type. It's generally recommended that you specify a type,
> but in the absence of that attribute it'll simply catch any exception
> thrown by the CFTRY.
> 
> Dave Watts, CTO, Fig Leaf Software
> 1-202-527-9569
> 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:358900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Dynamic variable Name in cfif

2014-07-18 Thread Marie Taylore

I'm having no trouble setting and outputting a dynamic variable name:

Expires_#UpdateMe#= #form[ 'Expires_' & UpdateMe]#


but when I go to evaluate that variable:



it returns:

Variable YES is undefined

because the VALUE of the Variable named "Expires7" is indeed "YES".

I know there's a simple fix to this, but can't remember how.


~|
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:358899
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm