Monthly Archives: January 2014

Samba: session setup failed: NT_STATUS_LOGON_FAILURE

It’s been a while since I set up samba. I just put it on Ubuntu 12 and saw the subject error when testing with smbclient. Turns out I just need to set the password with smbpasswd, then samba works. easy … Continue reading

Posted in Uncategorized | Leave a comment

php_pdo_mysql_int.h:31:20: fatal error: mysql.h: No such file or directory

While trying to compile PHP 5.5 with pdo support on Ubuntu 12 with the intention of trying out this Medoo framework, I was seeing the subject error. In the PHP installation folder, I edited the file ext/pdo_mysql/php_pdo_mysql_int.h and I changed … Continue reading

Posted in Uncategorized | 2 Comments

csrow value is out of range

After a brief power failure, was seeing messages including this error csrow value is out of range on screen over and over. Searched around and found that it’s caused by bad memory. Luckily there were 4 sticks in there and … Continue reading

Posted in Uncategorized | Leave a comment

Change outgoing ip address for sendmail in linux

Found out how to do this by reading this blog here Follow the steps below, if you want to change the source SMTP ip address in sendmail. 1) change the line below in sendmail.cf #O ClientPortOptions=Family=inet, Address=x.x.x.x to O ClientPortOptions=Family=inet, … Continue reading

Posted in Uncategorized | Leave a comment

Changing Proudly Powered by WordPress to something else

This question comes up a lot and there are a lot of answers out there. I wanted to note how I’m currently handling this, mainly since it gets undone when updating a standard included theme. Go to the current theme’s … Continue reading

Posted in Uncategorized | Comments Off on Changing Proudly Powered by WordPress to something else

Changing the WordPress Address and Site Address URL settings in the database

Sometimes when moving a wordpress site around, I mess up one of the settings and get locked out. The wordpress login page is not letting me in, or not showing up at all! Brief moment of panic ensues. To fix … Continue reading

Posted in Uncategorized | Comments Off on Changing the WordPress Address and Site Address URL settings in the database

Multiple background images with CSS in IE8

There are still a decent percent of browsers out there on the increasingly-antiquated Internet Explorer version 8. So while upgrading a site recently to an all-CSS based design, we wanted to continue to support IE8 and needed multiple background images … Continue reading

Posted in Uncategorized | Leave a comment

nginx configuration for wordpress

There is a lot of information around the web about how to do this, but once I followed this page, things worked correctly with “pretty URLs” and my wordpress site’s theme. For future reference, here is the magic: # Upstream … Continue reading

Posted in Uncategorized | Leave a comment