Archive | September, 2011
23
Sep

Microsoft Access “ID is not an index in this table”

Microsoft Access Problem Recently I got a call from a client that was having issues with their Microsoft Access database. They told me that every time they opened the application, it would tell them that there was an error/problem with the database and that it had to back itself up and attempt to repair itself. […]

Continue Reading →
23
Sep

Zend_Auth, Zend_Ldap and Zend_Acl

This took a while to figure out, so I’m going to write an entry on it. Over the last few days, I’ve been working with the Zend_Auth, Zend_Ldap and Zend_Acl classes in the Zend Framework while developing a login framework. I’ve created custom login frameworks before, using php, coldfusion and java. But this time I […]

Continue Reading →
17
Sep

Google Syntax Highlighter Languages/Aliases

Here’s a quick reference to the WordPress “Google Syntax Highlighter” plugin. I’ve included it here since I alway have to go looking for it. The reference page can be found here: http://code.google.com. Language [Aliases] C++ [cpp, c, c++] C# [c#, c-sharp, csharp] CSS [css] Delphi [delphi, pascal] Java [java] Java Script [js, jscript, javascript] PHP […]

Continue Reading →
17
Sep

Zend_Auth and Active Directory

I just worked on a login application that connects to Active Directory using Zend_Auth and Zend_Auth_Adapter_Ldap. The application uses the Zend Framework and components of Zend_Form. Server Settings First of all, the web server has to have the ability to connect with LDAP. To do this, it has to be enabled in the php.ini file. […]

Continue Reading →
13
Sep

WordPress 3.0 Admin Issues (CSS/Javascript)

Recently I moved a WordPress web site from one server to another. The “move-from” server was running an older version of php than the “move-to” server. After logging into the WordPress administration, I noticed that the css was all messed up. Part of the css was working (displaying some icons, colors, etc.), but the majority […]

Continue Reading →
11
Sep

PayPal Pro and DPRP

Recently I have been working with a custom plugin for WordPress that is supposed to allow payments with PayPal Pro. The advantage of PayPal Pro integration is that you can do purchases from within your website; you don’t have to go out to the PayPal site, make the payment, then return back to the original […]

Continue Reading →
08
Sep

ColdFusion CFGrid Modifies Date and Time

I ran into a strange error with ColdFusion and CFGrid recently. It seems that when using timestamps, loaded from a database, within the CFGrid, CFGrid will modify the time so that it displays based on the time zone of the computer that is running the application (e.g. if the time is saved as 08:00 on […]

Continue Reading →
07
Sep

WordPress Blank Media Upload Window on Mac

There appears to be an issue with WordPress and Macintosh when using the “Media Upload” tool. Most of the time it works just fine, but in some situations the media upload screen is blank; both in the media area and when trying to add images to posts. At first, I thought this might be an […]

Continue Reading →
01
Sep

Common OpenSSL Commands

These are some common commands that can be used with OpenSSL. Much of this information can be found in the related blog: Katholieke Universiteit Leuven. In addition, some good documentation can be found at madboa.com/geek/openssl/. Certificate Generation and Signing Generate a new private key and matching Certificate Signing Request (eg to send to a commercial […]

Continue Reading →
01
Sep

How to setup SSL on WAMP

Alright. I Just finished setting up a WAMP server (wampserver) on Windows 7 using virtual hosts and SSL. I’m going to try and outline the steps in this post. This tutorial should apply if wampserver has already been installed and virtual hosting has been enabled (The “LoadModule vhost_alias_module modules/mod_vhost_alias.so” has been uncommented in the http.conf […]

Continue Reading →