New Event Invıtation Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • berkantr
    Junior Member
    • Aug 2020
    • 12

    New Event Invıtation Error

    Hi,

    I created a new event. But i can't sending invitation. Error: 404 not found.

    Log note:
    [2020-08-19 11:40:36] Espo.ERROR: (404) Action POST 'sendInvitations' does not exist in controller 'Ziyaretler'.; POST /api/v1/Ziyaretler/action/sendInvitations; line: 129, file: /home/u4651252/crm.clearity.com.tr/application/Espo/Core/ControllerManager.php [] []

    Thanks,
    Berkant
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    Could you describe it more explicitly? What kind of Event did you create? Are you talking about some your custom code for the custom Event type entity?

    Comment

    • item
      Active Community Member
      • Mar 2017
      • 1476

      #3
      Hello,
      i think you need to copy and adapt these two file to your custom entity

      application/Espo/Modules/Crm/Controllers/Call.php:
      application/Espo/Modules/Crm/Services/Meeting.php:
      If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

      Comment

      • berkantr
        Junior Member
        • Aug 2020
        • 12

        #4
        Hi,

        I created a new entity with event type for customer visits.

        I get this error when I want to send an invitation.

        Originally posted by item
        Hello,
        i think you need to copy and adapt these two file to your custom entity

        application/Espo/Modules/Crm/Controllers/Call.php:
        application/Espo/Modules/Crm/Services/Meeting.php:
        I tried this solution but the error continues.

        I cannot see the entity I just created in template manager like "invitation :: Meeting"

        Thanks for replies.

        Comment

        • item
          Active Community Member
          • Mar 2017
          • 1476

          #5
          Hello,
          you need to follow this (not all) https://www.eblasoft.com.tr/post/clo...ity-in-espocrm

          like :
          /custom/Espo/Custom/Controllers/Ziyaretler.php

          /custom/Espo/Custom/Services/Ziyaretler.php
          If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Hi berkantr,
            Please investigate my tutorial https://forum.espocrm.com/forum/deve...6690#post56690.

            Comment

            • berkantr
              Junior Member
              • Aug 2020
              • 12

              #7
              Hi Maximus

              I followed all the steps.

              I can send invitations right now, but it fails when responding to the invitation.

              "500 Internal Server Error


              SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list'
              Visit the Home Page"

              I attached log file but very complicated.

              Thanks.
              Attached Files
              Last edited by berkantr; 08-20-2020, 08:42 AM.

              Comment

              • berkantr
                Junior Member
                • Aug 2020
                • 12

                #8
                Dear Maximus ,

                Thanks for tutorial. I tried hard and finally succeeded.

                Comment

                Working...