4.4.0 Not Save setting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rucrm
    Member
    • May 2016
    • 84

    4.4.0 Not Save setting

    Hi
    I can not save the settings.
    Prompt in what an error can be

    [2017-02-03 07:42:07] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)" at /home/v34469/public_html/application/Espo/ORM/EntityManager.php line 138 {"exception":"[object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /home/v34469/public_html/application/Espo/ORM/EntityManager.php:138)"} []
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    check in config (data/config.php) database settings (you don't set the user at least, I think password as well)

    Comment

    • rucrm
      Member
      • May 2016
      • 84

      #3
      'database' => [
      'driver' => 'pdo_mysql',
      'dbname' => 'v_crm',
      'user' => 'v_crm',
      'password' => 'PSWD',
      'port' => '',
      'host' => 'localhost'
      the password is present * sorry. My English is bad

      Comment

      • rucrm
        Member
        • May 2016
        • 84

        #4
        update to 4.4.1
        the error persists

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #5
          How can you upgrade the crm with this error??? Check permissions, ownership of files. Can you edit other records (tasks, accounts) or it doesn't save as well?

          Comment

          • rucrm
            Member
            • May 2016
            • 84

            #6
            sorry. new install 4.4.1
            i can create user and task.

            permissions 755
            public_html/api
            /public_html/application
            /public_html/client
            /public_html/custom
            /public_html/html
            /public_html/install
            /public_html/portal
            /public_html/vendor

            permissions775
            data

            file permissions 664

            Comment

            • tanya
              Senior Member
              • Jun 2014
              • 4308

              #7
              I asked about editing, not creating. if not - http://forum.espocrm.com/forum/insta...-clean-install

              Comment

              • rucrm
                Member
                • May 2016
                • 84

                #8
                PATCH - hosting not supported. fix. spasibo)

                Comment

                • pk2r
                  Junior Member
                  • Feb 2017
                  • 16

                  #9
                  I have the same problem, just update to 441 today and setting save keep in loop...

                  Comment


                  • tanya
                    tanya commented
                    Editing a comment
                    Do the same as rucrm and other members did and fix it

                  • pk2r
                    pk2r commented
                    Editing a comment
                    Thanks i Will try with
                    Originally posted by oscarcookie
                    I've changed the htaccess in the root folder, by adding:
                    <ifModule mod_headers.c>
                    Header always set Access-Control-Allow-Methods "POST, GET, PUT, PATCH, DELETE"
                    </ifModule>
                    on top and

                    <Limit GET POST PUT DELETE HEAD OPTIONS PATCH>
                    Order allow,deny
                    Allow from all
                    </Limit>
                    on the bottom.

                    This resolved the issue!

                    Thanks for the support
                    Do you think this will repair also the same problem in Quote save at edition?

                    regards

                  • tanya
                    tanya commented
                    Editing a comment
                    I don't think, I'm sure )
                • pk2r
                  Junior Member
                  • Feb 2017
                  • 16

                  #10
                  thanks...really works..

                  regards

                  Comment

                  • joy11
                    Active Community Member
                    • Jan 2017
                    • 113

                    #11
                    I ran into the same issue. The code is slightly different for Apache 2.4 PHP7.

                    So in the <limit> from above would look like instead:

                    <Limit GET POST PUT DELETE HEAD OPTIONS PATCH>
                    Require all granted
                    </Limit>

                    Comment

                    Working...