Okay
  Public Ticket #3502590
Error 403 when adding EVENTS
Closed

Comments

  • Jan Wellmann started the conversation

    Dear TMS Crew,
    I am encountering problems with a fresh Amelia install. Adding Services, Employees all goes smooth, but I cannot add events. Wordpress 6.3.2 with PHP7.4 and Amelia 6.7

    Whenever I try to save a new event, i see the 'Waiting' splash for a second, but then I return to the new-event-panel. I already set the SQL_BIG_SELECTS to true (needed for my database). No events are added.

    No PHP/SQL errors show up, but:

    Browser console reports a 403. So maybe its CORS related. I disabled web applications firewalls, but no change.

    Here are some details:

    POST https://www.xxxdomainnameyyy.de/wp-admin/admin-ajax.php?action=wpamelia_api&call=/events&ameliaNonce=802f8e9d65

    Status403
    VersionHTTP/2
    Transferred752 B (49 B size)
    Referrer Policystrict-origin-when-cross-origin
    Request PriorityHighest
    DNS ResolutionSystem

    *response*
    HTTP/2 403 server: nginx
    date: Thu, 19 Oct 2023 19:28:31 GMT
    content-type: text/html;charset=UTF-8
    vary: Accept-Encoding
    access-control-allow-origin: https://www.xxxdomainnameyyy.de
    access-control-allow-credentials: true
    x-robots-tag: noindex
    x-content-type-options: nosniff
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-cache, must-revalidate, max-age=0, no-store, private
    referrer-policy: strict-origin-when-cross-origin
    x-frame-options: SAMEORIGIN
    x-qm-overview-time_taken: 0,1724
    x-qm-overview-time_usage: 0,0% von 900s Zeitlimit
    x-qm-overview-memory: 13,1 MB
    x-qm-overview-memory_usage: 1,3% von 1.024 MB Server-Limit
    content-encoding: br
    X-Firefox-Spdy: h2

    *request*

    POST /wp-admin/admin-ajax.php?action=wpamelia_api&call=/events&ameliaNonce=802f8e9d65 HTTP/2
    Host: www.xxxdomainnameyyy.de
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
    Accept: */*
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate, br
    Referer: https://www.xxxdomainnameyyy.de/wp-admin/admin.php?page=wpamelia-events
    X-Requested-With: XMLHttpRequest
    Content-Type: application/json;charset=utf-8
    Content-Length: 1185
    Origin: https://www.xxxdomainnameyyy.de
    Connection: keep-alive
    Cookie: wordpress_sec_67eee87907accb55b9d89559067199a0=admin%7C1697916126%7Cc1eNGJcmtBuc9C2Gc7QjLue3YWhXuxHZ0A0cQYHV5gK%7Cd47e47801ab6ce7b4b84cc4f67477754878bdae8c00b229bb56e099dfd0833ce; wordpress_test_cookie=WP%20Cookie%20check; wp_lang=de_DE; ameliaRangePast=-5; ameliaRangeFuture=12; wordpress_logged_in_67eee87907accb55b9d89559067199a0=admin%7C1697916126%7Cc1eNGJcmtBuc9C2Gc7QjLue3YWhXuxHZ0A0cQYHV5gK%7Cad9198d89bab8cc8bdb0111f46d5795d1271ef2b0426f7c83b4c028efa31eea1; wp-settings-1=libraryContent%3Dbrowse%26editor%3Dtinymce%26hidetb%3D1; wp-settings-time-1=1697743326
    Sec-Fetch-Dest: empty
    Sec-Fetch-Mode: cors
    Sec-Fetch-Site: same-origin
    Pragma: no-cache
    Cache-Control: no-cache
    TE: trailers

    Sorry, no URL, system is not live yet. can give you temp_admin if needed.
    Hope this helps.

  •  1,574
    Uroš replied

    Hello Jna,

    Thank you for reaching out to us.

    Can you please let me know if there is any customer or employee with the same email as the admin user with which you were logged in when this error occurred?

    If that is the case, you should change the email of that customer or employee and it will be resolved as it causes a conflict between roles and permissions.

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Jan Wellmann replied

    Hello Uros,

    uuuuh, I was looking in the complete wrong direction. Yes, I have to confess I used my devel-email both for login and testing. Changed that at the customers page, now everything is fine.

    Thanks for your immediate help. Again, you managed to solve the issue with just one reply. Kudos!
    Jan.

    *closed*

  •   Uroš replied privately