Creating replicated sites with coldfusion

2007-10-15 Thread Jessica Kennedy
Hi, I am working on a site for a MLM company that wants each person who signs up with the company to have their own replicated website. The replicated site is really no more than each person having a separate URL that is defined by the username they put in when they sign up- everyone's site is

Re: Creating replicated sites with coldfusion

2007-10-16 Thread Jessica Kennedy
Jessica: Also, have you considered using wildcard DNS? As in http://jessica.sample.com You can do that by simply adding a * A host entry in your DNS manager. Michael This sounds like a good Idea... what would be the proper syntax to use to get the username field if I went with a wildcard

Re: Creating replicated sites with coldfusion

2007-10-16 Thread Jessica Kennedy
Ok, this was what my original thought was... can you explain this part better for me please: This page will parse the cgi.request_uri string into an array based on the / character. -- This is the part that I have been struggling with... thanks! Use a custom 404 page. You will need to

fixing outofmemoryerror: java heap space

2007-10-23 Thread Jessica Kennedy
Hi, I am running a coldfusion page that calculates a large volume of variables, which has thus far not been a problem. The pages have worked fine (maybe taken a while to load) on my testing server on some web space I have. However, I uploaded the file to its final resting place on a

Help cleaning up my code...

2007-10-23 Thread Jessica Kennedy
hi, I posted a while ago about an outofmemoryerror: java heap space problem. Anyway, it's looking like the only way to fix this problem is to re-write some programming. The program I wrote is for displaying a tree structure of people in a database based on the upline person. IE: i recruit

MySQL Stored Procedure Help!

2007-10-25 Thread Jessica Kennedy
Hey, I have posted a couple of times on getting a hierarchal tree 22 levels deep programmed for an MLM company. My original coding was using too much memory, as I was more or less creating a FILO type structure with several arrays. I have looked over the various methods for displaying

Re: MySQL Stored Procedure Help!

2007-10-26 Thread Jessica Kennedy
Jessica Kennedy wrote: I have looked over the various methods for displaying hierarchal data with MySql, and there don't really seem to be many elegant solutions-- the best method (according to many) seemed to be creating a column for lft rgt values as a nested tree structure

credit card storage help

2008-05-22 Thread Jessica Kennedy
I need some help finding a secure way to store credit cards on a website I am working on. I know, I know you shouldn't do it unless you absolutely MUST, but it looks like I absolutely must, sad to say. I have to set up reoccurring payments with credit cards that will notify the user if their

Re: credit card storage help

2008-05-22 Thread Jessica Kennedy
Cardservice international... they store partial card #'s for reference if I am not mistaken... they have a reoccurring billing feature on their website, the only problem is that once a person is entered into the reoccurring cycle, they will run the person's credit card over and over and stick

Re: credit card storage help

2008-05-23 Thread Jessica Kennedy
so you're saying I shouldn't do it??? =) ok, you convinced me... I was pretty nervous about doing that anyway... looks like shift4 will do what I need anyway. and for those of you in a similar situation, i would NOT recommend cardservice international for anything even vaguely large-scale.

query help

2008-06-17 Thread Jessica Kennedy
I'm pretty sure I will smack my head when I hear the answer, but I'll ask anyway... I am using a select count() query to get the number of people directly sponsored by a person... this works fine, the problem is that I only want to have the query count people that meet a certain qualification.

Re: query help

2008-06-20 Thread Jessica Kennedy
no luck... I do need the group by clause, my actual query is much larger than the one posted. the problem, for example is this: for five people, paid=no, for five others, paid=yes under one parent sponsor. I am now getting a result of 10, but I need the result to be 5, only counting those

undefined value error... weird...

2008-07-03 Thread Jessica Kennedy
Ok, every once in a while, usually the first time I load my website every few hours, I am getting this error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined

Re: undefined value error... weird...

2008-07-04 Thread Jessica Kennedy
Duly noted on queryparams! Problem still is that I can't replicate the problem... if I cfdump the vars when I go back to refresh the page the error goes away, and I can't figure out how to get it back. I've considered the issue being in the application variable not declaring first. this code

Re: undefined value error... weird...

2008-07-04 Thread Jessica Kennedy
That might work assuming the error is in fact in the empty array... i needed a full array for a while, but it isn't necessary anymore, so that'll be something I will change. I think the error might be in the application, after all... I got the same error randomly in a secure section of the

Re: undefined value error... weird...

2008-07-06 Thread Jessica Kennedy
ok... hopefully no one else will encounter this error, but I found a forum that is discussing this issue... the problem isn't in the code but in the way coldfusion 8 is connecting to mysql 5 db... here is the link for those interested:

Re: Just a little cfcase tip...

2008-07-06 Thread Jessica Kennedy
well.. I feel marginally less stupid now =) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

securing pdf's?

2008-08-04 Thread Jessica Kennedy
I have a directory of .pdf files nested within a secure section of my website. However, the application is not firing when a user goes to the direct link to the pdf, so anyone could see the pdf's... does anyone know a way to keep the pdfs from showing unless a user is logged in? Thanks!

