Microdata and Fivestar

Microformats are going to be big, they are big even today. Drupal is caching up but modules don't work properly. First thing you would probably do is ratings/review formating. You can try with microformat and fivestar module but it will not work properly. So I themed the fivestar summary function differently and added few lines and not it works and you can check it with google tool

Hide an Empty Panel in Drupal (Views pane, mini panels)

I had this problem with view panes in panels. I create a view pane, add it to panel and it works nicely when there is data. But when there is not I got just some empty html data, problem is that this html data was wrapper data and it showed some CSS elements even when there was no data.

Simplenews Content Selection - sorting of nodes

In this module default sort is just terrible, terrible idea. If you are creating newsletter, chances are you will want to put newest content in it. Currently you have oldest nodes first and newest on 10th page. So you will have to change sort each time you create NL. This is just bad design.

New globals for language in Drupa 7

Before you could get current language value by global $language now there is new

global $language_content;
$lang=$language_content->language;

To get value of language your content is in. There is still global $language

Drupal 6 to drupal 7 migration tips

However you choose to do a migration from drupal 6 to drupal 7 if you have any complexity in your site it is going to be ugly. Lots of errors and leaps of faith :-).

I choose to do it with drush. So after the drush made what it could do. I tested the site. Not working at all, not even logging in possible. What I did is:

Where is drush installed (using drush sup and search for alisases.drushrc.php)

Maybe you are wondering the same thing as I, where the heck is my drush installed. Easiest way is to write "find / -name 'drush' -type d" and you will get info. So finally you know where that alisases.drushrc.php is and you can go and add configuration for drupal 6 to drupal 7 migration.

If this doesn't help you, try commands

which drush or drush status

Fcgid and phpmyadmin 403 permission denied error

If you installed fcgi and got 403 error when trying to run phpmyadmin, you just need to add one thing and it is to edit /etc/phpmyadmin/apache.conf to add +ExecCGI in the section

<Directory /usr/share/phpmyadmin>
        Options FollowSymLinks +ExecCGI
        DirectoryIndex index.php
....

Remove root user access

Having root user access available is good foundation to have your website(s) or server hijacked. Why well they know username they need to just go through different passwords to try and guess and belive me people do have software and servers doing this so they can gain something out of that theft. Today I just checked my log files and saw some chineese IP's trying to break in.