December 13, 2008

Installing Drupal on FreeHostia webspace

Since I am writing this article and you are reading it, we agree upon the fact that there are problems with installing Drupal on FreeHostia web space. Here I will detail the issues and their workarounds. This may apply to a few other free web space providers as well.

I assume the following of having been done from your side:

* You have a FreeHostia account
* You know how to log into it's FTP site and upload files
* You have downloaded Drupal 6.x and uploaded all the files to a directory
* You have made a copy of default.settings.php and called it settings.php and given it write permissions
* You cannot get Drupal to install by facing one of these issues:
o Server simply throws an error when you try to access the directory or the install.php file
o install.php runs but gives an error saying register_globals is On and it should be Off

The solution is very straight forward once you know what to do. We have two important things to do:

* Make some changes to the .htaccess file
* Create a php.ini file with the settings that we need

1) Make some changes to the .htaccess file

You need to comment out a line that reads
Options +FollowSymLinks
and make it look like the below
# Options +FollowSymLinks

Now you need to change a line that reads
Options -Indexes
and make it read
IndexIgnore *

2) Create a php.ini file with the settings that we need

Create a new empty file using notepad or any other ASCII text editor and call it php.ini
Add the following two lines in it:

register_globals = OFF
memory_limit = 16M

Save the file and upload it to the base directory where you uploaded your Drupal files. Now try accessing install.php and it should run. If it still doesn't, create a test.php file which has as its content. Upload it and try accessing it. If this basic php file also gives an error then there is something still wrong with .htaccess file.


12/13/2008 16:26

September 05, 2008

Google Chrome - The features that really made me love it

The Chrome hype is already building up now, thanks to the 'G' string prepended. I have actually shoved Firefox aside in favor of Google chrome (though I am pretty sure I am gonna go back some time later).

The features/traits I loved about Chrome:

1. Extremely quick startup time - even beats IE
2. Drag and Drop file upload - wow what a relief!!!
3. Clean clutterfree UI
4. Most visited pages thumbnails on the startup page
5. Application shortcut creation e.g. Now Gmail has its own shortcut on the desktop

Things that I hated:

1. No Google Toolbar! What the bloody hell??? Google Chrome without Google Toolbar?? Above all, when I hit toolbar.google.com, it asks me to get Firefox!
2. A dedicated status bar is missing.


I guess the likes are more than the dislikes I could summon. I will want to stick to Chrome for some time.

Jeez I am glad I am in WindowsForms development, otherwise now developing Chrome loving websites is another headache! By the way did they create their own rendering engine or used/stole from Gecko?


09/05/2008 02:30

March 07, 2008

Vista look alike better than Vista!?

I have Vista on my laptop which ran extremely well 5 months back... but recently have been noticing extreme performance issues.
03c4cbed5e9822d95f2ae93adb075f7c.jpgI was looking forward to install it on my office system as well, but just realised that a better idea was to rather mimic its looks on a XP system, which I indeed did, as you can see from the snapshot :-) I installed Vista Inspirat theme and Thoosje sidebar and have all I need for the Aero kinda looks. I a much happier person now!


BTW, nothing compares to the Vista sidebar.