Sometimes those creepy itchy feelings really ARE a bug crawling on you.
I gotta sweep more.
You can read it.
Sometimes those creepy itchy feelings really ARE a bug crawling on you.
I gotta sweep more.
This information is intended for WordPress K2 Theme users playing around with the included Vader style.
I was modifying the Vader.css for a site. I could not figure out how to change the text color for the posts. The style “right out of the box” has a gray text color on a black background which, in my opinion, is uncomfortable to read. I’m not a big fan of light text on a dark background anyway, but the default text color in Vader is really bad.
As it turns out, the text color is coming from style.css and not being changed by vader.css at all.
Add this to vader.css to change the text color:
.entry-content {
color: #999999;
}
“#999999″ works well or you can go lighter yet - just play with it. Hope this helps if you are exasperated and out searching. Leave me a comment if you found this post helpful.
This post is for anyone having a problem using VDaemon for web form validation getting the error message “VDaemon Error: Can’t unserialize validators information.“
I moved the site using VDaemon to a new server and started getting the error message.
Old Server:
VDaemon: 2.3.0
OS (from command “cat /etc/issue”): CentOS release 4.5 (Final)
Apache: 2.0.46 (Red Hat)
PHP: 4.4.2
New Server:
VDaemon: 2.30
OS (from command “cat /etc/issue”): Red Hat Enterprise Linux ES release 3 (Taroon Update 9)
Apache: 2.0.63 (Unix)
PHP: 5.25
The problem was in the vdaemon.php file in the function VDValidate().
There are two specific instances in the function where the line “$sErrMsg = VD_E_UNSERIALIZE;” is setting the error message.
There is a string comparison on the “if” statements before each line. From old server to new server the value being returned by the PHP “get_class” function in the “if” statement is returning a different case. My old server was returning a strictly lower case value and my new server is not.
The surest way to handle this error no matter what case your environment delivers the results is to force a comparison of same case to same case. I used the PHP “strtolower” function to convert the “get_class” result to lower case and *then* compare it to the string listed in the “if” statement. The text strings being compared (”cvdvalruntime” and “xmlnode”) were already in lower case on my distribution of VDaemon but if they are not strictly lower case in your code, change them to lower case.
Here are the two lines that I changed:
Before: if (!$oRuntime || get_class($oRuntime) != ‘cvdvalruntime’ || !is_array($oRuntime->aNodes))
After: if (!$oRuntime || strtolower(get_class($oRuntime)) != ‘cvdvalruntime’ || !is_array($oRuntime->aNodes))
Before: if (get_class($oRuntime->aNodes[$nIdx]) != ‘xmlnode’)
After: if (strtolower(get_class($oRuntime->aNodes[$nIdx])) != ‘xmlnode’)
This fixed it for me.
If this helped you out, leave a comment!
This post is for WordPress admins who find their sites suddenly not displaying right after working with the K2 theme sidebar manager.
Configuration:
As of this writing, I am using WordPress 2.3.3 with release 4 of the K2 theme. I have the following active plugins: Akismet 2.1.3, Gravatars2 2.7.0, Gravatars2 WP-Cron 1.1, Subscribe To Comments 2.1.2, WordPress Database Backup 1.7.
Background:
I was configuring the K2 Sidebar Manager with the modules I wanted displayed and the order in which I wanted them displayed. I was working with three columns and also had one custom “Text, HTML, and PHP” module that I was using for Google Adwords. As I made changes, I was flipping over to another browser tab to take a look at my site. I think I had just removed a sidebar module and changed the order of existing modules - to tell the truth, I don’t remember the last change made. However, the site stopped displaying correctly. In Firefox you could see the top header and the three column format and the text on the page. The page background behind the text had disappeared displaying the site’s black color background throughout everything. I run a three column format with the posts in column 1, site navigation modules in column 2, and Google Adwords in column 3. Everything but the site search had disappeared.
What I tried that failed (not necessarily in this order):
The fix:
Looking at the database tables for WordPress, under the table “wp-options” there is a record with an “option_name” of “k2sbm_modules_active”. When you look at the MEMO field under “option_value” this is where all of the K2 sidebar manager settings are stored. Mine was fubar’d somehow. I have several WordPress blogs that I administrate. I was initially leery of just deleting the field so I copied the contents from the field of a newly installed WordPress with K2. This fixed the site. So, afterwards - now that I was comfortable I could fix things - I deleted the contents of the field. This worked fine. Afterwards I went back into my K2 sidebar manager and set everything back up the way I wanted. Everything worked fine.
What to do in the future:
There is a “restore” and “backup” button at the top of the K2 sidebar manager. Once you have made changes in your sidebar manager, click the “backup” button. This will save a data file to your computer with - guess what? - the value of the “k2sbm_modules_active” field. To test, I saved my setup, went into the database and deleted the value manually, and then restored. Everything worked great.
Hope this helps somebody out! Leave me a comment if you find it helpful.
If you are going to have the flu for three days, I prefer the one where you can finish off a box of Little Debbie Swiss Cake Rolls between passing out and the cold sweats.

