Announcement

Collapse
No announcement yet.

espocrm 4.0.4 blank page on completion of install

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

  • espocrm 4.0.4 blank page on completion of install

    I see various mesages about blank pages and I have found this also
    Running MAMP Pro on mac - PHP 5.6.10
    Installed espocrm 4.0.4 in a directory under standard MAMP root folder htdocs
    Other apps e.g. Concrete 5 running fine
    I believe file permissions are fine

    I get pale grey? bar on top of page and similar on bottom line with espocrm copyright message

    How do I debug this and fix this ?
    Last edited by timconsidine; 03-30-2016, 03:59 PM.

  • #2
    After much googling ...

    Added <Directory> entries for espocrm in httpd.conf (N.B. in mamp pro it is not possible edit the file directly, has to be done via menu access Edit Template)

    Added rewritebase to .htaccess in api/v1

    Now still getting blank page (without top grey bar) but with temporary message Error404: Not found

    Checked apache error logs and php error logs : nothing reported

    Do I need rewritebase in .htaccess of main espocrm directory ?? Doesn't seem to make a difference

    What file is the 404 message referring to ? No clue given

    File permissions seem fine - file owner seems fine
    Other applications in same MAMP environment running fine (e.g. concrete 5 CRM)

    Looking for advice on what next to check / adjust / fix - thank you !

    Comment


    • #3
      After checking log console I see :
      espo.min.js?r=1458912617257:4 GET http://localhost:8888/espocrm404/api/v1/I18n/ 404 (Not Found)k.cors.a.crossDomain.send @ espo.min.js?r=1458912617257:4n.extend.ajax @ espo.min.js?r=1458912617257:4_.extend.fetch @ VM9868:125_.extend.load @ VM9868:120(anonymous function) @ VM9827:76App @ VM9827:75(anonymous function) @ (index):17(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend.require @ espo.min.js?r=1458912617257:16_.extend.define @ espo.min.js?r=1458912617257:16Espo.define @ espo.min.js?r=1458912617257:16(anonymous function) @ VM9885:32_.extend._execute @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16j @ espo.min.js?r=1458912617257:3k.fireWith @ espo.min.js?r=1458912617257:3x @ espo.min.js?r=1458912617257:4(anonymous function) @ espo.min.js?r=1458912617257:4
      espo.min.js?r=1458912617257:4 GET http://localhost:8888/espocrm404/api/v1/Settings/ 404 (Not Found)k.cors.a.crossDomain.send @ espo.min.js?r=1458912617257:4n.extend.ajax @ espo.min.js?r=1458912617257:4e.ajax @ espo.min.js?r=1458912617257:6e.sync @ espo.min.js?r=1458912617257:6i.extend.sync @ espo.min.js?r=1458912617257:5i.extend.fetch @ espo.min.js?r=1458912617257:5Model.extend.load @ VM9883:57(anonymous function) @ VM9827:71App @ VM9827:70(anonymous function) @ (index):17(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend._executeLoa dCallback @ espo.min.js?r=1458912617257:16proceed @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16_.extend.require @ espo.min.js?r=1458912617257:16_.extend.define @ espo.min.js?r=1458912617257:16Espo.define @ espo.min.js?r=1458912617257:16(anonymous function) @ VM9885:32_.extend._execute @ espo.min.js?r=1458912617257:16(anonymous function) @ espo.min.js?r=1458912617257:16j @ espo.min.js?r=1458912617257:3k.fireWith @ espo.min.js?r=1458912617257:3x @ espo.min.js?r=1458912617257:4(anonymous function) @ espo.min.js?r=1458912617257:4

      The 2 directories /api/v1/I18n and /api/v1/Settings do not exist in my installation - clean install from latest download from website 4.0.4

      Is the install file broken ??
      Why don't I have these ?

      Comment


      • #4
        Did you try all of these methods: https://github.com/espocrm/documenta...pi-unavailable
        Job Offers and Requests

        Comment


        • #5
          Yes, I worked through this document

          My MAMP httpd.conf says :

          --------
          Alias /EspoCRM "/Applications/MAMP/htdocs/espocrm404"
          <Directory "/Applications/MAMP/htdocs/espocrm404">
          Order allow,deny
          Allow from 127.0.0.1
          Allow from localhost
          Allow from ::1
          AllowOverride All
          Require all granted
          Satisfy Any
          </Directory>
          --------
          and ...
          --------
          <IfModule mod_fastcgi.c>
          # URIs that begin with /fcgi-bin/, are found in /var/www/fcgi-bin/
          Alias /fcgi-bin/ "/Applications/MAMP/fcgi-bin/"

          # Anything in here is handled as a "dynamic" server if not defined as "static" or "external"
          <Directory "/Applications/MAMP/fcgi-bin/">
          SetHandler fastcgi-script
          Options +ExecCGI
          </Directory>

          # Anything with one of these extensions is handled as a "dynamic" server if not defined as
          # "static" or "external". Note: "dynamic" servers require ExecCGI to be on in their directory.
          AddHandler fastcgi-script .fcgi .fpl

          FastCgiConfig -pass-header Authorization \
          -pass-header Proxy-Authorization \
          -pass-header HTTP_AUTHORIZATION

          MAMP_ActionPhpCgi_MAMP

          MAMP_FastCgiServer_MAMP

          </IfModule>
          --------

          Are these wrong ?

          I still get blank page with Error 404 as described in previous post, with no reported errors in apache_error.log

          Comment


          • #6
            I installed espocrm on an Amazon EC2 instance, and it worked out of the box with no configuration needed.
            I also installed the Bitnami Espocrm stack on Mac and it worked immediately (it should do as packaged stack)

            I can only conclude that there is something in the MAMP stack which makes configuring Espocrm difficult.
            It should resolvable and as possibly the biggest ?AMP stack on Mac, I would hope that Espocrm could support this.

            Perhaps this can serve as 'warning' to those thinking of using Espocrm on MAMP.
            If anyone has succeeded, please let me know as I would like to run it in this environment for a project.

            Comment


            • #7
              I also succeeded in installing EspoCRM 404 using AMPPS local stack (one error being investigated)
              So definitely seems to be a MAMP or MAMP PRO issue

              Comment

              Working...
              X