Re: securing pdf's?

2008-08-14 Thread Jessica Kennedy
Thanks for all the tips! I was not able to change most of the pdf's to cfcontent because the pdf's legally could not be altered; however, I found this article on securing pdf's and other documents, thought I would post it since I'm sure someone in the future is bound to have the same problem.

putting in cffile

2008-08-27 Thread Jessica Kennedy
I need to write a .csv file with all data encased in quotation marks, the problem is that cffile output uses double quotes to define the data to input. How can I get around this?? Geez, i know it's got to be something easy...

Re: putting in cffile

2008-08-28 Thread Jessica Kennedy
THANK YOU! That worked perfectly! I need to write a .csv file with all data encased in quotation marks, the problem is that cffile output uses double quotes to define the data to input. How can I get around this?? Geez, i know it's got to be something easy... You can either double

dynamic js field verification

2008-09-09 Thread Jessica Kennedy
Hi, I am working on a page where an admin would enter an id number for one or more of a list of people. as it is important that the numbers match, I am making a verification field to check the numbers match. All fine and dandy, however I would like to have js check this before the form is

Re: BUMP Re: Odd null pointer error

2008-09-10 Thread Jessica Kennedy
I had this exact problem a couple of months ago. Someone answered the question in the original post, you need to have the maintain connections box either checked or unchecked (i can't remember which, but process of elimination should lead you to the answer!) This should clear up the problem.

Re: dynamic js field verification

2008-09-10 Thread Jessica Kennedy
Well, the CF seems to be functioning properly, so I suppose the js is the problem. I am not getting any error messages, however. I don't think the function is running at all, as I added a popup message to either scenario and still got no results. The tostring() i had to add because i was

Re: CFDOCUMENT border on each page?

2008-09-10 Thread Jessica Kennedy
I spent more time than I like to think on a similar problem, just had one page but it was still very difficult to convince coldfusion to render the image at the size I needed. cfdocument format=pdf pageheight=11 pagewidth=8.5 marginbottom=0 marginleft=0 marginright=0 margintop=0 To force the

Re: dynamic js field verification

2008-09-10 Thread Jessica Kennedy
The info seems to be appearing correctly in the page source: form name=form id=form action=runform.cfm method=post onsubmit=return _CF_checkform(this) input name=2 type=text id=2 / input name=chk2 type=text id=chk2 /John Doe 2br / script type=text/javascript function java2(form) {

Re: dynamic js field verification

2008-09-10 Thread Jessica Kennedy
I figured it out... the #javaint# field was all numeric, javascript didn't like that. I just added a few characters to the beginning and it took care of it. The info seems to be appearing correctly in the page source: form name=form id=form action=runform.cfm method=post onsubmit=return

sql query help

2008-12-04 Thread Jessica Kennedy
I have a MySQL query to pull all products from the database, no problem. I am trying to get it to only display prodcuts that are in stock, the value should be sold p.quantity in the following query. however, when sold appears as null (very often) it removes the full record, which I don't

Re: sql query help

2008-12-05 Thread Jessica Kennedy
didn't work, got an error. changed the isnull to ifnull, got a invalid use of a group function error... I don't even know how to fix that...=( Try this, I think it's what you're looking for: SELECT SUM(ISNULL(o.qty, 0)) as sold, p.sku, p.name, p.points, p. short_description, p.quantity,

Re: sql query help

2008-12-05 Thread Jessica Kennedy
NM, got it... changed the where clause to having and moved it below the group by... seems to be working so far! Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

passing secure vars between applications

2008-12-23 Thread Jessica Kennedy
OK, I have a member area on my site that is unencrypted. there are a couple of pages that need to be encrypted as they deal with passing credit card info to our cc processor. I'm using crystaltech, so our site has a mirrored site on their shared SSL domain. I thought it would be fairly easy

sharing vars between applications

2008-12-30 Thread Jessica Kennedy
Posted this last week... no response, I am still not any further... any help would be greatly appreciated! OK, I have a member area on my site that is unencrypted. there are a couple of pages that need to be encrypted as they deal with passing credit card info to our cc processor. I'm using

Re: How to deal with multiple sites within one

2008-12-30 Thread Jessica Kennedy
Dunno if mine is the best solution, but I've got about 10 sites pulling from one db, I put a cfswitch statement from the cgi variable to handle getting people to the correct pages; one if they type in website.com, one for www.website.com. I have not had any problems with this method yet...

Re: sharing vars between applications

2008-12-31 Thread Jessica Kennedy
Are the two domains on the same server and sharing the same application name? On Tue, Dec 30, 2008 at 6:12 PM, Jessica Kennedy police_kidnapped_your_child...@yahoo.com wrote: yes, they are. ~| Adobe® ColdFusion® 8 software

GetHTTPRequestData().content bytearray

2009-10-23 Thread Jessica Kennedy
i'm programming a response handler for receiving xml data sent via a 'get' request from a 3rd party api. I have tested my handler without problems using sample xml, however, when the info is sent from the api, I get the error: ByteArray objects cannot be converted to strings. here is the

Re: Trouble with query...

2009-10-23 Thread Jessica Kennedy
i'm not very familiar with sql server syntax, but would something like this work? SELECT IFNULL(cpn.numCoupons,0) as numCoupons, couponcode, THEORDERDATE FROM tblOrders LEFT JOIN (SELECT count(couponCode) AS numCoupons, THEORDERDATE FROM tblOrders WHERE THEORDERDATE AND

Re: XML POST with Coldfusion

2009-10-26 Thread Jessica Kennedy
this will create a valid xml header to send along, over cfsavecontent: !---create xml--- cfxml variable=apisend SMS authentification username/username password/password /authentification message sender/sender text/text /message recipients

Setting Static Image Expire

2009-12-04 Thread Jessica Kennedy
I'm having some issues with the classic flickering images on rollover in IE for one of my sites. here is a link to one of the pages: directfighter.com/http://www.directfighter.com/calendar.cfm?tmonth=10tyear=2009pmtr=srchst= I have tried caching the css page. this helped some on the gigantic

Re: Setting Static Image Expire

2009-12-05 Thread Jessica Kennedy
nothing... really? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328890

Re: Setting Static Image Expire

2009-12-05 Thread Jessica Kennedy
/search?hl=en source=hpq=add+expires+header+to+imagesaq=1oq=add+expiraqi=g10if that link doesn't work search for: add expires header to images Randy On Sat, Dec 5, 2009 at 1:14 PM, Jessica Kennedy police_kidnapped_your_child...@yahoo.com wrote: nothing... really

Re: Setting Static Image Expire

2009-12-06 Thread Jessica Kennedy
the problem. HTH and Godspeed. G! On Sat, Dec 5, 2009 at 1:14 PM, Jessica Kennedy police_kidnapped_your_child...@yahoo.com wrote: nothing... really? ~| Want to reach the ColdFusion community with something they want? Let them

Re: Working With Images

2009-12-11 Thread Jessica Kennedy
try googling cfimage, or if you like learning by example, download galleon forums and play around with the avatar uploader. i'm sure there are more (and possibly better) examples but it's the first thing that comes to mind Hello. I was ask to help build a dynamic website for a volunteer

Re: Null Pointers are another name for undefined values

2009-12-16 Thread Jessica Kennedy
I've gotten this error before. I don't know if this is the same thing or not, but in my case, I got the null pointers error only on the application start, a refresh would make it work. anyway, it took me a few weeks, but the solution (at least in my case) was either checking or unchecking (i

Re: Array Error

2010-10-10 Thread Jessica Kennedy
You'll need to use a struct to do your bidding instead of an array-- I don't think you can skip values in arrays, so if your query is returning account_ids 1,2,4,5, #3 would fail. maybe something like... cfquery datasource=cfflex name=q SELECT t1.account_id FROM accounts1 AS t1 LEFT JOIN

Ajax + 2 functions = error

2010-11-09 Thread Jessica Kennedy
Ok, I have the following 2 functions: !--- test--- cffunction name=test access=public output=No returntype=struct cfscript var returnData = structNew(); structAppend(returnData, getTest());//failing here! returnData.test2 = test2; /cfscript cfreturn returnData /cffunction !--- test2

Re: Ajax + 2 functions = error

2010-11-10 Thread Jessica Kennedy
for the cfc and then call the method within it. seems ridiculous to do this for the component my code is already in. try replacing your failing line with these 2: var stuctTest = getTest(); structAppend(returnData, structTest); Azadi On 10/11/2010 09:56 , Jessica Kennedy wrote: structAppend

Re: slow cfquery cfqueryparam?

2010-11-10 Thread Jessica Kennedy
Hey, maybe try something like this? I haven't tested this, but it should theoretically be faster cfset sqlstring = / cfset questionIDLen = arrayLen(questionIDArray)!---put this in a variable so it doesn't re-evaluate 2200 times--- cfset questionIDCheck = 0 cfloop index=i from=2

Re: Ajax + 2 functions = error

2010-11-10 Thread Jessica Kennedy
the getTest() method added later... Azadi On 10/11/2010 21:50 , Jessica Kennedy wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http

Re: Ajax + 2 functions = error

2010-11-10 Thread Jessica Kennedy
correct. I believe if you are calling it from the same root domain a public access will work Confusing. Your access is public but you can call it via remote Ajax? ~| Order the Adobe Coldfusion Anthology now!

cfhttp multipart facebook

2011-01-03 Thread Jessica Kennedy
Hi, I'm playing with the facebook graph api, and was attempting to send an image to my wall. According to facebook, you just send the image, your access key a caption... see below my code: cfoutput cfif fileexists(D:\myPath\images\menubar.jpg) cfhttp method=post