Written on January 7, 2010 at 5:54 pm, by Lupo
Very often people ask me what can they do to improve their site’s search engine visibility, and I normally reply to them with a really long and boring email about how important and complex SEO can be. However, the most common mistakes have nothing to do with the complexity involved in optimising a site, copy writing, managing a link building strategy or advertising campaign; the most common mistake is picking the wrong keywords and key phrases, so I decided to publish this article in my blog in order to reuse the information the next time someone asks…
Some tips:
Written on December 8, 2009 at 2:02 am, by Lupo
Today, after upgrading packages with apt-get on a server running Debian Lenny my PEAR installation seemed to be broken. PHP had been updated to 5.2.10 and PEAR version was now 1.8.0. So when I realised that PEAR wasn’t the latest stable I tried upgrading PEAR using the command I’ve always used: pear upgrade pear, where the first “pear” is the command we run, then the “upgrade” sub-command and finally the name of the package we want to work with, unsurprisingly “pear”.
So I type the following expecting a happy success message and get this instead:
# pear upgrade pear
Notice: Undefined variable: dorest in PEAR/Command/Install.php on line 1220
Notice: Undefined variable: latest in PEAR/Command/Install.php on line 1228
Notice: Undefined variable: latest in PEAR/Command/Install.php on line 1234
Warning: array_change_key_case(): The argument should be an array in PEAR/Command/Install.php on line 1234
Nothing to upgrade
After a quick look at the problem I figured out that it was a problem with the cached channel data that PEAR stores under a directory called ./channels in the PEAR installation directory. The problem is quickly solved by deleting the files in that directory. To find out where PEAR is installed you can use the “pear list-files” command as follows:
# pear list-files pear
Installed Files For pear
========================
Type Install Path
php /usr/local/zend/share/pear/OS/Guess.php
php /usr/local/zend/share/pear/PEAR/ChannelFile/Parser.php
...
Read more
Written on November 25, 2009 at 11:50 pm, by Lupo
Written on October 10, 2009 at 11:04 pm, by Lupo
A very brief (5min) screencast based on the code used in my previous post “Fetching tweets with jQuery and the Twitter JSON API“. This screencast was made with screenr, so I was limited to 5min in length and no editing of the video…