How to install Ushahidi on dreamhost server

ushahidi logo small

ushahidi logo

I heard a lot of people talk about Ushahidi, in official site said that The Ushahidi Platform is an open source web application for information collection, vizualisation and interactive mapping, it allows people to collect and share their own stories using various mediums such as SMS, Web Forms, Email or Twitter. so I try to install it on my Dreamhost hosting server. it is have iOS application, it is universal application means work well with iPhone/iPod/iPad once download.

go to http://download.ushahidi.com/ then download Ushahidi, unzip,  open readme.html file, check out Required Extensions, Dreamhost offer all of bellowing php extensions:

  1. PCRE must be compiled with –enable-utf8 and –enable-unicode-properties for UTF-8 functions to work properly.
  2. iconv is required for UTF-8 transliteration.
  3. mcrypt is required for encryption.
  4. SPL is required for several core libraries.
  5. mbstring which speeds up Kohana’s UTF-8 functions.
  6. MySQL which is required for database access.
  7. IMAP which is required for email functionality.

and have to chmod bellow files to 777  ,make sure those folders writable,

chmod -R 777 application/config
chmod -R 777 application/cache
chmod -R 777 application/logs
chmod -R 777 media/uploads
chmod 777 .htaccess

 

last night I tried many times to install Ushahidi, I follow all instructions but still  failed , always show me “500 Internal Server Error” even go to http://[Your Ushahidi URL]/installer on on begin,

  1. I try to remove .htaccess the I can finish installer process , but I can’t login to /ushahidi/admin
  2. I try to change site_domain on config.php, always show me  Internal Server Error
  3. I try to change index_page to index.php on config, Can’t login
  4. I try to change RewriteBase /ushahidi/ to “RewriteBase /” on .htaccess, still show me  Internal Server Error
  5. I try to comment “RewriteRule .* index.php/$0 [PT,L]” on .htaccess, show me Internal Server Error
  6. I try to remove “RewriteRule .* index.php/$0 [PT,L]”  and add “RewriteRule ^(.+)$ index.php?kohana_uri=$1 [L]” on .htaccess, show me Internal server error
  7. I try to download newest version from https://github.com/ushahidi/Ushahidi_Web ,it doesn’t work
  8. I try to comment “Options +FollowSymlinks”, it is work!
what a stupid Ushahiti is! there are a lot of user talk about that issue for years in forums.ushahidi.com but still haven’t official solution, I have  to blog it on my blog,offer a solution and hope anyone can happy.
Patching solutions and the key point is :
  1. remove or comment “RewriteRule .* index.php/$0 [PT,L] ” from .htaccess
  2. add “RewriteRule ^(.+)$ index.php?kohana_uri=$1 [L]” on .htaccess
  3. remove or comment”Options +FollowSymlinks”,
  4. after installing, creat a new account, the go to dh_phpmyadmin copy new user’s password hash code to Administror’s password, then login with admin and new password. in my experience , default username and password doesn’t work.
  5. enjoy it.

I am beginner of Ushahidi and hope Ushahidi getting better,I hope someone from Ushahidi leave a message and tell me truth: why not put kohana_uri behind index.php?

About Zola

Zola, Chinese name is Zhou Shuguang,senior solution expert,former network administrator,desktop support,network engineer,famous blogger who report "the most awesome nail house in history" in Chongqing,"Resist P-Xylene Plant" Demonstration in Xiamen,the Yilishen scandal in Shenyang, the "Weng'an Uproar", the CCTV headquarters fire,through various social networking platforms.of course have to fighting with censorship in China.
This entry was posted in technical and tagged , , , . Bookmark the permalink. 9,571 views

2 Responses to How to install Ushahidi on dreamhost server

  1. Heather says:

    Thanks so much for the great instructions. I added a link to our Installation pages – http://wiki.ushahidi.com/display/WIKI/Ushahidi+Installation+guide

    We’d love it if you added wiki pages to help others, too.

    Are you on our community developer skype chat? TO join, just ping me firstnamelastname.

    Thanks,

    Heather Leson

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>