Welcome to MainelyDesign.com

Photos of Rockland, Maine. Summer 2009.

A blog mostly about web design

This is the personal blog of Kevin Wentworth.  Topics covered here are web programming, design and internet marketing.

Controlling jQuery's Tooltip

Posted 3 days, 16 hours agoViewed 66 times

After watching jQuery's tooltip() slow down a page's loading time by a solid two seconds, it became clear that there had to be a better way to create and control tooltips. The Slow Way The initial use of tooltip() was used to create all of the tooltips on page generation, as such... $(".tooltip").tooltip({ position: { my: "center bottom-20",...

Taking A Step Ahead With jQuery

Posted 1 week, 4 days agoViewed 141 times

After spending a majority of my time developing with JavaScript and jQuery, I've come across many different things that proved very useful, but may not be thought of by most developers. Two things in particular stand out: The notorious download attribute, and Vertically aligning two DOM elements to their baseline Both of these things have...

LinkedIn PHP Api - Fixing 401 Unknown Authentication Scheme Error

Posted 1 week, 5 days agoViewed 909 times

If you are a disciplined developer you probably take a lot of time to read the manual and probably also use the examples provided by the vendor, right?  This is what I was doing in my attempt to get the LinkedIn PHP API working.  LinkedIn recommends using file_get_contents() with a stream context.  Looks good to me.  After you get your GETs...

Debugging 500 errors

Posted on 06/25/2014 at 02:04 pmViewed 281 times

500 errors are notoriously vague errors that can occur for a number of reasons.  Technically the 500 error is defined as an internal server error.  This does not tell you much but it does tell you that you NEED MORE INFORMATION. How you get that information is from your error logs.  You may look in your application error logs but they will not...

Apache Configuration Error

Apache Configuration Error

Posted on 06/25/2014 at 01:47 pmViewed 165 times

While debugging a notorious 500 internal server error, we found by accessing error logs that the default timeout for FastCGI was 40 seconds.  This was causing timeout faults on a number of apache processes. These related log entries were found in the apache error log: [Wed Jun 25 12:25:53 2014] [warn] [client] mod_fcgid: read...

Read More Posts.

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design