Showing articles 21 - 30 (142 total)

Taking A Step Ahead With jQuery

Posted on 07/18/2014 at 09:24 am | Viewed 5,784 times | 0 comments

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 on 07/17/2014 at 09:55 am | Viewed 11,250 times | 1 comment

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 pm | Viewed 6,305 times | 0 comments

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

Posted on 06/25/2014 at 01:47 pm | Viewed 5,575 times | 0 comments

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...

Facebook changes to Autoposting Apps

Posted on 06/11/2014 at 04:19 pm | Viewed 5,211 times | 0 comments

While troubleshooting difficulties with autoposting applications, we had created a facebook app for a test site. The settings were all exactly the same as all previously established (and fully functional) auto posting apps, except a very annoying setting buried in “Canvas Payments” that cannot be turned off. This turns out to be a Red Herring....

Remove Duplicate Span Tags from Jquery UI Buttons

Posted on 05/22/2014 at 10:22 pm | Viewed 5,999 times | 1 comment

I have a loader function that I call every time I need to update ajax-ed in content.  A funny thing was happening: the buttons kept growing bigger and bigger on each run of this function.  The culprit: additional span tags that were causing the CSS rules to be applied multiple times.  The fix: unwrap . Remove Duplicate Spans from Jquery UI...

Rackspace Cloudfiles PHP API Cookbook

Posted on 03/19/2014 at 10:33 pm | Viewed 6,779 times | 0 comments

I'm working on the latest API of the Rackspace Cloudfiles API (php-opencloud).  I've had a bear of a time figuring everything out.  I think I was making it too complicated (plus I was starting on an older version of the PHP SDK... but that's another story).  Now that I'm figuring out the API, the Rackspace PHP developers have done a really good...

Getting Composer to Install on Windows 8 (Wamp / PHP)

Posted on 03/17/2014 at 08:43 pm | Viewed 8,058 times | 0 comments

Get the Windows Installer for Composer If you are on Windows and want to install Composer, no worries, there is a quick (and easy) Windows installer for Composer . Add PHP Folder to System Path This is supposedly done by the Composer installer, but I couldn't get the darn thing running the first few tries, so I did this manually.  I added...

MySQL - Determine Duplicate Rows Based on Multiple Fields/Columns

Posted on 03/17/2014 at 11:02 am | Viewed 7,707 times | 0 comments

I've been looking for some magical mysql query code to allow me to detect duplicate records, based on multiple columns being the same MySQL Query to Detect Duplicate Rows (based on multiple fields) SELECT * FROM screwed_up_table GROUP BY field1, field2 HAVING count(*) > 1 That's it. Piece of cake. I usually use this code to get the values of...

CSS To Undo Font Family

Posted on 03/11/2014 at 10:55 pm | Viewed 5,916 times | 0 comments

This is a quick note about how to reset the font being applied to a particular CSS selector.  I always forget about this, so I wanted to post my answer so I'll remember it. Reset CSS Font-Family Declaration The code is very easy.  The only prerequisite is that you have defined the font-family you actually want to use at a higher level (or a...

    1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9   

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design