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
View Replies:
mnakalay replied on at Permalink Reply

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?
mnakalay replied on at Permalink Reply
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?
mnakalay replied on at Permalink Reply
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

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.
katalysis replied on at Permalink Reply
Upgraded to the latest version and everything works perfectly - thank you for your speedy and thorough support.
mnakalay replied on at Permalink Reply
Great to hear! Thank you :)

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 10.2.33-MariaDB

# concrete5 Packages
Ajax Forms - Express Edition Light (1.0.6), Clear Clipboard (1.0.1), Katalysis Base Bootstrap (, Katalysis Business (0.1.0), Katalysis Mailing (0.0.01), Katalysis Theme Bootstrap (, Minify HTML (2.0.0), Search Experience Optimization (, Simple Slider (1.0)

# concrete5 Overrides
blocks/external_form/form/controller/mautic_estate_agency_demo_request_form.php, blocks/external_form/form/controller/mautic_web_design_quote_request_form.php, blocks/external_form/form/controller/mautic_concrete5_quote_request_form.php, blocks/external_form/form/controller/mautic_estate_agency_proposal_request_form.php, blocks/external_form/form/controller, blocks/external_form/form/mautic_estate_agency_demo_request_form.php, blocks/external_form/form/mautic_web_design_quote_request_form.php, blocks/external_form/form/mautic_concrete5_quote_request_form.php, blocks/external_form/form/mautic_estate_agency_proposal_request_form.php, blocks/external_form/form, blocks/external_form, blocks/katalysis_enhanced_image/icon.png, blocks/katalysis_enhanced_image/add.php, blocks/katalysis_enhanced_image/templates/two_column.php, blocks/katalysis_enhanced_image/templates/home_signpost.php, blocks/katalysis_enhanced_image/templates, blocks/katalysis_enhanced_image/tools/composer_save.php, blocks/katalysis_enhanced_image/tools/crop_image.php, blocks/katalysis_enhanced_image/tools, blocks/katalysis_enhanced_image/db.xml, blocks/katalysis_enhanced_image/controller.php, blocks/katalysis_enhanced_image/view.php, blocks/katalysis_enhanced_image/js/hover.js, blocks/katalysis_enhanced_image/js, blocks/katalysis_enhanced_image/edit.php, blocks/katalysis_enhanced_image/composer.php, blocks/katalysis_enhanced_image/form.php, blocks/katalysis_enhanced_image, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/img/arrow-right.png, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/img/arrow-left.png, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/img, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/view.php, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/js/swiper.js, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/js, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/css/swiper.css, blocks/vivid_simple_slider/templates/katalysis_header_slideshow/css, blocks/vivid_simple_slider/templates/katalysis_header_slideshow, blocks/vivid_simple_slider/templates, blocks/vivid_simple_slider/img/arrow-right.png, blocks/vivid_simple_slider/img/arrow-left.png, blocks/vivid_simple_slider/img, blocks/vivid_simple_slider, elements/dashboard/welcome.php, elements/dashboard, elements/conversation/display.php, elements/conversation/message/author.php, elements/conversation/message/topic.php, elements/conversation/message/pending.php, elements/conversation/message/review.php, elements/conversation/message/add_form.php, elements/conversation/message, elements/conversation, attributes/hidden/controller.php, attributes/hidden/type_form.php, attributes/hidden/form.php, attributes/hidden, mail/email_config.php, mail/images/feefo-twitter-icon.jpg, mail/images/email-logo.png, mail/images/feefo-linkedin-icon.jpg, mail/images/feefo-awards.png, mail/images/feefo-facebook-icon.jpg, mail/images/spacer.png, mail/images/feefo-email-logo.png, mail/images, mail/roi_form_submission.php

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software

# Server API

# PHP Version

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 2M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.