After initial installation, an "auth error" comes up

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anwender41
    Junior Member
    • Nov 2017
    • 6

    After initial installation, an "auth error" comes up

    Hello,
    first of all, I am new here and a German student, so please forgive me some mistakes

    To my problem:
    I have a Windows Server 2012 R2 and on it XAMPP installed. The system requirements must actually fit so far.
    The installation also works fine, but as soon as I could then access the CRM, is a "auth error" (see Appendix).
    I did not enter any data in the login field, because I do not even see this.

    What I have done wrong??
    I'm grateful for any help!

    Thank you in advance for your help!

    Greetings
    Robert
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Check espocrm log (data/logs) and pressF12 button. Possible something will clear up

    Comment

    • Anwender41
      Junior Member
      • Nov 2017
      • 6

      #3
      Hello, thanks for your answer!

      Originally posted by tanya
      Check espocrm log (data/logs)
      in the folder \data\ is only one folder named "cache" and two files ".data" and "config.php".
      This does not change after a new installation!

      Greetings
      Robert

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        What about browser log? (F12)

        Comment

        • Anwender41
          Junior Member
          • Nov 2017
          • 6

          #5
          Thanks!
          but how can I change that ??

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            Could you share parameters of your server?
            Do you use FastCGI? https://github.com/espocrm/documenta...ly-for-fastcgi

            which one step you see the last?

            Comment


            • Nishan Perera
              Nishan Perera commented
              Editing a comment
              this is working. we need to use fastCGI module in apache config. after adding

              "<IfModule mod_fcgid.c>
              FcgidPassHeader Authorization
              FcgidPassHeader Proxy-Authorization
              FcgidPassHeader HTTP_AUTHORIZATION
              </IfModule>"

              Installation working fine.

              Thanks for your support.
          • Anwender41
            Junior Member
            • Nov 2017
            • 6

            #7
            Thank you for your answer!

            which parameters do you need?
            As I said, Windows Server 2012 R2 + XAMPP (default installation)

            In any case, I do not consciously use FastCGI and according to "phpinfo ()" no fcgi-module is loaded.

            In the documentary I come to the last step. As soon as I click on "Go to EspoCRM", the "auth-error" comes ...

            Comment

            • tanya
              Senior Member
              • Jun 2014
              • 4308

              #8
              php version
              mysql version
              data/config.php check
              'isInstalled' ,
              'siteUrl',
              is siteUrl the same as on first screenshot

              Comment

              • Anwender41
                Junior Member
                • Nov 2017
                • 6

                #9
                Sorry for the many questions, but I'm still pretty new to PHP.

                php version
                - PHP 7.1.9
                - extensions: mysqli; curl; mbstring

                mysql version
                - libmysql - mysqlnd 5.0.12-dev - 20150407
                - Server-Version: 10.1.26-MariaDB - mariadb.org binary distribution

                data/config.php check
                - I have not changed anything manual about these files
                I also like to upload the files here, which one do you need exactly?
                The from XAMP or from the EspoCRM folder?

                'isInstalled' ,
                - Do you mean on the server?
                Here is not special on it:
                => eM Cleint, Immunet, Notepad ++, VMWare Tools, WinRAR and XAMPP

                'siteUrl',
                - "w2k12" (this is the Servername)

                is siteUrl the same as on first screenshot
                - yes! => http://w2k12/crm/

                Apache Version is 2.4.27


                Thank you for helping me!

                Comment

                • captainx
                  Junior Member
                  • Dec 2017
                  • 1

                  #10
                  Hi,

                  I installed EspoCrm on my cpanel with php 7.1 created a database on mysql. the whole installation process went fine.

                  After installing I was asked to log in first time, so I try to log in and get error: wrong username/password but the details are correct I even looked up in the php admin if the user was created and the user was there with admin privileges.

                  Any idea what is wrong? or where I could start to look to fix the problem?

                  Thanks

                  Comment

                  • tanya
                    Senior Member
                    • Jun 2014
                    • 4308

                    #11
                    Hello
                    I have never heard about such problem before. Maybe you input the wrong password while installation.
                    data/config.php
                    if you delete/rename this file, you will be able to reinstall EspoCRM. Do it again, please

                    Comment

                    • sravimishra
                      Junior Member
                      • Jan 2018
                      • 1

                      #12
                      After initial installation, an "auth error" comes up kindly help


                      Comment

                      • msandoval
                        Junior Member
                        • Nov 2018
                        • 1

                        #13
                        Hello, I am using appserv and I have created the task scheduled in Windows Server 2008, after the installation "auth error" appears. I need your help please

                        Comment

                        • Nishan Perera
                          Active Community Member
                          • Jan 2019
                          • 348

                          #14
                          Hello, same error comes up after installation. Please help.
                          Cheers!
                          Nishan.

                          Comment

                          Working...