Setting up Shindig and Partuza on windows

Shindig and Partuza on WindowsIn the Google IO shindig code lab session we had a few people who were having problems getting shindig & partuza up and running on windows. My own lacking experience with this platform didn’t add to the situation either so we unfortunately ended up with a few people who didn’t have a working setup by the end of the session.

So i decided to bite the bullet and go learn how to setup a WAMP stack (windows, apache, mysql and php) and how to setup Shindig and Partuza on it; I’ve recorded the steps and wrote these two guides based on that experience:

http://chabotc.com/guides/shindig_install/
http://chabotc.com/guides/partuza_install/

After following these 2 guides you should have Shindig and Partuza up and running on your windows computer. If enough people find this useful I’ll add them to the Shindig and Partuza sites so let me know if it worked out for you by either leaving a comment here, or on the shindig-dev@incubator.apache.org mailing list.

Generic 15 comments,

15 Responses to “Setting up Shindig and Partuza on windows”

  1. Hafeez says:

    I get “<img src=”
    Fatal error: Call to undefined function symlink() in C:\wamp\www\partuza\Library\Image.php on line 69″ error message. Why?
    and please note that I am trying to run Partuza on win xp.

  2. chabotc says:

    Hey Hafeez, thanks for the feedback.

    We had a bug open for this:
    http://code.google.com/p/partuza/issues/detail?id=2

    The fix has been committed so if you do a quick svn update you should be up and running again.

    Good luck and let me know how it works out for you!

  3. Hafeez says:

    Thanks Chabot, It is working now perfectly.

  4. Kallol says:

    Chabot
    Have been following your work, excellent stuff, and yes, I tried out shindig on windows, worked without a problem.

  5. bl says:

    Hello chabot,
    there are many new updated in Shindig and Partuza too. So the steps to install Partuza do not like your guide now,

    Could you spend time to update guide with the new?

    thanks.

  6. mukesh says:

    Hi Chatbot,

    I have installed partuza and shindig both on window xp using wamp .I am getting error template(’/common/header.php’);
    when i call http://shindig/
    Moreover ,pls update how to make changes in container.php to setup partuza
    I will remain grateful to you !

  7. chabotc says:

    Hey mukesh, it’s ‘chabot’ btw, my last name, and not ‘chatbot’, thank you very much :)

    The error you are getting is because you forgot to enable short tag support in the php.ini (as per instructions), the templates use a lot of < ?=$foo?> type constructions, and they require short tags, otherwise you get such errors.

    However, templates is a partuza thing, and not shindig, but you say your going to http://shindig/ in your browser? Sounds like your virtual host config isn’t quite perfect either :)

    Enable short tags in php.ini, fix your virtual host config, and you should be good to go

  8. Ben Clemens says:

    For whatever reason, in order that the app could find the controllers (e.g. http://partuza/register), I had to create a Directory block in the apache2 .conf file - the .htaccess file was not rewriting the urls (though mod_rewrite.so is loaded and works). Maybe it’s a Mac thing :(

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L]

  9. Ben Clemens says:

    oops, it stripped my tags. sigh. imagine if you will the above wrapped in Directory tags, referring to /var/www/html/partuza/html

  10. chabotc says:

    Hey Ben,

    It could be that your ‘AllowOverride’ is set to off, and thus the .htaccess file isn’t being parsed, sometimes adding an AllowOverride On in the virtual host solves such types of problems.

    Alternatively, the work around you used now also works well of course :)

  11. Ben Clemens says:

    Yep, that was it alright. Adding AllowOverride All fixed it. It always seems to be something simple I’ve overlooked! Thanks.

  12. [...] Setting up Shindig and Partuza on windows at chabotc.com (tags: opensocial) [...]

  13. [...] ps don’t forget there’s also a windows based guide available too at: http://www.chabotc.com/generic/setting-up-shindig-and-partuza-on-windows/ OpenSocial, PHP, partuza, shindig, social, 0 comments, « Friendster Launches [...]

  14. [...] Chabot describes himself as "interested and involved" in OpenSocial. He offers a guide on how to set up the PHP version of Shindig and Partuza on a Windows machine here. [...]

  15. [...] Inspired by the PHPCamp yesterday, I psent most of my Sunday to get Shindig and Partuza installed and running. The setup is fairly easy and well explained on the link below : http://www.chabotc.com/generic/setting-up-shindig-and-partuza-on-windows/ [...]

Leave a Reply