Technology Insights

WordPress JPF Login/Out Plugin Logout Not Working After Upgrading to WordPress 2.7

I use the JPF Login/Out plugin to display text at the top of a WordPress site and after upgrading to WordPress 2.7 the logout link stopped working. After reading in the WordPress Codex it appears that the wp_logout_url was added to provide a nonce-protected URL that can be used during logout.

In the jpf_loginout.php file on line 17 change the below:

php

  1. $link = $before . '<a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">' . $log_yes . '</a>' . $after;

Technology Errors

MySQL Gem Install ERROR: Failed to build gem native extension

You may run into issues installing the mysql gem on a Linux server running a 64-bit version of MySQL server. When attempting to install the gem its likely you will get errors if you don’t specify a couple options when running the command. The issue I continued to have was the options are clearly listed out and I felt, because of previous issues with 64-bit applications being installed, that I was using the proper options to move past the errors I was seeing. What I finally figured out was the fact that an extra “–” was required in front of the options.

Below I show the error in detail which will then be followed by the command to issue for a successful installation of the MySQL gem on CentOS (should work with any Linux server) running mysql-server.x86_64 or the 64 bit version of mysql-server instead of the 32 bit mysql-server or mysql-server.i386.

Technology Errors

checking for mysql_close in -lmysqlclient… no

I received the below error when attempting to compile PHP to use with Litespeed as an LSAPI module. The error was related to multiple versions of numerous MySQL RPM packages being installed.

PHP Compile Error:
checking for MySQL support… yes
checking for specified location of the MySQL UNIX socket… no
checking for MySQL UNIX socket location… /var/lib/mysql/mysql.sock
checking for mysql_close in -lmysqlclient… no
checking for mysql_errno in -lmysqlclient… no

The PHP configure script was getting confused because of two 32-bit MySQL RPM packages being installed. If you look below this is the MySQL packages yum was showing installed on the server.

Technology Insights

How to Print Files, Emails, Images, Contacts, and Web Pages From Your iPhone or Touch

You can easily print files from your iPhone or iPod Touch using an application called “Print & Share” or an application called “Print – Printing for Contacts, Web Pages, Photos, and More” both of which are developed by the same company, EuroSmartz, Ltd. There are some differences between the applications so if you need limited features, which I will explain below, then you should purchase the less expensive application.

Here is a breakdown of the applications and the differences between them.