Has anyone got cfencode to work on a Linux install with CF8 ?
# /opt/coldfusion8/bin/cfencode.linux
/opt/coldfusion8/bin/cfencode.linux: error while loading shared libraries:
libporting.so: cannot open shared object file: No such file or directory
I can't find that library in the CF install or
Hi All
Ok seem to be getting somewhere now, or at least I'm getting errors
back, the page is internal and not on the web.
On the search form page I am getting a JavaScript error 'bsn is
undefined'? The original code was for php which I think works superb at
On Tuesday 16 Sep 2008, Matthew Dolloff wrote:
I'm using web services since those were provided to me the database people
that I am trying to talk to.
If the service you have no part in is throwing an error, shouldn't you be
talking to them, not us ?
--
Tom Chiverton
Helping to elementarily
I keep getting an error that appears to be in my cfprocresult as follows.
Any quick help would be greatly appreciated
I hope that I have included enough information for some help.
Thanks in advance
TABLE SCHEMA - [dbo].[tbl_Schol]
scholid int Unchecked
namevarchar(50)
I have a form that is 99% working. All form data is being passed except
for 1 item. I am not getting any errors. The form is for registering for
a seminar and I need to know how many are attending (there are a total
of 7 seminars). Not sure what I am missing. Any guidance would be
appreciated.
Hi Steve,
I think it's the checkbox that's your problem, it's because unless it's
checked - it is not passed in the FORM scope.
Therefore, what you're expecting doesn't get passed.
You can cfparam / the expected FORM scope variable and default to false or
Zero, whatever suits, to overcome this.
Hi Larry,
When using cfstoredproc /, you need a cfprocparam / to specify _ALL_
parameters passed to and from the Stored procedure!!
So need to check your CF code where you are calling the Stored Proc.
Later,
Niall.
-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]
Would this work?
cfparam name=FORM.wrkshp type=string default= /
cftry
cfparam name=FORM.user_type_id type=numeric default=0 /
cfcatch
cfset FORM.user_type_id = 0 /
/cfcatch
/cftry
Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
Hi Steve,
The try catch is _not_ required.
All you need is the line:
cfparam name=FORM.user_type_id type=numeric default=0 /
If FORM.user_type_id does not exist, cfparam will take care of it.
That's it.
Later,
Niall.
-Original Message-
From: Steve LaBadie [mailto:[EMAIL PROTECTED]
Prefork is essentially the same model as Apache 1.3, so should be able to
handle most volumes that you throw at it. Unless, of course, you get enough
to need to load-balance :)
On Tue, Sep 16, 2008 at 6:56 PM, James Holmes [EMAIL PROTECTED]wrote:
PHP requires a single threaded webserver (as
Thank You for the reply...
As shown before, my code is below...
What are you saying I need to do here?
I am still new to Stored Procedures and the use of them.
Larry
cftransaction
cfstoredproc procedure=sp_schol_ins
datasource=profilesandgo
cfprocparam type=In
We ran across this a couple of days ago. One of the Mac browsers gave a
phishing warning.
I just tried it on XP (IE, FF and GC) but got no warning.
Mike
-Original Message-
From: Dan LeGate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2008 8:11 PM
To: CF-Talk
Subject: Period
I think your trick will be to first get your CF XML output to match the
XML output from PHP. Once you have done that, your problems should be
solved.
You should be able to view XML in a browser. Firefox works great when
viewing XML. IE not so great, sometimes.
Mike
-Original
Hi Larry,
You need to add a cfprocparam for every parameter as follows.
So your parameters are:
@name varchar(50) = NULL,
@schol_type_id int = NULL,
@scholarships_uid int = NULL,
@academic_uid int = NULL,
@tablename varchar(50) = NULL,
@Student_UID int = NULL
Therefore your call to the stored
Updates:
I used a style attribute in the option tag
(background-image:(url=images/imagename)) it works in FF3 but does
absolutely nothing in IE7
I really really wish that someone would come up with a standard that
will work in every browser.
Scott Stewart wrote:
cfoutput query=getHexID
The first checkbox doesn't pass the attendees, the other 6 do
Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[EMAIL PROTECTED]
~|
AdobeĀ®
The only parts that are actually required is the scholid which is
automatic.
Otherwise as an entry is made as in this case, we are only inserting three
variables
@student_UID
@name
@tablename
Otherwise, all fields in the table are able to be null.
Larry
-Original Message-
From:
Or a browser that adheres to the standard?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 9:44 AM
To: CF-Talk
Subject: Re: CSS Question
Updates:
I used a style attribute in the option tag
(background-image:(url=images/imagename))
as long as M$ is in the game that will *never* happen
Dave Francis wrote:
Or a browser that adheres to the standard?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 9:44 AM
To: CF-Talk
Subject: Re: CSS Question
Updates:
I
OK, Steve - think I understand why you're having that problem now...
Your problem is not with the checkboxes it's with the attendees att#n#.
One of the Seminars is called Leading Inclusive, Diverse Teams.
There's a comma in the name which means that this may be interpreted as two
items in the
hi jim
i have also had to do alot of work with queries after they come out of the
database. i have been through almost every conceivable angle there is to try to
optimize it, and have found that at present coldfusion query of queries just
isnt built as a database engine and unfortunately is
I got it
cftransaction
cfstoredproc procedure=sp_schol_ins datasource=profilesandgo
cfprocparam type=In cfsqltype=CF_SQL_VARCHAR
dbVarName=Name value=#FORM.Sport# null=No
cfprocparam type=In cfsqltype=CF_SQL_INTEGER
OK, if you only need
@student_UID
@name
@tablename
Then you can update your Stored Proc and Your ColdFusion code to only pass
and accept these parameters.
@name varchar(50) = NULL,
@tablename varchar(50) = NULL,
@Student_UID int = NULL
cfstoredproc procedure=sp_schol_ins
Hi Larry,
If you update the null attribute to be null=#NOT len(FORM.schol_type_id)#
then it'll dynamically work out whether to pass the value or not.
Oh, and you're welcome.
Later,
Niall.
-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]
Sent: 17 September 2008 15:05
Richard White wrote:
... found that at present coldfusion query of queries just isnt built as a
database engine
And probably never will be. That is what ColdFusion engineers told a
group of us at a pre-Max conference a couple of years ago. ColdFusion
is *NOT* a database engine and is not
I really really wish that someone would come up with a standard that
will work in every browser.
In my experience:
1. option tag cannot include any HTML child;
2. option style only support color, no background, no bold, italic or so.
Or a browser that adheres to the standard?
C'mon, we are in a developer forum here, any developer should be concern
by the way their application behaves on the client side, and like it or not,
about 80% of client use Explorer.
ColdFusion is *NOT* a database engine and is not being designed to replace
one.
thats a shame that they couldnt somehow make it utilise a db engine more
instead of replacing one.
array of arrays - And this is exactly what they suggested for heavy data
lifting inside of ColdFusion.
Actually I have dealt with this and did some testing. What I ended up doing
was creating an array with the look up vaules like so
CFSet ResultsArray= ArrayNew(1)
cfloop query = QMyResults
CFSet ResultsArray[QuestionID]= QMyResults.SurveyResultsValue
cfloop
And then
Can you confirm that putting a background image on an option tag is valid
CSS? If it's not then don't blame Microsoft for not supporting it.
Don't blindly hate MS. Sure they need to take the blame for lots of things,
but not everything they do is wrong.
-Original Message-
From: Scott
and for public sites you're absolutely right. But
the application is for a College, the requirements state that it has to
work in both...I'm just glad they didn't include
Safari and IE7 for the Mac.
Claude Schneegans wrote:
Or a browser that adheres to the standard?
C'mon, we are in a
Nope, still doesn't work.
Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[EMAIL PROTECTED]
-Original Message-
From: houseoffusion [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 10:01 AM
To:
Disregard - it worked.
Thanks
Steve LaBadie, Web Manger
East Stroudsburg University
200 Prospect St.
East Stroudsburg, Pa 18301
570-422-3999
http://www.esu.edu
[EMAIL PROTECTED]
-Original Message-
From: Steve LaBadie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 10:41
I don't blindly hate them, and I'm pretty sure that it's valid CSS.
I want a common set of selectors that will work predictably (and in the
same way) in every browser, that will cover 98% of what you'd need to do
CSS wise.
Rewriting entire sites for cross browser compatibility is getting old,
cftransaction
cfstoredproc procedure=sp_schol_ins
datasource=profilesandgo
...
/cfstoredproc
/cftransaction
Why do you have a CFTRANSACTION there? It doesn't seem to be doing anything.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides
Background:
I have a form page within an I-frame. I increment a session var
(name=SpageCount) when it posts and then use a js location.href back to form. I
also pass a url var (name=uPageCount). Check if both vars match, proceed, if
not start over. This is for testing validation to defeat users
I totally agree. There's no reason that we should have more than ONE version
of CSS given that we have a governing body that has written the standard.
Browser manufacturers should be participating in this body, not working
against it.
-Original Message-
From: Scott Stewart [mailto:[EMAIL
I have this same issue with CFMail, however, i have found times when it will
work and times it won't.
If I create a list of email addresses with a bad account (to send out in one
big TO) from a query, then i will get the error. If i build a static list with
bad accounts, then the page kicks
Background:
I have a form page within an I-frame. I increment a session var
(name=SpageCount) when it posts and then use a js location.href back
to form. I also pass a url var (name=uPageCount). Check if both vars
match, proceed, if not start over. This is for testing validation to
I have a dynamic cftree that loads off a cfc. The cfc just fires off database
queries to get the layout structure. I want the tree to retain state using
session variables if the user hits the back or navigates to an intermediary
processing page.
I've been pounding my head against the wall
Background:
I have a form page within an I-frame. I increment a session var
(name=SpageCount) when it posts and then use a js location.href back
to form. I also pass a url var (name=uPageCount). Check if both vars
match, proceed, if not start over. This is for testing validation to
Thanks for all the replies folkswe're up and running and it's smooth
as silk ;-)
Cheers
-
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web:
hi,
i testing my cfc's by using the cfinvoke. and then if there is an error when
running the cfc's then i have an exception handler to give me the details of
the error
however, although it gives me the details of the error it only provides me with
the tag context until it hits the cfinvoke
to provide more details... i have just got an error and it tells that complex
error types cannot be converted to simple values... but gives me no clue as to
what line of code it is talking about, so i am having to search through the
code to find it
thanks
hi,
i testing my cfc's by using
I just got a new workstation running Windows Vista 64 and I am running into
some issues with JRun. I pulled the latest release of CF off of the Adobe
site this morning, making sure it was for Windows 64-bit. Everything
installed right with no issues, but whenever I attempt to do anything with a
The problem is that you are trying to treat a complex object as a simple
value.
Take the following example. I am creating array that holds 2 values. If I
were to dump it everything would be fine but If I tried to output it like
below I would get the same error you are.
cfset skills = ArrayNew(1)
Hi, all...
I'm trying to run this cfexecute tag...
cfexecute
name = C:\WINDOWS\system32\cmd.exe
arguments = /c
e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\getfiles.bat
timeout= 2
/cfexecute
which is supposed to fire off this
Rick Faircloth wrote:
c:\program files\rhinosoft.com\ftp voyager\ftpvoyager.exe
profile=MLXChange
get=IF20080917_010257_RES_1.zip
local=e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\voyager
The above batch file runs perfectly from the command line. However, when
initialized with
thanks for the reply Dan, although that is a problem i do have at present and
as you rightly said it is trying to a reference complex variable as a simple
variable
although this actual issue is not my problem. my problem is finding the
offending code that has this issue. once i can find the
actually i must also say that i am not cfinvoking a cfc, i am actually invoking
a web service, would this make any difference, and if so then how can i get it
to provide me with more details? thanks
thanks for the reply Dan, although that is a problem i do have at
present and as you rightly
I am interested here as well, as debugging coldfusion code is mostly
involving cfdump tags in strategic places... Does the Eclipse plug-in
give any more information than the CF Debugging output?
Hope this doesn't hi-jack the thread,
speeves
On Wed, Sep 17, 2008 at 1:23 PM, Richard White [EMAIL
I can say that I've got CF8 running on Vista 64, no issues whatsoever. I
don't know how to help you. Maybe try a CF reinstall?
nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]
On Wed, Sep 17, 2008 at 10:38 AM, Jeff Chastain [EMAIL PROTECTED]
I am looking at the KickAss Entry package with 10 gigs.
http://www.kickassvps.com/services/windows_vps/plans.php
How much disk space is actually available on a 10 gig partition? Is that 10
gigs above and beyond the base Windows install. If not how much space it
available for sites software and
hi shannon,
i dont know if my example is exactly the same as what you were asking as my
problem was specifically to do with debugging the cfc's when calling them as a
web service.
but i just worked out that i shouldnt be calling them as a web service until i
have thorougly debugged them!!!.
Thanks Nathan. Do you happen to have it running with SQL Server 2005
Express, 64-bit? I am just trying to isolate the real problem here and the
service only appears to crash when I do anything db related with a DSN
connected to SQL 2005.
Thanks
-- Jeff
-Original Message-
From: Nathan
Changing CF log on as to my personal account seems to have
done the trick.
Any ramifications for changing the log on as for CF that
I should be aware of?
Thanks, Jochem.
Rick
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008
On Tue, Sep 16, 2008 at 9:55 AM, Scott Stewart [EMAIL PROTECTED] wrote:
As far as it happening in all plugins, the answer is yes. It'll work
like a champ in FF3 and fail completely in IE7
Probably not the issue, but note that IE barfs if you try
script ... /
instead of
script .../script
--
Rick Faircloth wrote:
Changing CF log on as to my personal account seems to have
done the trick.
Any ramifications for changing the log on as for CF that
I should be aware of?
Use an account with the least privileges and never use an account that
is used by a user as well. (Just imagine
Hi all,
So I did some googling and searched through the threads here as well. I'm not
finding what I need to know.
What I'm trying to do:
Upload a file to the server via ajax and an iFrame using the tool from:
(http://www.webtoolkit.info/ajax-file-upload.html)
I've got the code in a test
Jochem van Dieten wrote:
(Just imagine what would happen if that user
enters his password incorrectly 3 times and is locked out.)
Or leaves the company and the user account is deactivated.
Or changes their password after three months as often is network policy.
I've seen it all.
Do as Jochem
Hi, Gerald.
I've been using a KAVPS for about 3 months now and have had zero problems
and good support when I needed something. (I spoke to them about needing
good support before getting an account...)
At setup, I wanted to mirror my local dev environment, so I asked for an
additional 10 GB of
And as a follow on, a complete uninstall, delete the JRun folder and
reinstall did not do anything different. When I try to create the new MSSQL
2005 datasource, the browser window hangs for a few seconds and then I get a
Windows popup window that simply says that JRun failed and is restarting.
Thanks for the feedback, guys!
Rick
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2008 4:04 PM
To: CF-Talk
Subject: Re: Problem with CFExecute...
Jochem van Dieten wrote:
(Just imagine what would happen if that user
enters his
Thanx Rick,
How long did it take for them to set up the server? ;)
I had a coupon for a 1 gig MSSQL DB for free so it turned out to be a great
deal. I really miss having a server ever since I got out of the hosting biz.
~G~
On Wed, Sep 17, 2008 at 4:06 PM, Rick Faircloth [EMAIL
As a test case, can you create a datasource with the built in DB (Derby)? It
would probably help to figure out if the issue is with datasources in
general or with mssql 2005 in particular.
Judah
On Wed, Sep 17, 2008 at 1:26 PM, Jeff Chastain [EMAIL PROTECTED] wrote:
And as a follow on, a
Here's the beginning of the error message for a query of queries:
Message [empty string]
StackTrace java.lang.ClassCastException at
coldfusion.sql.imq.GenericComparator.compare(Comparator.java:67) at
coldfusion.sql.imq.TableSorter.compareTo(TableSorter.java:156) at
Judah,
Creating a data source to Derby works just fine. I can verify the existing
data sources as well as create a new one. The issue only appears when I am
trying to connect to SQL 2005.
Thanks
-- Jeff
-Original Message-
From: Judah McAuley [mailto:[EMAIL PROTECTED]
Sent:
Brent,
Without seeing the two queries that your are joining together, I can
only guess at the problem. Likely, one of the columns in qReportSummary
doesn't match the datatype of the corresponding column in qSummary, or
you don't have the same number of columns in both queries.
HTH,
Carl
Try creating a system ODBC connection in Windows and see if that works. If
it does, try creating an ODBC datasource connection in the CF Admin. That
should tell you if it is the windows connection to the db, the CF jdbc
driver for mssql or something else.
Judah
On Wed, Sep 17, 2008 at 2:22 PM,
Is anyone running CF8 and calling a crystal report (created with either version
8.5 or 2008) via the cfreport tag?
We use Crystal Reports 8.5 with our VB6 apps but have never tried to use them
with Coldfusion. I'm attempting that now (with either crystal v8.5 or with a
30-trial of the 2008
Actually, I think I had 2k5 personal edition or something, whatever
installed with visual studio, I hadn't been using it, but I dumped that last
weekend and installed SQL Server 2008 Express x64, which is working really
great with CF8.
Speaking of features, I don't think 2008 is much different
To take this to a new thread...
Does anyone know how to write sql that will return the results in an
editable grid? If I do a right click on a table I can choose to edit top
200 rows and it returns the results in an editable grid and then I can open
up the sql pane above and rewrite the sql and
Having trouble getting this loop to work. I'm not sure anymore if it is even
possible, but it seemed like a good way to go at the start.
What I'm trying to do is have the loop take the list (it can be anything from 1
to 42 items long) from a form and then run the function in the cfquery for
I've found some web references to consuming XMP-RPC using CF8's built-in
funcitonality, but no examples. I took it to mean that it may be possible
to use cfinvoke to consume XML-RPC data, but I'm not really sure if I'm
on the right track.
cfinvoke webservice=http://xml.a.com;
I've found some web references to consuming XMP-RPC using
CF8's built-in funcitonality, but no examples. I took it to
mean that it may be possible to use cfinvoke to consume
XML-RPC data, but I'm not really sure if I'm on the right track.
cfinvoke webservice=http://xml.a.com;
ARRRGGHH
This is the kind of thing that makes you tear ALL your hair out! If
anybody can figure this one out, I'll treat you at Starbucks in some
future life!
Seems simple enough - I'm just ending an plain text email:
cfmail
to=somebody.somewhere.com
subject=Just a quick
I'm using this query to load data into a table from a text file:
cfquery name=load_data datasource=c21ar
load data infile
'e:/inetpub/webroot/real_estate_data/hmls/data/#today#_idx_custom/active_photos.txt'
into table hmls_active_photos_temp
lines terminated by '\r\n'
The issue is in CF. I can created a system ODBC connection without any issue
and can create and ODBC connection in CF. I have tried both MSSQL 2005 and
MSSQL 2008, as well as CF8 in standalone and multi-server. All combinations
fail when trying to create an MSSQL datasource.
Thanks
-- Jeff
I used this jQuery plugin
http://www.phpletter.com/Demo/AjaxFileUpload-Demo/
On Thu, Sep 18, 2008 at 5:02 AM, Brent Nicholas
[EMAIL PROTECTED]wrote:
Hi all,
So I did some googling and searched through the threads here as well. I'm
not finding what I need to know.
What I'm trying to do:
In addition, I tried creating a MSSQL datasource, connecting to another server
I have running MSSQL 2005 and JRun crashed trying to setup that datasource as
well, so it is something local to the JRun/CF install and its connection
ability with MSSQL.
Les,
Kind of weird for sure. How about trying to store the contents of the
include file into a local var, and then use that in the body of the
email.
cfsavecontent variable=email_body
cfinclude template=textEMAIL_BODY.cfm /
/cfsavecontent
cfmail
to=somebody.somewhere.com
Just wondering what the easiest way might be to complete the following task
I have a client that has requested that they display an order form on their
website.
Basically they want the form to look like the following:
Product NamePrice QTY Total
Product 13.00 2
Try adding a server=some non-existent server attribute to the cfmail tag.
This will cause the mail spool file to end up in the Udelivr folder
(alternatively you can just try to catch the file in the Spool directory before
it gets picked up).
Now you can look at the raw email, does the problem
I actually just got done doing a project that consumed an XML-RPC web
service. There is a CFC Roger Benningfield wrote that will translate
xml-rpc xml to ColdFusion vars and back again.
There is a link in the comments of my blog here:
I'm guessing it's a datatype problem. As a guess you could try a union all,
since it would keep it from comparing every record in the second query to
the first to eliminate dupes.
How are these queries being created? Are the columns all identical data
types? If you are creating them with
I'm designing an application that will require a whole series of
heirarchies - its an action plan where the plans can be quite complex.
The idea is a business event happens (a sale or a project is started
) and that triggers a whole set of events that must follow.
I'm thinking of using nested
My advice is stay away.
Nested sets (left right node) are great for calculating ancestor and
descendant nodes, but they are a brittle data structure meaning if some math
goes wrong and the wrong nodes get pointed at the wrong parent you can get
fubared. (or if a developer tries to go in and
What version mssql?
I though 2005 had native support for hierarchical data sets? Much like Oracle.
Mark
On Thu, Sep 18, 2008 at 3:00 PM, Brad Wood [EMAIL PROTECTED] wrote:
My advice is stay away.
Nested sets (left right node) are great for calculating ancestor and
descendant nodes, but they
Dojo has a /pimp/ file upload deal-- it'll even do the flash
multi-file one that degrades into a normal AJAX file upload thingie.
That toolkit just freaking rocks.
Dunno if the problem is with the toolkit tho... sounds like it's one
of the I can't believe I forgot /that/ type deals, like I had
@Brad: thanks for the advice. Throws my plans into a spin, but not
as much as it might have it if the whole shebang gor fubared. (I
didnt know 'fubar' was a verb!).
@Mark: It's MSSql 2005. Thanks for the tip Mark, I'll have a look at that.
What is going to happen is event type {a} happens
I've never had performance issues with nested sets, though I've not
used them in an app with super-heavy updates like you describe.
Update performance is bound by the number of nodes in the tree, of
course, so if you have 400 sites with 100 trees each, but each tree is
only 50 nodes, it's
Short of reinstalling CF (which seems like a good idea at this point) I'd
suggest perhaps looking at your JRE version and reinstalling/upgrading the
JRE version and see if that fixes the obviously borked jdbc driver for
mssql. If you really want to get to the bottom of this and figure out the
I should note that the flash multi-file upload stuff doesn't look like
it will work with flash player 10, IIRC.
The real solution is to pressure the browsers, as came up in Rick's thread.
--
The recent past always presents itself as if destroyed by catastrophes.
Theodor Adorno
On Wed, Sep 17,
Spam.
On Mon, Sep 15, 2008 at 4:09 PM, Phillip Senn [EMAIL PROTECTED] wrote:
About me: I'm honest and hard working. Someone who enjoys working a
lot.
I am looking for telecommute positions.
Have you considered hosting web sites on your own?
Here's an example of a company charging up to $200
94 matches
Mail list logo