A Path Less Taken

Breaking with convention in a very conventional fashion. Powered by WordPress

"The mightiest oak in the forest is just a tiny nut that held its ground."
Fortune Cookie

Sunday, July 4, 2010

Category: PHP Development Tags: Author: JJ 0 Comments

I was moving WordPress from Windows Vista and PHP 5.2 to Windows 7 and PHP 5.3 when I encountered what appeared to be a page timeout resulted in Apache HTTP Server rendering a blank page back to the browser. Initial Google sessions did not help, so I dove into the code. After some digging I found the timeout was happening in the wpdb class, the constructor method when it was making the following call:

520
		$this->dbh = @mysql_connect( $dbhost, $dbuser, $dbpassword, true );
Continue reading >>

Thursday, June 17, 2010

Category: Web Design Tags: , Author: JJ 0 Comments

WordPress 3.0 is here! I updated today and as billed the admin interface is lighter. The new default Twenty Ten theme is nice looking, but I only activated it long enough to realize I didn’t like the default layout. I may play with it later when I have more free time. Other interesting features include custom post types, built in short link support and WordPress MU integration for single or multi-site solutions. In honor of the launch I removed the gradient background color from the “bogus” theme and that seemed to help the look. I’ll keep exploring the latest version of WordPress to see what new or interesting features I can find.

Update: Found a really good post on the new features in WordPress 3.0 so I thought I would share it here. It’s called 8 New Exciting WordPress 3.0 Features and it’s great because it has code samples along with the features that require custom code in the theme. Enjoy!