Special guest Josh Turner doesn’t seem to mind.
Actual ad for Carrie Underwood concert.

1958 B-Movie “Attack of the 50 Foot Woman” Poster.
Buy a tank. Fill it with water. Throw in some fish. All done.
Right?
Wrong!
You don’t have to take it for a walk or clean it’s litter box, but a home aquarium still requires effort. I knew this going in (I used to have a salt water tank many years ago *oh the horror*) but it’s been just long enough that I’ve been boning up on my fish knowledge the past few weeks.
Cycling your new tank is as important to moving forward with your aquarium as building the proper foundation for your new house. If you don’t do it right, the whole thing is going to come crashing down. Cost aside, I feel more guilty about dead fish than broken lumber. But hey, I’m wacky like that. Remember I mentioned the salt water aquarium from years ago? I was like the Nazi Third Reich of the salt water fish world. In the end, when I finally gave up, I had one small Damsel fish living in a 75 gallon fish tank (note, that I do not call it an “aquarium” at this point). Of course, as Karma is wont to do, that one fish lived the next year without benefit of cleaning or feeding because I refused to take an active part in his demise. But anyway, I digress…
Cycling the tank… There is good information all over the ‘net or available by talking to your local fish stores. Here’s an article I liked (time will tell if it’s any good): http://www.bestfish.com/breakin.html
My personal opinion, something to remember about *any* information you get, whether it be from fish store, friend, or internet - there is no cut and dried set of rules for everything with your aquarium. There are some basic truisms and from there everyone starts going in slightly different directions for exactly what you “need” to do to be a successful fish owner (and not a salt water killer, mentioning no names, ah-hem). My suggestion is to talk to as many people and read as much as you can and then pick a course, stay consistent, pay attention to what’s going on with your aquarium, and be willing to modify your course as needed. Status quo doesn’t work really well when fish are going belly up; that’s just taking “stay consistent” to an absurd level. Buy books, you ask? If that’s your comfort zone, but local shops and the internet are free (save your money for that next tank, you know you’ll want one) and provide a much broader amount of information (and take up a lot less room in your living room). Internet is great, but remember that just because someone can publish a web page, it doesn’t mean they know what they are talking about. “Joe Bob’s Rules for Keeping Fish Health with Tabasco Sauce”? Probably not wise. Use common sense and look for a depth of knowledge and some consistency in what’s being side from one source of information to another.
Here’s an example of differing information you can get, from what I recently went through cycling my new tank. I purchased my initial fish from Petco, and the gentleman there - who has an aquarium of his own, lending at least some to his credibility - suggested 5 to 8 fish maximum to start out my new 55 gallon tank. So, I purchased 8 fish (I fight being impatient so I went with the upper limit - be cautious of these impatient feelings). The day after I added my first fish, my nephew and his wife gave me 7 more Wal-Mart (I mention the store because I’d really like to research the quality of fish from the store that also sells generic cola, diapers, and anything else you can think of at 2am) for my birthday. Oops! Suddenly I was up to 15 fish and freaking out just a little that everyone was going to be dead by morning. Had I read a little more (I was also impatient in that I just talked to the fish store guy and solely went on that opinion in setting up the new tank with fish) I would have learned there are other rules of thumb for number of fish in a new tank.
The link I provided above for cycling the tank says 2 to 5 inches of fish initially per 10 gallons of water. So, in my case 8 to 20 inches of fish (see a couple posts back where I cover how 55 gallon capacity can equate to only 40 gallon actual capacity). So, considering a bit more than one inch per fish on average, I was probably right at the limit (by the above article, at least)! Other articles on the ‘net range anywhere between the pet store guy and the above article, but all of them are pretty close. Other factors such as temperature, oxygen in the water, type of fish, live plants, adding gravel/rock/wood from an established tank, etc., all come into play too. Pick a path that makes sense to you and for the type of aquarium you envision and move forward. So far so good for me. I lost two fish within the first week but they were also the two smallest fish out of the initial 15 (and from Petco rather than the Wal-Mart fish, go figure). So perhaps a slight case of overcrowding during the initial cycling phase or a combination of maxing out the number of fish to go through the cycling phase *and* two of them not being hardy enough to survive regardless. For the progression I’ve had with my tank thus far, I’m voting these two would not have had a tough time whether there were 8 or 15 fish.
And with this… I become another one of those “articles” floating around the ‘net. So take it at face value and do more reading. Comments? Experiences of your own? Bring ‘em on! Would love to hear them!
My aquarium was advertised as having a 55 gallon capacity.
Filling it with water - aside from decorations and rocks - this just didn’t seem like it was true.
Here’s some good information on the actual capacity of your aquarium / fish tank.
Good explanation of why your tank is NOT really the size you purchased and simple formula to figure out the actual capacity.
CLICK HERE TO OPEN IN NEW WINDOW
More complex formula to figure out your tank’s actual capacity. If you hate numbers or thinking don’t go here. But if you really hate numbers and thinking, consider a gold fish bowl, eh?
CLICK HERE TO OPEN IN NEW WINDOW
So, what about my 55 gallons???
Why does it all matter? Well, first off I just like to know what I really have.
Beyond that, the capacity of your tank makes a difference in trying to figure out how many fish you can have or dosing out medication to the tank if needed. Think about it - if I were to treat my tank for a sickness, 40 gallons vs 55 gallons on dosage would make a pretty big deal! Why might my fish get sick? Well, if I filled the tank with fish for 55 gallons of water vs 40 gallons of water, I effectively became a fish slum lord with all the sickness hazards of overcrowding.
I’m a noob, but it makes sense to me. Anyone else? Love to hear from you in the comments!
The new 55 gallon aquarium is going through it’s “new cycling” phase. See future post for more on this or just forget about it for the purpose of this post! One of the starter fish, the smallest, started doing poorly a day or two ago. First he was lethargic and not eating. Then, the other fish starting nipping at him and he cowered in a top corner away from everyone. I came home from work this evening and did a quick head-count. Everyone still present and accounted for - well, almost. The sickly one was not only without pieces of his tail fin but entirely without the tail fin and in fact, a few bites out of his body. Cringe.
What to do? He wasn’t dead so I couldn’t Doctor Kevorkian him could I? “What do fish feel?” I wondered as I looked at him (her?) and followed quickly by a second thought of, “How can he swim without a tail?” Then I couldn’t get an old children’s poem out of my head - the one by Shel Silverstein about being eaten alive by a snake. Yeah, I know, a children’s poem about being eaten alive by a snake… not today’s topic. An aquarium is supposed to be relaxing, and sitting in my living room working on the computer while twelve fish are slowly eating another fish alive is, I must say, not at all relaxing.

