Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation problem in WAMP #60

Closed
olivewave opened this issue Jun 18, 2011 · 3 comments
Closed

installation problem in WAMP #60

olivewave opened this issue Jun 18, 2011 · 3 comments

Comments

@olivewave
Copy link

Hi

We are trying to setup swiftriver (Sweeper V0.3) to integrate with our ushahidi deployment at - http://www.olivewave.com/ushahidiind/ .
As my host does not support PHP 5.3 , I am trying to set up a swiftriver installation on local WAMP . However , I get stuck at the last step "Kohana Check".

Error : Let's ensure that the Kohana URL rewriter will work correctly.

Thats a shame, it seems that there are a few issues with the way that Kohana wants to do it's URLs. The best thing to do is check out this link and pay attention to the Troubleshooting #2 section. Its also worth noting that the Kohana framework runs best when run from a correctly configured virtual host in Apache. If this is all over your head, look here.

I have tried the solutions suggested at the links given but nothing works.

My .htaccess file :

Turn on URL rewriting

RewriteEngine On

Installation directory

RewriteBase /Sweeper_V0.3/web/

Protect hidden files from being viewed

<Files .*>
Order Deny,Allow
Deny From All

Protect application and system files from being viewed

RewriteRule ^(?:application|modules|system)\b index.php/$0 [L]

Allow any files or directories that exist to be displayed directly

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

Rewrite all other URLs to index.php/URL

RewriteRule .* index.php/$0 [PT]

extract from bootstrap.php :

//-- Configuration and initialization -----------------------------------------

/**

  • Initialize Kohana, setting the default options.
    *

  • The following options are available:
    *

  • - string base_url path, and optionally domain, of your application NULL

  • - string index_file name of your index file, usually "index.php" index.php

  • - string charset internal character set used for input and output utf-8

  • - string cache_dir set the internal cache directory APPPATH/cache

  • - boolean errors enable or disable error handling TRUE

  • - boolean profile enable or disable internal profiling TRUE

    • boolean caching enable or disable internal caching FALSE
      */
      Kohana::init(array(
      'base_url' => '/Sweeper_V0.3/web/',
      ));

    My directory structure for swiftriver installation : C:\wamp\www\Sweeper_V0.3\

can you please suggest a solution as installing swiftriver would really help us a lot infiltering and analyzing the
data from our Ushahidi deployment .

Thanks in advance.
Olivewave Team

@ghost
Copy link

ghost commented Jun 19, 2011

Could you please confirm that you have mod_rewrite enabled?

http://httpd.apache.org/docs/current/mod/mod_rewrite.html

This appears to be an issue with your setup, not SwiftRiver itself, so could we perhaps move this discussion to the mailing list? Am closing this issue on GitHub.

http://groups.google.com/group/swiftriver

@ghost ghost closed this as completed Jun 19, 2011
@olivewave
Copy link
Author

mod_rewrite was disabled on my apache and after enabling Sweeper installed smoothly :).

Thanks a lot for looking into it.
Olivewave Team
http://www.olivewave.com/

@ghost
Copy link

ghost commented Jun 19, 2011

Awesome, great to hear! Glad to have been of assistance. :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant