Monthly Archives: April 2011

Simple Debug Print Between Development and Production

One quick and common way to get debugging information about an application is to introduce some print tracing statements (print spam).  If you run a debug environment as well as a production environment, you can set up a print statement … Continue reading

Posted in Uncategorized | Leave a comment

Child theme URI for WordPress files instead of Parent theme

For WordPress theme developers, remember that when you need to reference the local theme template directory, the following call will reference the parent theme: get_template_directory_uri(); Intuitively, you might look at this and say that the child theme is of course … Continue reading

Posted in Uncategorized | Leave a comment

Emulating an iPad in Firefox

If you want to identify your browser as an iPad when navigating the web, open up your Firefox client and visit about:config in the navigation bar.  Right-click and create a new String entry, then enter the following information: Preference name: … Continue reading

Posted in Uncategorized | 2 Comments

Image corrupt or truncated: <unknown>, Firefox 4

I’m a Firebug user, and we’d been seeing some very strange errors in Firefox 4 on a site that was running without any obvious errors.  In the Console tab, the following error was showing up. Image corrupt or truncated: <unknown> … Continue reading

Posted in Uncategorized | 11 Comments

WP-MEMBER and Invalid Data Passed with Paypal

If you’ve got the WordPress plugin WP-MEMBER installed on your site and you’re seeing Invalid Data Passed errors when expired users attempt to resubscribe, there is a fix available in the meantime until the developers patch the plugin.  You’ll need … Continue reading

Posted in Uncategorized | Leave a comment

Paypal PDT: Error 500, SSL Peers, and Perl

One of my clients ran into a problem with their Google Analytics logging system.  There was a Perl script set up by another developer to receive Paypal Payment Data Transfer (PDT) notifications each time a user was billed.  This script … Continue reading

Posted in Uncategorized | Leave a comment