Thoughts n Musings

Coldfusion conversion failed
By Brian Fescoe
March 22, 2018

Coldfusion conversion failed when converting the varchar value to data type int

Read More
Comments (0)
MURA 7 on lucee express and 404 errors
By Brian Fescoe
January 23, 2017

Quick post after update my MURA 7 core and site files locally on my lucee express 5.1.0.34, My home page came up fine but my sub pages started getting 404 page not found errors.

Read More
Comments (0)
ColdFusion server-specific error code 2
By Brian Fescoe
January 16, 2017

Had an interesting issue crop up this morning involving one of our legacy Servers running xp IIS 6 and CF 8. ColdFusion stopped working because of a memory heap. But when trying to restart CF through the services control pannel I got the following windows error. service couldn't start due to server-specific error code 2.

Read More
Comments (0)
Search multiple database columns

Quick note, when searching multilpe database columns, avoid using CONCAT I had a terrible time getting it work. Instead I used   where FN +' '+LN like <cfqueryparam cfsqltype="cf_sql_varchar" value="%williams%">

and EE_STAT not like 'T%'

Read More
Comments (0)
Pallet Table continued..
By Brian Fescoe

I was able to use the desk for about a week now and I have to say that I .... Love it. The only thing I would do different is possiblely wet sand it after the staining. Other than that it's awesome.

Read More
Comments (0)
Pallet Table
By Brian Fescoe

I created a table from a recycyled pallet. As I grow older I find that I'm starting to expand my creativity into different mediums. While this site is mostly my journal of programing and other web related work, I'm finding increasing pleasure in buliding more tangible things. Plus I need a place to work when I'm at home.

Read More
Comments (0)
Utlizing the JSON APi
By Brian Fescoe
June 22, 2016

Here are two different example of how to use the JSON api in MURA. One pulls back a page based off of a content ID Number the other will display multiple results via a content collection.

Read More
Comments (0)
BootStrap Validation Plugin
By Brian Fescoe
February 3, 2016
When using the bootstrap validation plugin and jQuery post I had issues with the form still submitting even though the submit button was disabled. This lead to incomplete records in the database to account for this I need to add the following code.

 

Read More
Comments (0)
Add clicked checkboxes to serialized jQuery string
By Brian Fescoe
January 22, 2016
Quick way to add vars at the end of a serialized jQuery form. The below content uses checkboxes but you could use any variable.
 
$("#btnAddNew").button().click(function() {
var programList = $('.programs:checked').map(function() {return this.value;}).get().join(',') // capture checkboxes
var disciplineList = $('.discipline:checked').map(function() {return this.value;}).get().join(',') // capture checkboxes
var theData = $("#addSchool").serialize() + '&programList=' + programList + '&dL=' + disciplineList;
 
}

 

 

Read More
Comments (0)
Importance of declaring local vars in CFC's
By Brian Fescoe
November 11, 2015
This isn't really a new topic and has been discussed many time's before. However I can't not stress the importance or declaring local vars in CFC's, even query's
 
So what can happen, why all the fuss? Truthfully I never really bothered declare them. I mean isn't ColdFusion supposed to do that automatically?
Read More
Comments (0)
Aggregate functions in SQL
By Brian Fescoe
September 30, 2015

When using aggregate functions is SQL it is important to only SELECT the columns you absolutely need.  In my last post I was trying to achieve basically the same thing as in this one, however even though it achieved the same results I was unable to use it to display the results I want without my function getting really complicated. 

Read More
Comments (0)
SQL is powerful! Use it!
By Brian Fescoe
September 24, 2015

I'll admit I tend to use CF for all my coding but sometimes using SQL is by far and away easier to accomplish your goal as well as just a hell of a lot more quicker. I was struggling with retuning a total number of exercise minutes for a project that I'm working on. I tried double looping, adding variables together all kinds of stuff. Sometimes if you just keep it simple its so much better.  
 

Read More
Comments (0)
The Adobe Illustrator series - throwing stars
By Brian Fescoe
September 15, 2015

I was washing my hands thinking about what to create next. I was thinking of all the preset shape tools AI has like the circle, square and star. I've seen many tutorials out there using and modifiing basic shapes with some very impressive resusts. I got to thinking about the ninja turtles. I love watching that show with my son. That's what I'll make throwing stars!

Read More
Comments (0)
The Adobe Illustrator series - the rose
By Brian Fescoe
September 7, 2015

The rose I used to draw this image all the time. I decided to test it out using a stylus and Inklet on my track pad. The end result is not too bad but I think I need to purchase a better stylus in out to do such work. I recently drew an image a zombie ( I love zombies but that's for another post) that I will trace with Inklet and post. Both to to a better review of the software and to improve my AI skills.

Read More
Comments (0)
The Adobe Illustrator series
By Brian Fescoe
September 1, 2015

In an effort to enhance my Adobe Illustrator skills I have been create a logo or Icon at least once a week (hopefully more). When I was younger I use to draw for countless hours, comics mostly but I drew. Drawing was most likely the reason I went into graphic design field. 

Read More
Comments (0)