osbmedia

el blog de thanh

I'm the kind of guy who thrives on challenge and gets bored resting on my considerable laurels. Thus, I chose the blogosphere as the next object of my conquest.

 

Fix for Wordpress 3.1 Blank Admin page and Appearance Menu issues

By Thanh March 10, 2011 Technology, PHP 0 Comments

So I haven’t been as active with Wordpress as of late. My sister in law decides to have me reactivate her wordpress blog on my server…. Can we say FML? She did a wordpress upgrade to Wordpress 3.1 and then shit hit the fan… Blank Admin Page, uploading themes not working, certain pages comes up blank like the Appearance > Menu, and so on…

read more

PHP-FPM + NGINX + 502 GATEWAY

By Thanh February 16, 2011 Technology, nginx, PHP 0 Comments

OMFG, I spent hours debugging this 502 gateway error. My server is very customized in terms of the way I have my LEMP stack set up. Last night, I decided to run an apt-get upgrade on my box since it’s been awhile. I saw that there were many php packages on the list. So, I went through with it. This morning = FAIL. Woke up early to be greated by the infamous 502 Gateway error. Logs were not helpful at all.

read more

The mobile phone providers are scamming us

By Thanh January 14, 2011 Life, Technology 0 Comments

Textual messaging is more popular than voice calling these days. According to my intensely-researched wikipedia sources, the maximum possible text message size is less than a single kilobyte. So why the heck can’t data and text packages be integrated into a single package?

read more

Are long work days feasible for coders?

By Thanh January 14, 2011 Life, Technology, Work 0 Comments

This issue is beginning to trend quite a bit. The company I last worked for tried to enforce longer work hours as well. Things became stressful, my health was affect (borderline high blood pressure) and eventually, I left after a 3 year tenure. My doctor would tell me “no job is worth putting your health in risk.” I left during an economic downturn, but I didn’t fear not being able to find work. I am highly skilled in my profession and pretty confident in my field of work.

read more

Adding a trailing slash to your URLs on NGINX

By Thanh January 04, 2011 Technology, nginx 0 Comments

I come across this question a lot from people. It’s a simple solution really and I’ll tell you how. Some may ask what’s the point (it works as is with or without)? Well, when it comes to Search Engine Optimization, having duplicate may hurt your rankings. Therefore, it’s good practice to have a permanent (301) redirect for one or the other.

read more

wordpress audioplayer fix for https sites

By Thanh October 21, 2010 Projects, Technology, PHP 0 Comments

If you use the wordpress audioplayer plugin with your HTTPS site, you’ll notice that the thing will never change it’s source attributes to https. Well this was driving me crazy so you know what? I slap chopped that bitch up. Here’s how you fix that shizzy.

read more

Mercedes Nelson website

By Thanh October 20, 2010 Projects, Technology, PHP 0 Comments

As my week is nearing Friday, I can say that I’m nearly done with Mercedes Nelson’s website. She’s one of my newest clients. She’s on a new VH1 show called Football Wives that’s going to air on Sunday, October, 24, 2010. I think it’s fair to say that I’m about done with working on ...

read more

Unknown column in ‘on clause’

By Thanh October 20, 2010 Projects, Technology, PHP 0 Comments

Now that I write fairly complicated queries now, I have run into numerous types of errors and figured out how to correct them. I blame the last DBA I worked with, the guy taught me tons of SQL knowledge. Now I’m a database whore. Recently, while working on a client project, I ran into an issue with MySQL 5.0.x

read more

Making wp-ecommerce play nice with nginx

By Thanh October 06, 2010 Projects, Technology, nginx, PHP 0 Comments

Recently, I’ve been working on a new site for a client that required the wp-ecommerce plugin for wordpress. From the install, everything looked fine. As some of you may know, I’ve dumped apache web server for nginx.  I quickly run into a problem with wp-ecommerce’s add to cart function. It seem to hang when you click add to cart.

read more

Rasmus Lerdorf, creator of PHP, speaks on frameworks

By Thanh September 24, 2010 Technology, PHP 0 Comments

This is the fist time I have heard Rasmus Lerdorf speak and it was entertaining to say the least. Refreshing would another way to describe it, I enjoy hearing real opinions and not holding back — Rasmus doesn’t hold back. Just a short background, Rasmus Lerdorf is the creator of PHP and still continues as a core developer to the PHP project.

read more

Page 1 of 2 pages  1 2 >