Success message no longer showing
Permalink Browser Info Environment
Not sure if this is related to the fix for the redirect in 1.0.6 but am now using the addon on a dev version of our site and the success message doesn't show after submission.
Type: | Pre-Sale |
---|---|
Status: | Resolved |
So I'm a bit out of ideas right now.
I tested your site and the script returns a false value to Ajax meaning there was a problem. But there's no error message anywhere.
The data is still sent correctly and saved correctly as an Express Entry.
And if I use a page redirect instead of a success message it works.
I then created an Express entity just like yours on my local website and updated it to 8.5.4 just like yours. As far as I can tell everything on my side, as far as express is concerned, is identical to your side.
And it works just fine for me.
At this point, I can only go further in my testing if you give me access to the files on the server. Would that be possible?
I tested your site and the script returns a false value to Ajax meaning there was a problem. But there's no error message anywhere.
The data is still sent correctly and saved correctly as an Express Entry.
And if I use a page redirect instead of a success message it works.
I then created an Express entity just like yours on my local website and updated it to 8.5.4 just like yours. As far as I can tell everything on my side, as far as express is concerned, is identical to your side.
And it works just fine for me.
At this point, I can only go further in my testing if you give me access to the files on the server. Would that be possible?
I figured it out.
It was indeed a setting on your server but I'm glad you caught it. I changed my code and it's now much more solid.
This line was not working
I guess your PHP doesn't like variables in string like this which I shouldn't be using anyway...
I already modified the package on your server but you can also update to 1.0.7 and you should be good to go.
It was indeed a setting on your server but I'm glad you caught it. I changed my code and it's now much more solid.
This line was not working
elseif (false !== stripos($url, "/form_success/{$bID}#form{$bID}") && empty($redirectCID))
I guess your PHP doesn't like variables in string like this which I shouldn't be using anyway...
I already modified the package on your server but you can also update to 1.0.7 and you should be good to go.
Upgraded to the latest version and everything works perfectly - thank you for your speedy and thorough support.
Great to hear! Thank you :)
I just ran some tests and it seems to be working fine on my end.
Could you give me access to the site to have a look?