Couple of teething issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andrew1810
    Junior Member
    • Dec 2019
    • 2

    Couple of teething issues

    I've just installed this on my VPN (Debain running PHP 7.3 and Nginx) but am having a couple of initial issues (and one query):

    1) The customer portal URL comes back with a 404 not found error (nginx config below)

    2) The portal Roles says None, but I can't find a way to add one, there isn't a text box?


    And a quick query, are there any plans to integrate with something like Zapier so I can get clients into my accounting software?


    Looks great so far!!


    Thanks


    Andrew


    location / {
    try_files $uri $uri/ /index.php?$query_string;
    }

    location /api/v1/ {
    if (!-e $request_filename){
    rewrite ^/api/v1/(.*)$ /api/v1/index.php last; break;
    }
    }

    location /portal/ {
    try_files $uri $uri/ /portal/index.php?$query_string;
    }

    location /api/v1/portal-access {
    if (!-e $request_filename){
    rewrite ^/api/v1/(.*)$ /api/v1/portal-access/index.php last; break;
    }
    }

    location ~ /reset/?$ {
    try_files /reset.html =404;
    }

    location ^~ (data|api)/ {
    if (-e $request_filename){
    return 403;
    }
    }
    location ^~ /data/logs/ {
    deny all;
    }
    location ^~ /data/\.backup/ {
    deny all;
    }
    location ^~ /data/config.php {
    deny all;
    }
    location ^~ /data/cache/ {
    deny all;
    }
    location ^~ /data/upload/ {
    deny all;
    }
    location ^~ /application/ {
    deny all;
    }
    location ^~ /custom/ {
    deny all;
    }
    location ^~ /vendor/ {
    deny all;
    }
    location ~ /\.ht {
    deny all;
    }
    location ~ \.php$ {
    try_files $uri =404;
    fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
    }
    }
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    1. Try to remove this config: try_files $uri =404; from the location ~ \.php$ block or replace it with this one: try_files $uri $uri/ =404;
    2. Could you provide some screenshots with this issue?
    3. We have such plans to make integration with Zapier. But it won't be soon. For now, EspoCRM has integration with PieSynchttps://www.espocrm.com/blog/sync-espocrm-with-80-apps/.

    Comment

    • andrew1810
      Junior Member
      • Dec 2019
      • 2

      #3
      I've managed to fix the first issue, the index file hadn't uploaded properly.

      The second issue is happening when I try to compose an email as well, the drop-down box isn't showing (attached)

      Any ideas?
      Attached Files

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Please try to reproduce this issue in the incognito mode. If it will not be reproduced than clear a web browser cache.
        Open the F12 dev tools in your browser, press 'compose email' and provide us a screenshot with the errors in the console tab.

        Comment

        • esforim
          Active Community Member
          • Jan 2020
          • 2204

          #5
          For User Portal setting you have to create it via Administration setting, you can't create using the sidebar/popup. After creating it, go back to the User and link it again.

          Comment

          Working...