Ushahidi platform v4 and v3 API not working - hosted at dreamhost


#1

Hi there, we have been trying to deploy the two versions of the platform without success in a shared dreamshost (PHP v7.1).
We have read all the topics, we checked and tested all rewrite directives, permissions, all the htaccess files, config files, routes, etc.
The client map loads an empty platform, and seems that API is not working.
Specifically, in v3 API returns a Kohana 404 error, and in V4 just a standard message “Whoops, looks like something went wrong.”

We are stucked because we don’t know exactly the error is. We assume that may be the routing, or the htaccess could be the problem but is impossible to know.

v3: https://server.15000km.org/platform/httpdocs/

.htaccess located at that folder:

# Turn on URL rewriting
RewriteEngine On

# Set base directory
RewriteBase /platform/httpdocs

# Protect hidden files from being viewed
<Files .*>
	Order Deny,Allow
	Deny From All
</Files>

# Uncomment to force redirection to https site.
#RewriteCond %{HTTP:X-Forwarded-Proto} =http
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{ENV:REWRITEBASE}$1 [R=301,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]
# RewriteRule ^(.+)$ index.php?kohana_uri=$1 [L]
RewriteRule .* platform/httpdocs/index.php?kohana_uri=$1 [L]

v4: https://serv2.15000km.org/platform/httpdocs/

.htaccess:

# Protect hidden files from being viewed
<Files .*>
	Order Deny,Allow
	Deny From All
</Files>
<Files *>
	Order allow,deny
	Allow from all
</Files>


# Turn on URL rewriting
RewriteEngine On

# 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]
#RewriteRule ^ index.php [L]

DirectoryIndex index.html index.php

We will appreciate any help. Bests!