Announcement

Collapse
No announcement yet.

Install error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install error

    Good morning,

    I am getting the following error when trying to install and I for the life of me cannot solve it. I even reached out to my hosting provider and they claimed it was a software issue and everything was setup:

    API Error: EspoCRM API is unavailable.
    Possible problems: disabled "mod_rewrite" in Apache server, disabled .htaccess support or RewriteBase issue.
    Do only necessary steps. After each step check if the issue is solved.

    1. Enable "mod_rewrite". To do it run those commands in a Terminal:
    a2enmod rewrite service apache2 restart
    2. Enable .htaccess support. Add/edit the Server configuration settings (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):
    <Directory /PATH_TO_ESPO/> AllowOverride All </Directory> Afterwards run this command in a Terminal:
    service apache2 restart
    3. Try to add the RewriteBase path, open a file api/v1/.htaccess and replace the following line:
    # RewriteBase / To
    RewriteBase /crm/api/v1/
    For more information please visit the guideline Apache server configuration for EspoCRM.

    Note from host:

    HI,

    The module require for mod_rewrite rules is enabled and active(as per the default for cPanel installations):

    ---
    (cP/16879/vz07-wa)root@everest.vddhosting.com [/home/wwwbrandsthatwor/public_html/crm]# httpd -M|grep rewrite
    rewrite_module (static)
    ---

    This isn't causing any PHP errors nor do I see any errors being logged into Apache's error log, so generally this is looked at as a development issue because if it isn't giving an error, this generally means the sties error handling needs to be improved because otherwise, there is no indication what the site needs on the server side of things. Unfortunately, this is either a coding issue or issue with the software and not an issue with the server itself. As we are not developers we are unable to troubleshoot code or make any changes to site content.

    Please refer to the software's developer(s), or have your developer to assist you with this issue. Any help would be appreciated!
    Last edited by dcaplan; 02-14-2017, 11:19 AM.

  • #2
    I should mention I am trying to install this on a VPS running Centos 7, I am not sure if that is the issue or not.

    Comment


    • #3
      Did you enable support .htaccess in /etc/httpd/conf/httpd.conf or virtual host file?
      Job Offers and Requests

      Comment

      Working...
      X