I determined to put this fish out of it’s (removing personal pronouns at this level does make it easier) misery. By it’s, I mean equally mine. By mine, I mean, I’m not being eaten alive by other apartment dwellers in my building, so I guess in the end I’m actually putting my uncomfortability out of it’s misery along with this poor thing. Decision made, it was only up to the “how”. I remember my brother having caught a mouse, mangled, but still alive, in a trap. He dumped it in a sack in his back yard and proceeded to whack it into jelly with a shovel. Then I remembered too how grossed out he was - plus I live in an apartment and have little need for a shovel. The closest thing I’ve got is a large serving spoon. Albeit, the comparative size of mouse vs. shovel and fish vs. spoon ratio out pretty well, I’d feel guilty serving potatoes again with that spoon.

I remembered my brother’s claims that last time I owned a tank I had dispatched of a sick fish by dropping him head first into a growling garbage disposal. To tell my side of it, I still claim this is a story I told my brother about another person and he has somehow transposed the deed unto me. I personally think he carries guilt over the mouse jelly incident. My proof is that, no matter how quick it might be for the fish, I am still grossed out by the thought of dropping a partially eaten yet alive animal any-side-first into spinning blades of death. Way way way too up close and personal. Heck, I still think meat comes from the grocery, not animals.

Which left me only one other option, cliche as it might be, that I could think of at the time. Dropping a partially eaten yet alive animal any-side-first into swirling waters of doom. Much much much different than my other option. Sure the fish would live longer somewhere in the dark bowels of the apartment sewage system but I wouldn’t have to distress my sensibilities with the sound of grinding garbage disposal blades. Flushing was like burial at sea. Perhaps honorable, even. Perhaps even the possibility he’d be snapped up by the jaws of a waiting sewer gator eliminating all chance of long suffering, AND paying tribute to the circle of life. Yes, this was the way to go.

And so it was.

Except now I’m afraid to sit on the stool. To paraphrase, “Karma’s a real fish.”
Sick fish? What did you do? Sound off in the comments!
So, what do you have in your house containing water and fish? Is the correct term or definition for it a “fish tank” or an “aquarium”?
To jump start the discussion I found some useful information on Englishforums.com. I have provided the link in case you want to check it out, but I’ll paraphrase the pertinent bits below if you just want to continue chilling here.
Bit One…
Definitions of “aquarium”:
1. container for fish: a water-filled transparent container, often box-shaped, in which fish and other water animals and plants are kept
2. aquatic zoo: a building in which fish and other water animals are kept and shown to the public
Defintion of “fish tank”:
noun: a tank or pool or bowl filled with water for keeping live fish and underwater animals
Pretty much the same by definition for either one when you look at it that way.
Bit Two…
In many situations “fish tank” and “aquarium” could be used interchangeably — I might ask my daughter if she had cleaned the aquarium lately, or I might say the fish tank. But “aquarium” has a more expensive, decorative implication — “fish tank” is more basic. The phrase “My, what a beautiful _______________” would more likely be completed with “aquarium” rather than “fish tank.”
For example, a Chinese restaurant has a beautiful aquarium in the front of the restaurant for people to look at while waiting for a table. Near the kitchen, they have a tank of live lobsters waiting to become someone’s dinner. I don’t know if restaurants ever keep live fish to turn into dinner, but if they did, they would probably call the place they keep them a fish tank, not an aquarium.
Bit Three…
Think of the difference that comes to mind between a church and a cathedral.
Bit Four…
Typically, a fish tank is something smaller, say, 5 to 10 gallon capacity. If you say “I have an aquarium in my house”, the impression is often of something larger and elaborately decorated with a large selection of expensive, and often exotic tropical species with seascape in aqua color lighting.
No one likely calls the Monterey Aquarium a fish tank. However someone may call their 10 gallon fish tank an aquarium.
My conclusion? I say “my” since I don’t believe there is a set-in-stone grammatical law for all aspects of this question and what follows from here are strictly my own thoughts on the matter.
Personally, I have a 55 gallon aquarium. Hypocritically speaking, though, I’ll probably still call it a fish tank when I’m talking to my 7-year-old daughter or in casual conversation with someone that I don’t really want to spend a half hour regurgitating what you’ve just read here.
Any other fish tank / aquarium owners out there? Disgruntled fish tank / aquarium retailers trying to optimize your fish tank / aquarium web pages for the search engines?
Sound off in the comments!