Not sure if any more info on this subject has came up, but here is the
contents of the file gm.vbs that was doing all the dirty work:
http://paste-it.net/public/v22f672/
I have also noticed a new file named:
1.exe in the c:\ root directory. It has an icon of BMW (the car company),
not sure if
Hi,
I am confused of wat really hve to do to display error window popup if error
occurs.
eg:cfform
cfinput type=text name=name1value=
cfinput type=Submit name=Submitvalue=Submit
/cfform
cfif isDefined(form.Submit)
cfif not isnumeric(form.name1)
cfotputPlease enter numeric
Hi Kevin,
You say that the webservice is listed in the CFADMIN? I'd try deleting it
from the list and then the next time the code is called it should regenerate
and hopefully solve your problem, have you tried that?
Is this remote service your own? Or someone elses?
Rob
-Original
cf has built-in cfform fields validation. you can invoke the built-in
client-side validation by using VALIDATE attribute of cfinput tags,
possibly in conjunction with some other attributes, like PATTERN if you
are doing regexp validation, or RANGE for range validation.
all details are in the cfml
Not sure if any more info on this subject has came up, but here is the
contents of the file gm.vbs that was doing all the dirty work:
http://paste-it.net/public/v22f672/
I have also noticed a new file named:
1.exe in the c:\ root directory. It has an icon of BMW (the car company),
not
Some further instructions in this instuctional vid:
http://www.youtube.com/watch?v=k-GaRKDsz-Y
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/4/23 Dave Watts dwa...@figleaf.com:
Not sure if any more info on this subject has came up, but here is the
I strongly recommend that you reformat the disk and reinstall. The
Much nodding here too !
If you can afford too, and it contains any sort of sensitive data, you really
need to take this opportunity to buy all new hardware - anything could be
running (in the BIOS, in the hypervisor, ...)
--
Did I get your attention? Luckily these are read-only queries, but still!
I have a meeting this afternoon to discuss reworking/developing an
interface to allow anonymous, anybody in the world, users to develop add
hock queries on a respectably large database. This database gets about
2.5
Ian,
What about creating a Flex based tool that allows users to choose the table
they want to get the data from and then the columns for the table (that you
wanted to be able to select by) would be available. Basically making a
'drag and drop' kinda query builder. where the users don't type
Rob Parkhill wrote:
What about creating a Flex based tool...
That has potential. The current tool is simple HTML forms that attempt
to do what you describe, but does not flow very well as it currently exists.
~|
Adobe®
Hi Rob,
Thank you for suggestion. I did what you recommended and after I did that, I
get this exception...
Could not instantiate stub objects for web service invocation.
I'm not sure why it would not be able to instantiate the class, it is there.
So this has me stuck.
Thank you again for
Hey Ian,
My first thoughts on this would be to ensure that YOU keep total control
over the actually SQL that is being run, if you're working with large sets
of data (more than a few GB) than the performance problems which arise from
poorly written SQL could likely cause you all kinds of beef ;-)
Ian Skinner wrote:
Did I get your attention? Luckily these are read-only queries, but still!
I forgot to mention an important consideration is to somehow control and
mitigate query requests so that users don't tie up the database with a
task taking hours and hours to process.
It is already a
Did I get your attention? Luckily these are read-only queries, but still!
A couple of things:
1. Create a large selection of views with nice names, it will make it
easier for your users to identify the tables and columns they are
looking for. This will also remove or reduce the need for JOINs
Robert Rawlins - Think Blue wrote:
Hey Ian,
My first thoughts on this would be to ensure that YOU keep total control
over the actually SQL that is being run, if you're working with large sets
of data (more than a few GB) than the performance problems which arise from
poorly written SQL
Ian,
Just out of interest, how much data are we talking about? Roughly? DB size,
tables, rows etc. My web service suggestion was really based on the idea
that data was returned immediately but after reading your other post I'm
less sold on my own idea ;-)
Can you go into a little more depth
Hi:
I have a customer whose programmer has vanished and he is trying to get his
application back on line. I'm an intermediate CF programmer and I've managed
to
get everything working again except for one problem. His database is hosted -
and somehow, when he restored his application, the
My developer edition cf8 starts fine and it seems working, url,
http://localhost/blabla. But this morning I noticed that it's not working as
expected, so, looked into the log and found the following entry:
Invalid ColdFusion 8 License
How come?
Also, there're some other services that I don't
Hi Dawn,
This is something which should be handled by the database. In a database
where you have auto incrementing the primary keys it shouldn't be the
applications responsibility to keep an eye on that, you should be doing
simple INSERT statements and allowing the DB to do the work.
In a SQL
Does anyone have any Coldfusion code to insert a new
autoincrement key field in to a MS SQL table and then
remove the old one? Or is there a way to modify a key
field to autoincrement?
If you're just running into occasional collisions, you could use cflock
with an exclusive lock to limit
I have a customer whose programmer has vanished and he is trying to get his
application back on line. I'm an intermediate CF programmer and I've managed
to
get everything working again except for one problem. His database is hosted -
and somehow, when he restored his application, the
If you're just running into occasional collisions, you could use cflock
with an exclusive lock to limit that part of the code so that it can only be
run by one thread at a time (others will get queued up and wait for the
first to complete.
If you want to enforce transactional behavior on the
Are you sure you checked developper and not trial when you installed?
On 4/23/09, Don L do...@yahoo.com wrote:
My developer edition cf8 starts fine and it seems working, url,
http://localhost/blabla. But this morning I noticed that it's not working
as expected, so, looked into the log and
Robert Rawlins - Think Blue wrote:
Ian,
Just out of interest, how much data are we talking about? Roughly? DB size,
tables, rows etc.
Ok, the 10 second description, otherwise we could get into a hours long
dissertation. This is a very old and much cobbled together system.
A main table
Hi Robert: Yes, that would be the best way. The problem is, I'm working from
home, don't have any SQL tools installed on my home computer. So I was trying
to think of a short cut that I could modify the table using Coldfusion. The
database is a student test answer repository -- so they
CFTransaction is a good thought -- thanks -- I had thought of CFLock. I just
wasn't sure what would be the best way. Long term though -- do you think it is
better to redo the database? I was trying to do the quickest fix because it is
a freebie.
Thank you for everyone's help.
Dawn
I
yes,
SILENT_LICENSE_MODE=developer
Are you sure you checked developper and not trial when you installed?
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
I have a mini calendar on my pages that will take you to a master events
calendar. The links on the calendar give you the option of selecting
today's date, month view, or a previous or future date. The today's date
is caching any previous view and I can't seem to stop this from
happening. This
CFTransaction is a good thought -- thanks -- I had thought of CFLock. I just
wasn't sure
what would be the best way. Long term though -- do you think it is better to
redo the
database? I was trying to do the quickest fix because it is a freebie.
The quickest fix is to use
Nate,
Excellent ...thanks for this.
-mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: ALL [mailto:thegreat...@gmail.com]
Sent: Thursday, April 23, 2009 3:34 AM
To: cf-talk
Subject: Re: Question
Dawn, yes the express edition will do the job perfectly for you, I'd
recommend getting that installed. I'd speak with the hosting company about
connecting, they'll give you the details you need to get started.
My concern on this at the moment is working with live databases is never a
good idea,
Hi Ian,
Ah you call that big ;-) Mine is at least an inch bigger :-p
Well, that certainly makes a great deal more sense. Like you say the primary
concern is to stop users from creating queries which kill the system. I
think with some thought put into the construction tool this could certainly
Ian Skinner wrote:
Did I get your attention? Luckily these are read-only queries, but still!
I forgot to mention an important consideration is to somehow control and
mitigate query requests so that users don't tie up the database with a
task taking hours and hours to process.
It is
Studio Express or Toad for MS SQL both have free versions you can download.
On Thu, Apr 23, 2009 at 9:51 AM, Dawn Sekel dse...@ciber.com wrote:
Hi Robert: Yes, that would be the best way. The problem is, I'm working
from home, don't have any SQL tools installed on my home computer. So I
Database tuning is an important line item on my discussion list for this
meeting.
To expand on some of your points.
First the system currently limits users to only selecting data from on
year at a time as a stop-gap measure to try and limit the operating cost
of the query. The trouble is
Yeah you're quite right here, this is certainly something to consider as a
security net down the line, however my only worry would be that it doesn't
solve the root of the problem which seems to be this poor database which is
struggling under its own weight.
I think by the sounds of things the
s. isaac dealey wrote:
If CF is handling the database access you can set a timeout on the query
to prevent it from tying up the server?
CF is not handling the query. It is simply the interface to build the
query which then is submitted to the database. Stored procedures then
run the
Is it possible, and if so any links to help/hints/tutorials, to have
Apache server modify content before it is sent to a browser.
We would like to be able to tell some virtual hosts, but not others to
change the background color style. The idea being to visually
distinguish the staging
Hi Ian,
That all makes a great deal of sense. I really feel you're onto the right
track with the database tuning method, that'll be a great start, whilst this
is a fairly heavy database, in this day and age it also isn't really THAT
heavy and these slow running queries, crashes and batch
I'm looking to get a count of the number of times a regex match can be found in
a string. The best I can come up with is arrayLen(reMatch('expr','string'))
which does work, but it seems like this approach is doing more work than it
really needs to (I don't care about what the regex matched, I
For those that don't know me, I'm John Wilker, co-founder of 360|Conferences
(360|Flex, and 360|iDev). Tom Ortega and I have created a new venture to go
along with our community oriented conferences. 360|Whisperings (
http://www.cfwhisperings.com). For those of you who own Amazon Kindles you
know
Yeah, the three main ideas I have developed so far are 1) database
tuning, 2) API/Web service 3)Possible go to Flex after the first two.
I agree that we are living with some unnecessary complexity. A good
deal of this process was developed in the 90s when databases and servers
were not
oops. CF on the brain. it's http://www.360whisperings.com
On Thu, Apr 23, 2009 at 11:06 AM, John Wilker jwil...@gmail.com wrote:
For those that don't know me, I'm John Wilker, co-founder of
360|Conferences (360|Flex, and 360|iDev). Tom Ortega and I have created a
new venture to go along with
Yeah it sounds like your typical legacy type systems that's a little out of
date.
You might not even need to normalize the data, there's a lot to be said for
performance if the data is denormalized and flatter, it's a balance you'll
have to find.
If you look back through all the requests you've
I think it would easiest to do this within ColdFusion, like body
bgcolor=#DetermineCorrectBGColor()#
Or something similar with CSS: body id=#DetermineCorrectBodyID()#
That function could then look at the hostname, perhaps compare it to a
list of ones that should be displayed specially, and
On Thu, Apr 23, 2009 at 9:45 AM, Ian Skinner h...@ilsweb.com wrote:
much of the content is plain HTML files so the usual CF tricks are
not available.
Why not change the html files into cfm files (just change the
extension) and then include the code needed if coming from those
hosts?
If not, I
Ryan Stille wrote:
I think it would easiest to do this within ColdFusion, like body
bgcolor=#DetermineCorrectBGColor()#
True, but 95% of our several thousand pages are straight HTML, no
ColdFusion at all, so that is not too particle in this case.
But it can be done with Apache as well.
Rick's the man. Worked like a charm.
What database are you using, Bret?
I use MySQL 5 and I import MLS data from two different MLS's every day,
but I use SQL to do it in a cfquery, rather than CFML only. Very, very fast
this way.
For example, after downloading all the data from one of the MLS
I failed to mention that this remote service is someone else's. If I attempt
the hit the WSDL by just pasting the URL in the browser it does come back
successfully.
Any further suggestions? I would appreciate it.
Hi Rob,
Thank you for suggestion. I did what you recommended and after
Phillip Vector wrote:
On Thu, Apr 23, 2009 at 9:45 AM, Ian Skinner h...@ilsweb.com wrote:
much of the content is plain HTML files so the usual CF tricks are
not available.
Why not change the html files into cfm files (just change the
extension) and then include the code needed if coming
Another idea - you could override a stylesheet on the staging sites.
Put something like this in the those virtual hosts:
Alias /path/to/one-of-my-stylesheets.css /special-cfm-stylesheet.cfm
Then in special-cfm-stylesheet.cfm you read in the normal stylesheet,
append something to that text
Glad it helped, Bret! [?]
Rick
On Thu, Apr 23, 2009 at 2:41 PM, Bret McDermitt bretmcderm...@gmail.comwrote:
Rick's the man. Worked like a charm.
What database are you using, Bret?
I use MySQL 5 and I import MLS data from two different MLS's every day,
but I use SQL to do it in a
Hi Kevin,
In the admin panel when you click 'refresh' next to the webservice, what
happens then? Also, try running the following code in a CFM and see what
exception is thrown:
cfset CreateObject(java, coldfusion.server.ServiceFactory
).XmlRpcService.RefreshWebService('URL OF THE WSDL GOES
I am working on an application that retrieves base 64 encoded images from a
data and returns them to a flex application as variables. The issue that I am
having is that the data stored in the variable is being truncated at around the
64001 character mark.
I know in previous versions of
The issue with formatting is that it will likely come back when we move our
sites back onto the server
From what I am gathering it is actually being ran manually, not on
a scheduled task and likely remotely.
I Believe this is coming from ASP and not coldfusion itself, due to
articles like
Thank you Rob for your suggestions.
In the admin panel if I click refresh next to the webservice it gives me this
exception...
Unable to refresh webservice.
Could not instantiate stub objects for web service invocation.
The rootcause was that: java.lang.reflect.InvocationTargetException
When
Hi Kevin,
Yeah these kinds of issues are a nightmare, web services seem to always
throw really dumb vague errors which nobody knows anything about! I've
wasted hours on problems like this.
My final shot at this would be to delete that entry in the cfadmin and
restart the coldfusion service on
The issue with formatting is that it will likely come back when we move our
sites back onto the server
From what I am gathering it is actually being ran manually, not on
a scheduled task and likely remotely.
I Believe this is coming from ASP and not coldfusion itself, due to
articles
Try running:
dbcc checkident(tablename, RESEED)
If the identity seed has been reset, this should reseed it to the
current highest PK value (ie. fix it without needing to create new
columns). You can also use checkident to see what the current seed is
and also to set it to any value you desire,
Hi Rob,
Yes, many hours have already gone into this and I haven't made much progress. ;)
I attempted what you suggested with removing the web service from the
administrator, stopping and starting the CF service. Unfortunately, no change.
I have a test environment currently working. This
CF Administrator - Datasource - Advanced Settings
By default, blobs and clobs are limited/truncated to 64,000 bytes.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
A drop down menu script I am currently using is giving me an error (and a
headache) when viewed in IE 6, 7 or 8. It shows up as a little yellow icon
with an exclaimation mark at the bottom of the page. The script works, but I
cannot figure out how to remove the code that is causing the error. Any
Hey Che,
My staff swear by the plugin(s) available for FireFox to debug IE
related JS issues.
I haven't used the plugin(s). but I know how you got your headache
trying to do it in IE which doesn't even give you a line number to go
on ;-)
Cheers
-
Bryan Stevenson B.Comm.
VP Director of
I have a process that starts with a ColdFusion interface and ends with
an Oracle stored procedure FTPing a file from the database server to an
external FTP server.
A test run today has spend 3.5hours and counting to ftp 100MB of text
data, that seems a bit slow to me is it?
If it is, how
Use jQuery.
Seriously.
Combine valid HTML (you need to fix that too) with jQuery and the number of
cross-browser problems you'll have will drop massively.
Both because the jQuery authors/contributors have already done the hard bit of
figuring out browser quirks, and also just because it
First thing I would try is to do a traceroute from your server to the
external server to see if there is any issues. Then I would try to ftp
manually from the server to the external server.
See if active or passive mode works better.
Use cfzip to zip the file if you can.
Wil
On Thu, Apr 23,
I don't get the error in FireFox, but I do get it in IE7. (The offending
function, sfHover, only runs in IE)
According to Microsoft Script Editor, the error is Object required and
it appears to be coming from line 20 of
http://beta.awma.com/dropdown.js.
19: var div =
Hi Rob,
I thought I'd let you know I got it working, albeit using a method that I'd
prefer not to, but nonetheless it works.
What I did was I went on to the Test server I told you about that works great
with the web service. After removing the web service from the administrator
and stopping
Hello,
I am in a quandary with my query, I have looked at it many times and cannot
find the error. I am getting a too few parameters error on the line with
variable filename8, any insight into how to solve this is welcome. TIA
Code:
cfquery name=loadExtraImgs
Start by removing the () from around your variables.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
Give this a shot
cfquery name=loadExtraImgs datasource=#request.datasource#
INSERT INTO Consumer_ProductExtraImgs
(
Cnsmr_ProductID,
expandedImgID,
ExpandedImg1,
ExpandedImg2,
ExpandedImg3,
ExpandedImg4,
ExpandedImg5,
ExpandedImg6,
ExpandedImg7,
ExpandedImg8,
DescriptionforExpandedImg1,
coworker struggled to find out why this code was breaking on him and finally
found out...but this perplexes even me
cfcomponent
cffunction name=foo access=remote
cfargument name=bar default=hi
cfdocument format=PDF
cfoutput
#bar# first
One question: a thread remains busy while FTP continues, right?
Cheers
On Thu, Apr 23, 2009 at 6:49 PM, Wil Genovese jugg...@visi.com wrote:
First thing I would try is to do a traceroute from your server to the
external server to see if there is any issues. Then I would try to ftp
If the stored procedure is what is FTPing the file, and ColdFusion is
waiting on the stored procedure to return, then yes.
Unless you are looking to return a status to the user, I would look at
doing something like this asynch. I don't know Oracle, but in SQL
Server 2005 and up, the Service
I wouldn't do it. The reasons are obvious. I would find out specifically
what objects / methods they are wanting to allow access to, and I would
build an API to give access only to those objects / methods. Open it up as a
web service API and do it right.
--
Jim Rising
Serial Entrepreneur
Try scoping bar as arguments.bar and see what that does.
You're probably pushing your scope-hunting luck.
~Brad
Original Message
Subject: cfdocumentitem resets arguments scope? nowai!
From: Yuliang Ruan yuliangr...@hotmail.com
Date: Thu, April 23, 2009 6:38 pm
To: cf-talk
sorry guys... I guess I'm a bit late in the conversation, and my thread only
showed the initial post. :)
--
Jim Rising
Serial Entrepreneur
Software Engineer
Web Developer
Knowledge work requires both autonomy and accountability.
On Thu, Apr 23, 2009 at 6:57 PM, Jim Rising
I forgot how access works, but SQL Server doesn't usually like those
double quotes.
Also, see if maybe CF is escaping any of those quotes in those CF variables.
I'd see what the CFQUERY is generating first, then run it in Access and
see how it fares there.
Fawzi Amadu wrote:
Hello,
I am in
IE breaks for a variety of reasons on getElementById
Here's one:
http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html
If you google: javascript getElementById IE you will find many more.
On Thu, Apr 23, 2009 at 2:58 PM, b...@bradwood.com wrote:
I don't get the error in
That is a very bad transfer speed. I have 400kbits/sec upload speed on
my DSL so a 100MB upload would take me 30 mins.
Have you tried what Wil suggested and just try a manual FTP transfer?
Try it and see how fast it goes. Maybe the external server is just slow.
Wil Genovese wrote:
First
80 matches
Mail list logo