Posted: May 2, 2023 at 3:48 pm
Hi |
|
addendum: the same happens when I click on the transaction icons in the registrations list. None of them links to an invoice anymore! |
|
Version 5.0.3.p |
|
and, since it’s always the same URL, the same is true for Registration details > Show transaction > Show invoice. |
|
Hi there, Go to Event Espresso -> Messages -> Settings (tab) Click the HTML Tab, is Invoice in the active section or inactive? |
|
Hi Tony, |
|
Ok, drag it over to be inactive. Wait a couple of seconds and drag it back again. That just makes sure the sessions are in sync. Any security plugins enabled? |
|
unfortunately de- and reactivating didn’t solve it. Waited +10 secs. |
|
Hmm, ok, so the last time we saw this is was due to the host’s mod_sec rules being triggered and they redirected the request to home. Can you check with your host and ask them to confirm on their end that the request isn’t being blocked? (Send them the URL you included in your opening post). Have you checked your server’s error logs to see if any errors are being thrown? |
|
thanks! |
|
From the info we have so far, I’d say something is either blocking the request or there’s an error being thrown (although an error normally wouldn’t redirect you back to the home page). Did the host response to the above ticket? |
|
I got the answer just now. But it’s not what we would have expected. I know the supporter of the hosting company being a know-it-all. |
|
Post their reply in a private reply here and I’ll take a look. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi Tony, |
|
I’m a little confused here, you asked me how you should reply to your hosts reply above, that’s my answer. They basically replied with “Shouldn’t that link include a .PHP file?”, the answer is no. Did they check if mod_sec (or anything else) was blocking the request at all? |
|
ah, sorry! |
|
No problem 🙂 We can run through how to test the link with no other plugins activated to see if this is a plugin conflict if you’d like to try that? However, I recommend creating a database backup before doing so just to be safe. |
|
thats the latest answer from the hosting support |
|
Hi Tony, At least I remembered that I have a staging site with EE 4.10.44.p, WP 6.1.1 and some more not yet updated plug-ins where the invoice links work as expected. I’ll let you know. |
|
I first updated EE to 5.0.3.p. |
|
The only thing that 5.0.3 updates within the database is to copy the details USD to assign a venue to an event from one location to another. I’ll take a look at the staging site if you can sent temp login details over using this form: |
|
This reply has been marked as private. | |
Sorry, I just sent all information needed via the form you provided |
|
Interesting! Ok, so the problem on staging is the Invoice message type has been disabled, but differently to how I expected. On the LIVE site go to Event Espresso -> Messages -> Default Message Templates. Find Invoice in the list. Is the ‘Edit Purchaser’ link greyed out? Click on it and make sure the toggle switch is active (green). If it’s like this, it’s disabled: https://monosnap.com/file/HNCE8nIWlns4s637ZlTe3AtEWMDVAO |
|
Hi Tony, |
|
Yep, unfortunately, that one I can’t answer … I (possibly) could have if you had a Database backup as I could have run the update locally to see what was happening. I’ve run many (many many!) migrations and updates from 4.10.XX to EE5 and not had this happen at all so far but will try and do some investigating to see if I can reproduce. |
|
The support post ‘URL generated from [INVOICE_URL] doesn't link to invoice anymore’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.