Newsgroup_User
LEGEND
Newsgroup_User
LEGEND
Activity
‎Apr 03, 2009
11:11 AM
MikiNack,
At this point ...
> <param name="movie"
value="images/navigation.swf?Section=about" />
... you're passing in a string. The string instructs Flash to
define a
variable named Section and set its value to the (string)
value "about". So
far, so good.
> In the movie clip from which I am calling the variable I
have:
> onClipEvent(load) {
> if (thisPage = about){
There are two issues here. First, you're checking to see if
thisPage
equals about -- but that word, "about", isn't in quotes,
which means it
isn't a string. But the variable you passed in is a string,
so you'll need
to wrap the word "about" in quotes. In addition to that,
you'll need to use
the equality operator (==), instead of the equals sign. In
ActionScript,
the equals sign *sets* a value to something, while the double
equals sign
*checks* if one value matches another.
onClipEvent(load) {
if (thisPage == "about") { ...
See the difference?
While you're at it, honestly ... you may as well just check
for the
original variable name you passed in, Section. It doesn't
hurt anything to
set thisPage = Section in previous code, but it doesn't help
anything,
either. You can skip the "thisPage = Section" line and simply
change your
on() code to look like this:
onClipEvent(load) {
if (Section == "about") { ...
David Stiller
Co-author, Foundation Flash CS4 for Designers
http://tinyurl.com/dpsFoundationFlashCS4
"Luck is the residue of good design."
... View more
‎Apr 03, 2009
10:13 AM
SmilingRoses wrote:
> Oh, but it is. Look. That's why this has me so confused.
>
> <mx:RemoteObject id="clientFormRO"
destination="ColdFusion"
> source="Darren21.src.cfc.ClientsGateway">
> <mx:method name="oneClient"
result="oneClientHandler(event)"
> fault="faultHandler(event)"/>
> </mx:RemoteObject>
And the file #web_root#/Darren21/src/cfc/ClientsGateway.cfc
exists ?
(hint:
http://www.tropicallawnandgarden.net/Darren21/src/cfc/ClientsGateway.cfc)
--
Mack
... View more
‎Apr 03, 2009
09:28 AM
SmilingRoses wrote:
> My problem is this. I have created a website using flex,
coldfusion, and mysql.
> The website looks fine and the connections to the
database work and all is well
> until I do a release build, and then try to access the
website. (the website is
> on an Apache server) The website url is
www.tropicallawnandgarden.net
>
> When you go to the website you see ColdFusion errors.
Unable to invoke CFC -
> Could not find the ColdFusion Component or Interface
> ProjectFolder.src.cfc.ClientsGateway faultDetail:'Ensure
that the name is
> correct and that the component or interface exists.
>
> Why is coldfusion looking for the cfc's in the project
folder? Why isn't it
> finding the cfc's in the release build folder?
Mostly like because that's where you told him to look: the
cfc that is
called is configured by the src attribute of the RemoteObject
mxml tag.
> I added a mapping in the coldfusion administrator to the
release build folder,
> but that didn't seem to make any difference.
It's not a CF error, the path to the CFC is wrong in the mxml
file (it's
not the correct path for the release build).
--
Mack
... View more
‎Apr 03, 2009
09:05 AM
lingonaut wrote:
> Can someone please help me out here with the latest
joomlasolutions extension
> for Dreamweaver CS4. I need to make my own JOOMLA!
template and saw a series of
> tutorials on YouTube about converting a CSS template to
JOOMLA!. The instructor
> made use of Stylemaster application and joomlasolutions
1.0 free extension for
> Dreamweaver that I downloaded from joomlasolutions.com.
When I tried to install
> the extension, I got a message that either the Extension
Manager or the plugin
> is not up to date. Surely it cannot be the Extensions
Manager, since CS4 is the
> latest release. I have performed endless searches on
Google and can only find
> expensive commercial extensions for Joomla. If someone
can help me with this
> extension problem I will realy appreciate it. Regards
I don't think it's the problem either, but FWIW there was an
update to Extension Manager, the latest is EM 2.1:
http://www.adobe.com/exchange/em_download/
What is the exact message that you get when you try to
install?
I went to the site you listed and couldn't find the extension
you're talking about. But I searched Google and eventually ended up
here:
http://www.joomlathemes.org/
Is that where you got the extension you're talking about? If
so, I just downloaded it and it installed just fine on my system
(Windows Vista 64bit Home Premium if it matters). I also tried the
Mambo version and it too installed fine. I didn't attempt to use
the extensions, so no idea if they work once installed.
--
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert
... View more
‎Apr 03, 2009
08:10 AM
> Eventually, we received an error message for any failure
in JRun. Usually ODBC
> driver of the machine failure and restore the access
only after restart IIS
> Services and CFM.
Based on the info you provide, it's hard to say. What does
the actual
error msg say? What gets logged when the problems happesn?
What's running
when the problem happens? How is yor JVM configured?
Is there any reason why you're using ODBC drivers rather than
JDBC ones?
--
Adam
... View more
‎Apr 03, 2009
08:07 AM
> the math operator ^ is deprecated in CF8,
Cite?
It certainly doesn't say anything like that in the docs:
http://livedocs.adobe.com/coldfusion/8/htmldocs/Expressions_03.html
{quote}
^
Exponentiation: Return the result of a number raised to a
power (exponent).
Use the caret character (^) to separate the number from the
power; for
example, 2^3 is 8. Real and negative numbers are allowed for
both the base
and the exponent. However, any expression that equates to an
imaginary
number, such -1^.5 results in the string "-1.#IND. ColdFusion
does not
support imaginary or complex numbers.
{quote}
But anyway, if something is deprecated, it still works same
as it ever did,
it's simply flagged for obsolescence. So even if the ^
operator was
deprecated, there'd be no difference in how it worked before
and after
deprecation.
CF seldom deprecates things, and even when deprecated, things
are seldom
actually obsoleted. A good example is the parameterExists()
function: it's
be deprecated since (at least) CF5. It's still there and
functional in CF8
though.
> <cfset mtp = #rem# * 100 * ( (1 - ((1+
(#tme#/100))^-#duree#) ) ) / #tme#>
Well you don't need those pound signs in there, but having
them just makes
your code look untidy, it doesn't actually impact anything.
What kind of differences in results are you seeing?
--
Adam
... View more
‎Apr 03, 2009
07:56 AM
I didn't mention in my previous post: Apache 2, PHP 5.2,
MySQL 5.024
... View more
‎Apr 03, 2009
07:53 AM
This has got me completely confused. I can login successfully
from my
PC using FF 3.08, but not using IE6 or Opera 9.63. I can also
login
successfully on my MAC using FF 3.08, Opera 9.64, and Safari
3.2.1. How
can that be??? I'm using the same login name and password in
all cases?!
I have been able to login without any problems before.
However, just
yesterday I uploaded some new and updated files;
jQuery-1.3.1-min.js,
and some previously uploaded files that now use jQuery and
some
scripts. But it's worth noting that the login.php page does
not have
any reference to the jQuery file, so it doesn't seem likely
that is the
problem.
Does anyone have any idea why I can't login using IE6 and
Opera on the PC?
TIA
... View more
‎Apr 03, 2009
07:51 AM
Ren,
> Anyhow, I had a thought, is my script AS2 or AS3?
>
> on (release) {
> _parent.gotoAndPlay("Hostel_CommCent");
> }
Any time you see on() or onClipEvent(), you know you're
dealing with
ActionScript 1.0 or 2.0 -- not 3.0. Those functions, on() and
onClipEvent(), allow you to attach code directly to objects,
which isn't
allowed in AS3. (Instead, all code is attached in keyframes
in AS3, or in
external text files.)
David Stiller
Co-author, ActionScript 3.0 Quick Reference Guide
http://tinyurl.com/dpsAS3QuickReferenceGuide
"Luck is the residue of good design."
... View more
‎Apr 03, 2009
07:14 AM
Well...there are SWF decompilers out there, though none are
'Adobe
Sanctioned' as far as I know. So it's possible a SWF could be
deconstructed...though the chances that you could makes
changes,
republish through Flash and have it work as needed are pretty
slim - but
at least you'd have access to the assets.
Of course, that makes no difference for an .exe - in which
case, as Rick
says, you're pretty much SOL.
Erik
Captiv8r wrote:
> Nope, sorry.
--
Erik Lord
http://www.capemedia.net
Adobe Community Expert - eLearning
http://www.adobe.com/communities/experts/
------------------------------------------------------------------------
http://www.awaretips.net -
Authorware Tips!
... View more
‎Apr 03, 2009
07:03 AM
> Actually, there is a good reason to put the code in a
cfc: there are almost 100
> tables to migrate, so the code gets rather long and
cumbersome to wade through
> if it isn't broken up.
Fair enough. Youd didn't really tell us that part before,
though.
So you have a calling template which calls an equivalent to
this function
for 100-odd tables? Yikes. I'll reiterate my question whether
this can't
possibly be done DB to DB or via a bulk insert.
> thing, but ultimately my question really has nothing to
do with this particular
> tool. I would really just like to understand why the out
of memory issue exists
> when the code is in a CFC method versus when it is in a
CFM. This issue has
Well it kinda is about this particular tool, because it's
this code that's
causing the problems (or something about the calling code, or
something
like that). Obviously there's some idiosyncasy of it which
gives you
problems when it's in a CFC method as opposed to mainline
code, but I would
not immediately say it's a generic problem with CFCs vs CFMs.
Just yet.
Is this the first table that's being migrated? Or is it
buried somewhere
within the other 100-odd? Is it always this one, or can it
happen on any
of them?
Can you inspect the memory usage between each table's
function, and see if
there's anything unexpected going on (other than it running
out of memory,
which is - in itself - unexpected!).
Do you have 100-odd methods (one for each table) in the CFC,
or lots of
individual CFCs?
I guess you could call a GC in between each table's
processing, and see if
you can keep check on memory usage that way. Or maybe check
memory levels
within that loop you've got, and if it starts flaring up, doa
GC then.
It's not advised to call GCs "by hand", but I have found it's
helped some
times.
Have you sued CF's server monitor or something like
FusionReactor to check
if anything unexpected is consuming RAM?
I think you should try adding <cfqueryparam> tags to
your queries: CF might
be cachinng some info about them, and that could be leaking
memory or
something. Maybe try <cfobjectcache action = "clear">
between each method
callor something.
I wonder if there's something about the fact you're replacing
oldInfo with
a new query within a loop that has a condition based on
oldInfo's record
count. Possibly this is forcing CF to maintain the previous
oldInfo
queries in the background, so you're not actually overwriting
the previous
one with the next one when you requery, you're actually just
getting a new
pointer assigned. Do me a favour, and do this:
<cfset iRecCount = OldInfo.RecordCount>
<cfloop condition="iRecCount GT 0">
[...]
<!--- Load the old info --->
<cfquery name="OldInfo" datasource="dsOld"
maxrows="#GetRecsCount#">
[...]
</cfquery>
<cfset iRecCount = OldInfo.RecordCount>
</cfloop>
This is a slightly far-fetched notion, but it doesn't hurt to
try: it's a
pretty easy change.
> come up enough times now that I'd like to determine if
there is a workaround.
> Due to the deadline I'm on, I haven't tried simply
assigning the query object
> to an empty string at the end of each iteration yet, but
I will try to do so
> soon so I can report on the result.
It might pay to apply a test rig to this notion first:
0) on a dev machine without any other activity
1) grab the heap usage
2) load a big query in
3) grab the heap usage (should losely reflect the fact you've
just stuck a
chunk of data in RAM)
4) set the query variable to be an empty string
5) grab the heap usage. Check to see if the memory is
reclaimed straight
away.
You might need to do a GC between 4+5 for it to take effect.
I speculate
that the RAM won't get freed up straight away, and you might
be consuing it
faster than the JVM can clear it.
--
Adam
... View more
‎Apr 03, 2009
06:39 AM
> When you go to the website you see ColdFusion errors.
Unable to invoke CFC -
> Could not find the ColdFusion Component or Interface
> ProjectFolder.src.cfc.ClientsGateway faultDetail:'Ensure
that the name is
> correct and that the component or interface exists.
>
> Why is coldfusion looking for the cfc's in the project
folder? Why isn't it
> finding the cfc's in the release build folder?
It'll be looking where the calling code tells it to. If it's
looking in
ProjectFolder.src.cfc.ClientsGateway, it suggests you have
this sort of
thing:
myObj = createObject("component",
"ProjectFolder.src.cfc.ClientsGateway");
(or <cfobject>, <cfinvoke> or what-have-you).
What's the calling code that's generating that error?
--
Adam
... View more
‎Apr 03, 2009
12:02 AM
> this tool is only going to be used twice, or
> maybe three times max, so there isn't much point in
spending the time to
> optimize it.
> No point making it a cfc either.
Very true.
--
Adam
... View more
‎Apr 02, 2009
03:54 PM
carehart wrote:
> It would be a real shame to see you (and others) leave.
Can I just offer my
> observation that at least this forum, the "ColdFusion
Server Administration"
> one, is low volume enough that I have no problem
following it via email.
Have you worked with the new email interface?
It doesn't group or thread, all messages arrive individually:
http://adobeforums.adobe.com/servlet/JiveServlet/download/1618380-1485/GmailNew.gif
It consistently deletes the complete body of my email
messages.
It does not include References or In-Reply-To headers.
The servers have been blacklisted for 2 weeks now because
they are
misconfigured.
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
... View more
‎Apr 02, 2009
03:16 PM
still_smiling wrote:
> I have several files listed on my .cfm using
<cfdirectory>, this works perfect,
> lists, the .pdf's, .xls, etc. Now they open but I don't
want my users to open
> them, I want them to be forced in Saving these files
onto their own machine
> then they can open them.
To be exact, these files *are* saved on the users machine
before they
are opened. Albeit in the browsers 'temporary files'
directory of which
many users are not very aware.
> I tried using <cfcontent> and <cfheader> but
it's not working the way I want.
You can use <cfcontent...> and <cfheader...> to
do this, but you must
use an unknown mime type for the content. If the browser
knows the mime
type it will use any plug-ins it has been configured to use
and you have
no control over this. But if the browser does not know the
mime type
the only thing it can do is offer the user to download the
file.
... View more
‎Apr 02, 2009
02:48 PM
On Thu, 2 Apr 2009 22:43:13 +0100, Adam Cameron wrote:
> If nothing else, I'd try to use a bulk loader rather
than individual
> queries, if nothing else.
BTW, I'm particularly proud of that sentence, btw.
--
Adam
... View more
‎Apr 02, 2009
02:43 PM
On top of what Ian sid, you should <cfqueryparam> your
dynamic values so
your not having to recompile a new query with every single
insert you're
doing. This would hurt the DB rather CF though, I would have
thought.
It's just poor form and a bit of a performance hit, whichever
way one looks
at it, though. There's a chance CF is caching something on
its side of
things for each query though.
You should also row-limit your query on the DB end as well as
the CF end of
things. Using maxrows just tells CF to "hang-up" after it
gets the rows it
needs... the DB will still be getting all the rest of them.
Again... this
hits the DB more than it hits CF, but it will slow everything
down.
You might be able to improve the performance of your query by
filtering the
products table before doing the join:
FROM (
select top 1000 *
from products
where product_id > <cfqueryparam value="#startRedId#"
cfsqltype="cf_sql_integer">
order by product_id
) PRODUCTS
LEFT JOIN [etc]
None of this will make any difference vis-a-vis CFC vs CFM,
but it's not
going to hurt ;-)
Is there no way you can do this DB->DB, rather than
putting CF in the
middle of things?
If nothing else, I'd try to use a bulk loader rather than
individual
queries, if nothing else.
What DB system is it?
--
Adam
... View more
‎Apr 02, 2009
02:22 PM
> Is there a way to access the fuzzy search results that
CFSEARCH uses to
> highlight strings when context highlighting is enabled?
If I enter a search
> string "apple" and Verity highlights "apply", "apples"
and "appl1" in the
> context passages, how can I access these fuzzy search
results?
>
> I have written my own highlighting function to highlight
text that are not
> necessarily context passages but I can only highlight
the original search
> string that I entered. I would also like to highlight
the fuzzy search strings
> that Verity finds.
>
> Any suggestions?
Interesting. This is a bit ham-fisted, but you could do a
regex match for
whatever is between the contextHighligthBegin and
contextHighlightEnd
markers, and pull the matched words straight out of the
context passages.
I'm not sure if this is feasible... I've only spent as much
time thinking
about it as it took to type. But it might work?
--
Adam
... View more
‎Apr 02, 2009
12:56 PM
Well nothing is obvious in the function, accept this only
shows one
iteration of 1000 records, so what is the logic to iterate
over this
code 200 times?
I suspect that is the likely source of the problem. A var
scoped
variable is local to the current instance of a function. It
is not
going to be reused from call to call of the function, as far
as I know.
But the garbage collection is not going to run while in the
middle of
a process intensive request where this function is being run
200 times.
I suspect the solution may be as simple as reasigning the
OldInfo to an
empty string at the end of the function though, but I am not
sure.
Also there is some strangeness I did not immediately
understand in the
code. First, you run the "OldInfo" query twice in the
function. Once
at the beginning and once at the end. Secondly, you truncate
the new
table every time you iterate over this function. Wouldn't
that lead to
just the last 1000 records existing in the new table?
... View more
‎Apr 02, 2009
12:37 PM
Dan Bracuk wrote:
> Your error message means that table tbl07ComplyDetail
does not have a field named dateccrdelivered.
Actually does it not mean that CF thinks there is a structure
variable
named 'tbl07ComplyDetail' and that it does not have an
element named
'datecrdelivered'. If it was a field not being in a table
would that
not be a SQL|Database error not a CF error?
Why it thinks this - I could not see a reason for in the code
you provided.
... View more
‎Apr 02, 2009
12:33 PM
jonathan.haglund wrote:
> Since this did not fix it, is it likely another update,
or perhaps a hop to
> WebSphere, JBoss or the like might improve my situation?
>
Maybe, maybe not. I think you have to identify *why* your
system is
running out of threads. If it is some programming fault that
his firing
off thread after thread without cleaning up after itself,
then no matter
how much computer resources your throw at it, sooner or later
this
process is going to eat up all the available threads.
If your application is an intensive application being used by
lots of
users and it just needs this many threads, then you may need
more
systems to share the work load.
If something is hanging a process so that lots new request
has to use a
new thread because none of the old ones have been release,
you are still
going to run out of them no matter how many you have.
In other words, there is no system that has unlimited
resources. So if
you are bumping against the limits, you need to identify why
so an
appropriate resolutions can be applied. Otherwise it is just
guessing.
You have identified what is bringing down the server, now you
need to
monitor it to find out why, the tools mentioned before can
help one do this.
... View more
‎Apr 02, 2009
10:25 AM
rchinoy wrote:
>
> Does anyone know if that's what is really going on?
>
I have never heard of this problem, and I doubt you are the
first to
move a lot of data around with a CFC.
But could it also be a bug in your code? Where you think the
CFC is
using the same variable memory, but is actually creating new
ones?
Seeing some example code would have really helped with this.
... View more
‎Apr 02, 2009
10:04 AM
Azadi wrote:
>
> i would think the problem you see is because the request
comes NOT from
> IE browser
Yes, this is the problem. When you use the <CFHTTP...>
the ColdFusion
server is the User and the internal 'browser' that CF uses to
make the
request can not process the response headers required to use
Microsoft
Integrated Security.
I'm sorry, I know of no solution to allow this to work, but
you can set
headers with <cfhttpparam ...> tags. So I guess there
is a slight
chance that if one *REALLY* knew the Microsoft Integrated
Security
protocol and knew what had to be in those headers and could
generate
that then it could be done.
But I am not that person, I have never heard of it being done
and it may
well not be possible.
... View more
‎Apr 02, 2009
09:41 AM
YetAnotherGjagiello wrote:
> I'm using the trial of Fireworks CS4. I definitely will
NOT be recommending or
> purchasing it to anyone due to this text issue. I can't
work for more than 10
> seconds without having the text jump -- and at least 80%
of the stuff I do is
> just text.
>
> I guess it's back to Visio for me. :(
Or wait for the update to come out, which should be very soon
if the
blog is anything to go by.
Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
How To Report A Bug To Adobe
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
... View more
‎Apr 02, 2009
09:15 AM
> this is because the server that the HTTP call is going
to
doesn?t allow anonymous access and it?s the CF Server
unless you are running your app on the built-in cf web
server, which i
doubt you do, cf is only an APPLICATION server - it does NOT
accept
requests from the browser. the WEB SERVER accepts browser
requests, and
passes them on to CF.
i would think the problem you see is because the request
comes NOT from
IE browser, which is the only browser that supports MS
integrated
authentication.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
... View more
‎Apr 02, 2009
09:11 AM
Are you administrator on the system?
stonebone1 wrote:
> I'm reading the article "Setting up an ASP development
environment for
> Dreamweaver," and I've loaded IIS on my computer and
have the files in the
> wwwroot folder. When I enter
http://localhost/timetest.asp
into my URL address
> box and press Enter, I get "You are not authorized to
view this page." What am
> I doing wrong? I believe I have followed all the steps
exactly.
>
... View more
‎Apr 02, 2009
07:53 AM
redant34jessica wrote:
> If AllCourses NOT empty display AllCourses (there are
links on page to display
> this filtered recordset using URL Parameter - "TypeID")
<% If Not rsAllCourses.EOF Or Not rsAllCourses.BOF Then
%>
> If AllCourses empty and AllTypes NOT empty show AllTypes
(there is a link on
> page to display ALL using a URL Parameter- "Type")
If (rsAllCourses.EOF AND rsAllCourses.BOF) AND (NOT
rsAllTypes.EOF OR
NOT rsAllTypes.BOF) Then %>
> If AllCourses empty and AllTypes empty show warning
message (If there is no
> data a link on page where there is currently no data)
<% If rsAllCourses.EOF And rsAllCourses.BOF AND
rsAllTypes.EOF And
rsAllTypes.BOF Then %>
> Another Question is when a recordset is filtered by a
URL parameter, if that
> URL parameter does not exist in the URL is the recordset
EMPTY??
That depends on what you set the default value to be. I try
to use a
value that will never be used, like -1, so when the URL
parameter
doesn't exist, the recordset uses -1 instead. It won't find a
record
with -1 as the value, so returns an empty recordset.
> Please help. THank you very much!
See how you get on with the above.
Dooza
--
Posting Guidelines
http://www.adobe.com/support/forums/guidelines.html
How To Ask Smart Questions
http://www.catb.org/esr/faqs/smart-questions.html
How To Report A Bug To Adobe
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
... View more
‎Apr 02, 2009
07:04 AM
You cannot have preloaders with Flash Projector files. It
will not work.
--
Regards
FlashJester Support Team
e. - support@flashjester.com
w. - www.flashjester.com
DISCLAIMER:
This email message is intended only for the addressee(s) and
contains
information that may be confidential and/or copyrighted. If
you are not the
intended recipient please notify the sender by reply email
and immediately
delete this email. Use, disclosure or reproduction of this
email by anyone
other than the intended recipient(s) is strictly prohibited.
All measures
have been taken to ensure this email is virus free - however
no warranty is
made that this email or any attachments are free of viruses.
Virus scanning
is recommended and is the responsibility of the recipient.
... View more
‎Apr 02, 2009
06:43 AM
And it would probably be possible to tap a data-mining engine
for
results like this. But you would need to have the engine
first.
If you want to build your own data-mining engine you may want
to consult
people who work in that world.
Your database management system probable has some data mining
tools
built into it that you could use. But the source to find out
about
those features would be the documentation of your database
management
system.
... View more
‎Apr 02, 2009
06:33 AM
To pass ColdFusion data to JavaScript is no different then
passing
ColdFusion data to HTML.
<cfset myCFvar = "Say goodnight Gracie.">
<cfoutput>
<script type="text/javascript>
var myJSvar = #myCFvar#;
alert(myJSvar);
</script>
</cfoutput>
The <cfwddx...> tag with its' CFML2JS option makes it
easier to convert
complex data structures from CF to JS forms.
To pass JavaScript data to ColdFusion you have to submit it
in a
request. You can submit it as a get request in the URL, as a
post
request with form controls or with an Asynchronous JavaScript
request
with XMLHttpRequest commonly called 'AJAX'.
... View more