Chameleon CSS

Chameleon CSS LogoUpon building a site for a client who wanted different backgrounds and headers on his site for different occasions, I came across the Chameleon CSS plugin. Put, very simply, it allows you to automatically schedule the use of different CSS Style sheets at different times (Time, Date, Day and Month). Its compatible with WP Super Cache, and is really easy to use.

Chameleon CSS Screen ShotCheck it out now in the Plugin Directory – Chameleon CSS.

WYSI’sntalwaysWYG – Part 2

Continuing on from the last few post’s about how the layout of this site appears in Internet Explorer, as opposed to every other browser, both obscure and popular, David from Digital Raindrops suggested I run the sites code through the W3C Validator to see if there are any errors.

W3C Markup ValidatorAnd sure enough, I had simply forgotten to close a Center tag on an image, which in true IE fashioned, spilled over and ruined the entire site layout, where every other browser was able to deal with it. In the end it was my fault, but I did learn some interesting stuff along the way. Adobe have a feature online now called “Cs Live Services”. As yet, I haven’t had time to explore them completely. What I did find is that Adobe have their own equivalent to Browser Shots, called Adobe Browser Lab.

Adobe Browser Lab Logo

It is free until April 2012, after which time I expect it will be quiet expensive, and part of a much broader package of software, as Adobe seems to me to be wanting to move us all to using their products online instead of locally on our computers, in an effort to thwart piracy of their programs. Like most Adobe stuff, it looks great!

Browser Lab InterfaceAs you can see, it has considerably less choices than Browser Shots, but it has more than 90% of the world’s computer users covered, which also makes it faster. The drawback for me is that the default size setting for the results is 100%, meaning its a one for view, it shows your site EXACTLY, size and all. In the options, you can reduce the size to only 75%. If you want to view two browser views side by side in a 2-up configurations you had better have a BIG screen.

Browser Lab 2 up Side by Side viewA very useful tool, and my suggestion is to use and enjoy it while you can!

WYSIsn’talwaysWYG – Browser Incompatibilites

Browser Shots LogoSince I have building sites, I more often than not run my creations through browsershots.org to see how they look on multiple browsers. Browser Shots presents to you a screen capture of how your site will look on dozens and dozens of different browser and operating system combinations.

Browser Shots main interfaceIt’s a very handy tool. I am using it myself right now to troubleshoot this very site! As you will see from the capture below, this site looks right in most browsers, most except all variants of Internet Explorer of course!

The Webernets as viewed using Browsershots.org

FreeNAS re0 Watchdog Timeout Error

FreeNAS re0 Watchdog Timeout ErrorLike most FreeNAS errors, this one just appeared out of nowhere, on a system that has been untouched, and running trouble free for some months. Once the error showed up on the screen, I was unable to connect to my shares, or the Web GUI to trouble shoot it. The term “RE0” was a giveaway, because I remember when I assigned the NIC it was given this label. My first thought was that the NIC card died, and I replaced it with an identical card I have here which I know is good. This didn’t change anything unfortunately.

After a short search through my files and found a backup of the FreeNAS configuration XML file I had made recently (A habit I have gotten into with this system). With this in hand, I selected option 4, and reset the system to Factory Defaults. After rebooting and re-assigning the interfaces, to my surprise everything came back up. After logging in through the Web GUI and being able to access things again, I tried to restore the settings from the configuration.xml file. This failed badly. The system would not boot from the hard drive now, and even though all the data is backed up, I still got that sinking feeling in my stomach.

After inserting the Freenas Disc in the drive and setting the boot order in bios, I was able to boot the system from the Live CD. Knowing I had my raid configuration in the XML file, I  re-installed the FreeNAS operating System onto the hard drive, re-assigned the interfaces, and was again back to factory defaults. I again logged in through the Web GUI and backed up the clean install XML file, and then opened it in text editor. I also opened my original backup file from when things were good, and compared the two. I did find the problem.

Freenas Tuning

When I compared the two files together I noticed dozens of additional lines in the backup XML file, that weren’t in the fresh one. They looked like these:

System Code Freenas Watchdog Timeout Error

Then it struck me that what must have happened, is that FreeNAS was tweaking itself, and I guess it must have made a mistake somewhere along the way. I unchecked the box in the Advanced settings panel, removed all of the extra lines of code that contained “System tuning” from the backup XML file, and restored it into FreeNAS, and VOILA! It was all back online, my Raid 5 was in tact, and everything was back to normal.

I have been using it for a bout 5 days now since implementing the fix, and it is back to its old self again. It hasn’t skipped a beat!

Update

11 Aug 2011 – I have just been playing around again with my Freenas and found I can trigger this error immediately by filling in the MTU option. Leaving this field blank works fine, but the second I try to set it for something like Jumbo MTU (9000) it goes into error mode the second I try to remotely access a share.

 

Why does Intenet Explorer see web sites so differently?

During construction of this site, I have viewed it on Firefox on both Mac and Windows, and Safari on the Mac, and it looks great! For some reason, I just fired up Windows to check it out on Internet Explorer…….

The last thing I expected was to see this:

Webernets screen grab in internet explorerWhy is it that the dominant web browser interprets web site code differently to every other browser? Who’s right and who’s wrong?

If you are viewing this site with IE, I apologise, and will try to sort this out soon.

Some Dog Stuff

As this site’s header says, “Tech, Web, and a little bit of Dog Stuff” – it is my great pleasure to post a few pictures of the original “Dog with Blog”, Charlie – The Big Dog.

Here’s C-Bux helping me install Freenas on a box we built specifically to be our home media server.

Charlie helping install FreenasAnd here’s Charlie listening to “Who Let The Dogs Out” on my Blackberry 9000 Bold.

Charlie listening to music on Blackberry 9000 BoldI really do miss The Big Dog – Daddy loves you Very Much buddy!