FuelPHP unexpectedly returns Arr instead of data accessing REST controller with no format specified
August 22, 2012 in Uncategorized
When working with the REST Controller in FuelPHP and accessing it from your browser you see “Arr” when a format is not specified in the URL instead of the expected data in your default format. This is because of a setting in the rest.php config file (fuel/core/config/rest.php OR /fuel/app/config/rest.php). Change: <pre>’ignore_http_accept’ => false,</pre> to: <pre>’ignore_http_accept’ [...]
WordPress options in Standalone vs Multisite ( aka update_option vs update_site_option )
December 14, 2011 in Fail, Programming, Rants, WordPress
While researching how data needed to be migrated for Multisite functionality in BackupBuddy I’ve had to do a lot of digging into the differences between how options (and other) data is stored and retrieved in Standalone versus Multisite WordPress setups. This was an extremely confusing venture and not intuitive at all. I’ll start with a [...]
WordPress + Xampp on Mac Update Permissions Problem
December 13, 2011 in Uncategorized
If you are running WordPress on OS X using XAMPP for local development then you likely have tried to upload core or a plugin and encountered the following error while prompted for FTP Connect Information: To perform the requested action, WordPress needs to access your web server. This is because by default XAMPP runs as [...]
General Setup menu missing in Eventum
June 1, 2011 in Programming
A couple of weeks into using Eventum, the bug tracking system made by the creators of MySQL, the General Setup section under Administration disappeared. This was where you would set up all of the Eventum-specific settings such as email configuration, notifications, etc. I was still able to add and manage projects but not configure Eventum [...]
George Carlin – Who Really Controls America
May 18, 2011 in Freedom, Politics, Rants, Stupidity
TRANSCRIPT: There’s a reason that education sucks, and it’s the same reason it will never ever ever be fixed. It’s never going to get any better, don’t look for it. Be happy with what you’ve got. Because the owners of this country don’t want that. I’m talking about the real owners now, the big, wealthy, [...]
How to remove iTunes store and Ping arrows / buttons next to songs in Windows
October 11, 2010 in Freedom, Rants
Prior to iTunes 10 an arrow button would be placed next to the selected song, album, and artist. Clicking on any of these arrows / links would open the iTunes store. With the introduction of iTunes 10, this arrow has been enlarged and now sports the word “Ping” as this button is now used for [...]
Email notification to all thread commenters on reply in WordPress P2 theme
September 3, 2010 in Uncategorized
The following code added to the bottom of P2′s functions.php will allow P2 to send email notifications to all other responders in a comments thread. // PluginBuddy Email Notification Patch for P2 // by Dustin Bolton on September 10, 2010. // pluginbuddy.com dustinbolton.com add_action( ‘comment_post’, ‘email_notification’ ); function email_notification( $comment_id ) { $emails = array(); [...]
There’s no such thing as safe driving. Abstinence only!
August 20, 2010 in Politics, Stupidity
A friend of mine posted this on their Facebook. Very nice. “The number one killer of young Americans is the automobile. However, the Secular Humanists dominating our schools refuse to acknowledge that the only safe driving is abstinence from driving. Instead, they advocate courses in “Driver Education,” in which teenagers are taught “Safe Driving,” and [...]
Submit unchecked checkbox value
August 4, 2010 in Programming
I had never noticed before that submitting a form with unchecked checkboxes in it results in those checkboxes not being sent to the server at all. I had always assumed that a zero ( 0 ) would be sent for unchecked since a one ( 1 ) is sent when checked. Rather than add code [...]
James Lankford: A quick review
July 26, 2010 in Politics, Rants
A lot of people I know are fans of James Lankford. He’s Christian and a big name in Oklahoma so he’s pretty set. Here are my impressions of his views from his website. This is quickly thrown together with no citations, spell-checking, or proof-reading. I may or may not come back and spruce things up. [...]