Skip to Content

Year: 2013

black and white image of person using a laptop

Using PHP’s open_basedir to help secure your WordPress site

We recently migrated a few WordPress websites to a shared environment.  One easy thing you can do to help secure sites in shared environments is to properly use PHP’s open_basedir.  PHP’s open_basedir limits the files that PHP can access outside of the specified directory.  You can use open_basedir in the Apache configuration file, php.ini or […]

Read more

Get memory heap and non heap usage on Railo

To get the Memory usage on Railo (heap and non-heap), you can use the getMemoryUsage() function, like so: <cfdump var=’#getmemoryUsage(‘heap’)#’> <cfdump var=’#getmemoryUsage(“non_heap”)#’> Pretty simple.  But something that isn’t well documented.  I hope this helps someone! -Scott

Read more
image of person coding on laptop

Restore InnoDB MySQL Database from .frm/ibdata1 files in Ubuntu 12.04

One of our  LAMP test servers recently crashed and luckily we were able to salvage the hard disk drive from that server.  Restoring the PHP web files from that box was easy, as you can imagine.  We struggled to restore the databases though because we didn’t have export files like we were used to.  Keep […]

Read more
Computer screen in meeting

Web Development Group, Corporate Zen, Rebrands Website

Corporate Zen is a website development firm that has serviced the Washington, DC, Maryland and Northern Virginia area since 1998. Recently, Corporate Zen has rebranded, developing a new logo and launching a new website. Corporate Zen’s new website development showcases our commitment to excellence in Web Development and Web Design, highlighting our eagerness to grow […]

Read more

ColdFusion CacheGet Variable Does Not Exist Gotcha

I am using Railo and EHCache to cache an array of 300,000 items from a database that need to be updated every 30 minutes.  So, naturally, I use the CacheGet() and CachePut() functions. Here’s my code, really simple: <cfset cachedURLList = cacheGet(“URLList”)> Every few minutes I would get an error report from our server….”variable [CACHEDURLLIST] doesn’t exist”. […]

Read more

Updating the Solr Engine in ColdFusion

I’m following up on my CFSummit 2013 blog post, a few people have asked me about this, so I wanted to make a page dedicated to this topic. ColdFusion 10 ships with Solr version 3.4 (Solr Specification Version: 3.4.0.2012.02.02.15.09.05 ).  It looks like they got the source code from the git repository on February 2nd, […]

Read more

My ColdFusion Summit 2013 Experience

So I went to my first developer conference last week, the Adobe ColdFusion Summit 2013 hosted by Adobe at the Mandalay Bay Hotel and Casino in Las Vegas.  It was my first time meeting a lot of people in the community. The keynotes were great, they really got me excited for ColdFusion Splendor, which should […]

Read more

Railo and the Microsoft SQL Server Native Driver

Last week I was working on a web crawler to crawl 250,000 URLs each night.  We had 5 client crawlers running and connecting to a master MSSQL 2013 database.  FusionGronker in ##coldfusion on freenode recommended that I try FusionReactor (a tool that allows you to monitor EVERYTHING that’s going on in your Java (ColdFusion) servers […]

Read more

X-Cart Behind Load Balancer with SSL Termination

We recently had some issues with one of our X-Cart sites.  The site is behind a Cloud Load Balancer with SSL termination at Rackspace and X-Cart wouldn’t play nicely, it kept causing an infinite redirect loop because it wouldn’t detect that the request was already secure. The solution was to have X-Cart properly detect if the […]

Read more
Back to top