Dashboard Help - URLs not resolving correctly
Dashboards do not display (Apache2)
MakoBoard uses .htaccess on apache to control the URLs, potentially you did not upload the .htaccess file when you transferred the Mako install.
You can create your own .htaccess file by copying and pasting this into the root directory of your Mako Install (location where mako-config.php is):
##Disables viewing directory when there is no proper index.html/index.php files
Options -Indexes -MultiViews
Options +FollowSymLinks -SymLinksIfOwnerMatch
## For APP Uploading (You'll need to edit the php.ini file if this is not possible)
<IfModule mod_php.c>
php_value upload_max_filesize 60M
php_value post_max_size 60M
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [NC,L,QSA]
</IfModule>
** Also make sure within your /etc/apache2/apache2.conf you have the ability to run .htaccess.
Seen more here: Enabling .htaccess file to rewrite path (not working)
Dashboards do not display (NGINX)
Here is the NGINX code which you will need to implement as a similiar version for the above. You will need to edit your site's NGINX configuration file (usally located at /etc/nginx/sites-available/example.com.conf):
server {
listen 80; # Listen on port 80 for HTTP requests
server_name www.example.com example.com; # Server domain names
root /var/www/example.com; # Root directory for the website files
index index.php index.html index.htm; # Default files to serve
location / {
autoindex off; # Disable directory listing
try_files $uri $uri/ /index.php?$query_string; # Try requested URI, then index.php with query string
}
location ~ \.php$ {
include snippets/fastcgi-php.conf; # PHP-FPM configuration
fastcgi_pass unix:/var/run/php/php-fpm.sock; # PHP-FPM socket
}
client_max_body_size 60M; # Set maximum upload size to 60MB
}
Make sure to test it and reload/restart NGINX once you implement the new changes:
sudo nginx -t # Test the configuration for syntax errors
sudo systemctl reload nginx # Reload NGINX to apply the changes