Undefined Index: SCRIPT_NAME

Which PHP

A WordPress plugin on one of my client’s sites was filling up the error log with a PHP error “undefined index” for the server variable SCRIPT_NAME. The error persisted through a number of plugin updates. I found that I could work around it by editing the plugin’s code and substituting the server variable PHP_SELF instead of SCRIPT_NAME, but it was a hassle to modify the code for the plugin every time there was an update, and I wanted to find a permanent fix.

Continue reading “Undefined Index: SCRIPT_NAME”

Automotive Traveler Magazine Selector: A One-Off Site

A One-Off Site: Automotive Traveler Magazine Selector
Automotive Traveler Magazine Selector

I had a lot of fun setting up a magazine-selector, one-off site for Automotive Traveler. After moving the issues of their on-line magazine to the BCT Publishing Viewer, they wanted a graphical method for users to be able to select between all issues of the magazine that took advantage of the striking layouts of their covers. They left me to my own devices to come up with a design and implementation, only requesting that it fit in with the color scheme of their main site at the time.

Continue reading “Automotive Traveler Magazine Selector: A One-Off Site”