These are chat archives for ushahidi/Community

29th
Mar 2017
Bornfree
@bornfree1987_twitter
Mar 29 2017 06:22
PHP Version 5.6.30; Apache; MySQL server version: 5.6.28-76.1-log ;
I'm wondering if it could also be an issue with URL rewriting?
I've got this line: RewriteRule ^/platform/api/v3/?$ /platform/httpdocs/index.php
in my htaccess file to redirect requests to /platform/api/v3/* as per teh instructions
Ushbot
@ushbot
Mar 29 2017 14:06
[Jason, Ushahidi] Hi there, I’m trying to install Ushahidi V3 zipped release bundle on a shared hosting site. Have unzipped and copied files into the webroot and run the database migration as per instructions on this page: https://www.ushahidi.com/support/install-ushahidi. However, I'm not sure about the URL rewriting part.

[Link, Ushahidi]

Support

Ushahidi can be installed on several operating systems. We have different instructions depending on what type of user you are:

[Jason, Ushahidi] When I try to load the site I get "Sorry, something went wrong. Try reloading the page." I think it might be URL rewriting because in my chrome console I get the following error: GET http://crowdmap.smartharare.org/platform/api/v3/config 404 (Not Found)
Bornfree
@bornfree1987_twitter
Mar 29 2017 14:12
Sorry for the repeat all - posted in the hipchat.
Ushbot
@ushbot
Mar 29 2017 16:46

[David Losada, Ushahidi] Jason, the file with the rewriterule (platform/.htaccess) comes bundled with the compressed file. These are the contents: ```
$ cat platform/.htaccess

Turn on URL rewriting

RewriteEngine On

Set base directory

RewriteBase /platform

Protect hidden files from being viewed

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

Rewrite all other URLs to httpdocs

RewriteRule .* httpdocs/$0 [PT]
```