Posts filed under 'Geekery'
May 16th, 2007 2,517 views
I am starting to believe that the days of the fast and easy WordPress upgrade have come to an end. Version 2.0 brought some problems for upgraders. Version 2.1 seemed to bring even more due to some database changes breaking certain themes and plugins.
The 2.0 upgrade went very smoothly for me. 2.1 did not. My theme had some db calls to fetch page links using post_status='static' which no longer worked after the database changes. Calling them with post_type='page' instead fixed the problem quite easily, but it took a while of troubleshooting before figuring that out. The 2.2 upgrade was the worst yet.
After having trouble with the 2.1 upgrade, I decided to follow the upgrade instructions for a change and turn off all of my plugins. I have never done that before and have never had a problem because of not doing it. This time, after uploading the new files and running the database update script, I was greeted a by a PHP fatal error message in place of my website. Pretty. This was due to the call in my header.php file to the Ultimate Tag Warrior plugin, which was not activated. No problem. Easy to fix. Comment out the UTW code in the header.
I started reactivating plugins one by one and then testing to make sure nothing went wrong. Everything was going smoothly until activating the King Categories widget. Another fatal error. This time, I emptied the active_plugins field from the wp_options table and tried again with the same result. It occurred to me later that I probably could have just renamed the widget instead of messing with the db, but why do things the easy way when you take the scenic route?
I gave up on the King widget and instead downloaded and installed Breukie’s Categories widget. This worked fine except that every time I made a change to the widget in the admin section, it would forget my exluded categories, so I had to reset them every time. Too annoying.
I was about to hard code the categories into my sidebar just below the hard coded search form and above the widget test statement when I discovered my new favorite widget, the Executable PHP widget, while reading Aaron Brazell’s 10 Things You Should Know About Wordpress 2.2. It was also in this article that I was notified of a workaround by Ryan Boren for this widget that is required if you want to use more than one PHP widget in wordpress 2.2. This widget rocks! Endless possibilities. I used to use the King Text widget to include PHP in widgets, but was too afraid to activate it after the trouble with King Categories. I created 3 execPHP widgets to replace the King Categories widget, a King Text widget, and one to add my RSS links. I am not sure why I didn’t just use plain HTML in a text widget for that last one. Never even occurred to me. Finally my sidebar was back to normal.
One more thing about widgets in wordpress 2.2. They are built in, so do not try to activate the widgets plugin ten times like I did. It will never work.
There is a very cool new Plugin Sandbox feature in WP 2.2 that evaluates the plugin code on activation for fatal errors and does not activate the plugin if any are found. This kicked in for the widgets plugin, but not for the King widget. I suppose a widget is not technically a plugin. Or is it?
I still love wordpress as much as ever and will always upgrade my own site at first stable release of each new version. There are always changes for the better and bug fixes.
I will no longer be upgrading all of my wordpress sites at first release. It has become almost impossible anyway since the 120-day release schedule has been in effect. Most of them are client sites that I do not want to break or cause to have any downtime beyond uploading the new files. It is not part of any agreement I have to keep sites updated with the latest files, but sometimes I like to throw it in as a freebie for increased security and ease of future upgrades, not to mention access to new features. Now that it is not always a fast and easy job, I will probably only do it at a client’s request and for a fee. It is probably best that I charge for my work anyway!
Filed under: Geekery, LBnuke Stuff
Tags: plugins, widgets, wordpress
April 18th, 2007 1,131 views
I was very disappointed in the Web 2.0 Expo yesterday at Moscone Center in SF. I wasn’t expecting much since everything I was interested in was part of the conference and not the expo, but I thought it would at least be fun and interesting. It was not.
I was glad I left late for the city. I stayed home in the morning to work on the big site upgrade that I am doing. I reached about hour 25 of what will most likely be a 30 hour project that I will get paid $300 for. I suppose $10/hr. is a big improvement over the $2/hr. I was making last year. I am happy about the job. It is for a long time client who has sent me many referrals, and the updated site will make it much more usable for us both.
I digress. Back to the expo. So many of the things that I consider to be the future (and present) of the web are open source projects with large enthusiastic development communities. The small expo floor was filled with large corporations and smaller startups focused on selling their products to other companies. The people I spoke with were sales reps rather than developers.
Read the rest of this entry »
Filed under: Geekery
Tags: web, work
April 9th, 2007 1,770 views
My new meds are still working much better than the last ones. It is still hard to concentrate, work, play, and read, but for the most part, I am feeling about a million times better than I was just a short time ago
It is easier to be with people. I had a really good weekend that turned out to be very social and I didn’t even hate it at all. On Friday, I met D at the White Horse for a little while. It was very nice to see her. She is one of the very few people that I can ‘talk geek’ with. It is a rare and beautiful thing. We have other things in common too that make it easier for me to hang with her than it sometimes is to hang other people. She came over and had dinner with me and K.
After dinner, we all went to Velvet to meet Lorena and Tess. It was a good night. We played pool even though we were all sucking pretty bad, even D who is actually good at pool. There were a few obstacles like a giant pole and huge speaker in the way of making certain shots. Still it was fun, even though my knuckle is still a little swollen from smacking it into the giant pole while trying to shoot around it. Eventually, I completely lost all focus of what was going on around me and went into my own special world where it is quiet and stimuli is almost non-existent. I think D ended up in some other world too. I am lucky to be able to do that. Otherwise I would have needed very badly to get out of the bar immediately.
Yesterday, me and K went to Spin’s birthday party. That was lots of fun too. Happy birthday Spins! Nice people and a custom ‘Pin the Tail on the Tigger’ game with Spin’s features imposed on Tigger and magnetic tails for pinning that was made with obvious love for her by her guy. He even had a special ‘tail’ for himself which was actually a heart that matched the heart on the card that he gave her (at least I assumed that card was from him. Only saw the outside, but it had an identical heart). Very sweet
Other than that, me and K did some errands and even had a little bit of quiet time to watch Prehistoric Planet and for K to start a puzzle that she has wanted to do for a while, but hasn’t had the time.
And then, tragedy struck… (not really. just having a sudden flair for the dramatic)
Read the rest of this entry »
Filed under: Autism / Asperger's, Geekery, Random
Tags: fundraising, life, meds, ramble, server, work
March 26th, 2007 1,875 views
Earlier today my site started loading crazily slow. I checked other sites on the server, and they were all like that. I called LiquidWeb and they told me that it was because of having a really high server load and using more memory than I am allocated. Hard to pinpoint the exact cause because it depends on everything that is happening on all of my sites. The guy said that if it keeps happening, I will have to move to a dedicated server (on a VPS now). I really hope that doesn’t happen! It will cost at least twice as much per month as the VPS. Not sure what to do, especially since my next client site will be using tons of bandwidth for playing huge mp3 files and I already agreed on a hosting price of $100/year because I had no idea about the server resource problem. I also didn’t know how gigantic their mp3 files were at the time. Dang.
I finally got the Share-This plugin to work nearly right. Problems in IE. Surprise. Sending email returns people to a blank page. I give up!
Sometimes, I really hate being me. Usually, I like it okay. I am very lucky in a lot of ways. Most ways. But once in a while, I get very down on myself and very jealous of other people. I get tired of having a hard time doing basic things like reading, traveling, talking, leaving the house, working, even playing video games! It makes me feel like an idiot. I know that there are lots of things I am good at, and that sometimes those basic things are not hard at all, but when they are, it is very annoying. How can it be hard to play video games? That is completely ridiculous!
Read the rest of this entry »
Filed under: Autism / Asperger's, Geekery
Tags: life, meds, plugins, ramble, server
March 22nd, 2007 1,411 views
The first plugin of today is not actually a wordpress plugin at all, but it works like one (at least like one that has a slightly complicated installation). It is called iBox. Installation is relatively simple if you are comfortable with uploading and modifying files. Kind of a pain if you’re not. There is some code that needs to be added to the header.php file of your theme, an image that needs to go in the root images directory, and two files that need to go into your theme’s main directory.
Read the rest of this entry »
Filed under: Geekery
Tags: plugins, wordpress
Next Posts
Previous Posts
Recent Comments