Home Page
DVD/Home Theater
SETI@home / Planetary Society
General MIDI Files/Links
Sound Blaster
MOD Files/Links
Hardware
Programming
Entertainment / Now Playing
NASCAR
IRC Stuff!
Pelicar RPG
Weather
Photo Albums | Gallery
Blog
Facebook
Twitter
Google+
YouTube
Pandora
Firefox Configuration
Speed Test Results
System Information
Winamp Info
View/Sign my Guestbook
Play Random MIDI
Start MIDI Jukebox
Stop MIDI Jukebox
MIDI Stats

Mark Headrick's Web Site.

ME!OSU, Go Cowboys!
General Information

Howdy! :) Welcome to my (previously cheesy) Web Site!

 169,459  People (and bots) have stumbled onto this site (well, this page).


What's New on Mark Headrick's Blog
Times shown are Central, US

Sunday, June 21, 2015 1:28 AM: Happy Father's Day 2015

Happy Father's Day

Wishing everyone a Happy Father's Day, especially mine! Love you Dad! You're the best! Yeah, I know, I'm recycling the same image I used the last three years but how could I not? After all, his name is also Dale Jr. :)

Add/View Comments (0 comment(s))

Monday, June 15, 2015 7:18 PM: My Websites Might Crash Tomorrow

This is just a quick note to say that my websites might quit working or start acting weird later tonight or tomorrow. Actually, most were generating 500 Internal Server errors already today.  I corrected that issue so I can make this post now. The reason is that my webhost, Surpass Hosting is upgrading the server to one of the PHP 5.4 versions from 5.3.28. Oh boy.. :)

Add/View Comments (0 comment(s))

Saturday, May 30, 2015 5:52 PM: Galleries Upgraded to Zenphoto v1.4.8

Well, since I didn't say much about upgrading my galleries to version 1.4.7, I figured I'd talk about upgrading them to Zenphoto v1.4.8. I followed their upgrade instructions with some slight deviations. Following are the steps I performed:

  • I downloaded and unzipped the archive and then re-zipped it only including the zp-core and themes directory as well as the files in the root folder.
  • Backed-up the database to my local MySQL server. Actually, I backed-up both my local development database on my PC and my production database on the web server to my local MySQL server.
  • Made a backup copy of index.php (since I had some custom code in it) and copied the zp-core and themes directories to zp-core147 and themes147, respectively.
  • Deleted the zp-core directory and the standard themes from the themes directory while leaving my custom ones.
  • Unzipped the new files into my gallery's directory, replacing all files.
  • Re-added my custom code into index.php and /zp-core/zp-extensions/html_meta_tags.php.
  • Compared the changes between the Garland themes in version 1.4.7 and 1.4.8 using Windiff and saw that no changes had been made. Thus, I knew I did not need to update my customized Garland theme to incorporate any changes.
  • Refreshed my browser so that Zenphoto's setup would run. Saw there were no problems on the initial setup screen and clicked the Go button.

I then tested it in my development copy before changing my production one and did uncover one bug. When editing a single image from the front-end, it would go into batch edit mode after clicking “Apply” to save the changes made. I posted 1.4.8: Single Image edit mode bug that returns to batch edit after apply on their GitHub Bug Tracker. Their latest master support version has corrected this bug. I basically performed the same steps with the support version. Since I had already backed-up the database and files, I just re-deleted the zp-core and themes directories.

After I verified everything worked correctly as far as I could tell with my development gallery, I proceeded to upgrade the galleries on the web server. Both gallery.markheadrick.com and gallery.mysstie.com have been running version 1.4.8 for several days now. :)

Oh, for those curious, my custom code in html_meta_tags.php was to change the image being referenced in the og:image meta tag:

198
199
200
201
202
203
204
205
206
207
208
         case 'image.php':
            $pagetitle = getBareImageTitle() . " (" . getBareAlbumTitle() . ") - ";
            $date = getImageDate();
            $desc = getBareImageDesc();
            $canonicalurl = $host . getImageURL();
            if (getOption('htmlmeta_og-image') || getOption('htmlmeta_twittercard')) {
               // mrh use the normal sized image since Facebook has a 200x200 minimum.
               //$thumb = $host . getImageThumb();
               $thumb = $host . html_encode(pathurlencode(getCustomImageURL(NULL, 520)));
            }
            break;

Add/View Comments (0 comment(s))

Sunday, May 10, 2015 12:13 AM: Happy Mother's Day 2015

happy-mothers-day-largeWishing everyone a Happy Mother’s Day for 2015, especially my mom. Love you mom, you’re the greatest! :)

Add/View Comments (0 comment(s))

Thursday, May 7, 2015 2:41 PM: Blog Updated to WordPress v4.2.2

Yet another security and bug fix has been released as WordPress v4.2.2.  As usual I backed-up the database and file structure before doing the update. This is just a quick post to make sure everything still works. :)

Add/View Comments (0 comment(s))


General Information

Detailed Information Coca Cola

Page last modified: June 2, 2015 7:00:41 PM CDT. *

*: The Page Last Modified date above simply means the date of the file that generates this page which may or may not have anything to do with the date that other parts of the site were updated or even the contents of this page which are, for the most part, generated dynamically.

Website was created with HomeSite v4.5 After Macromedia purchased HomeSite I stopped upgrading. It seems to do the things I want.. so why upgrade? Also, some aspects of version 4.5 that I use on occasion were removed from later versions.

Surpass Hosting SiteUptime Web Site Monitoring Service
Uptime Statistics
Stop Spam Harvesters, Join Project Honey Pot

Total execution time: 0.0513 seconds.