RichardHolland Posted November 5, 2017 Share Posted November 5, 2017 Hi I noticed I could not get the default contact form to work properly (error occurred while sending the message) using v.1.6.1.17. When I replaced the ContactController.php file with the 1.6.1.15 version it worked ok. Comparing the code it seems to be a problem with the later version using a ContactKey parameter (see code list). As I have it all working using PHP mail it is not urgent but worth flagging in case others are struggling. Cheers Link to comment Share on other sites More sharing options...
RichardHolland Posted November 5, 2017 Author Share Posted November 5, 2017 I hope it is not a PHP 5 v 7 problem? Link to comment Share on other sites More sharing options...
bellini13 Posted November 7, 2017 Share Posted November 7, 2017 have you tried to debug the new controller and see if the contact key value exists in the cookie? I'm not entirely sure what the intent of the contact key or url are, but the first step in solving issues would be to determine what those values are when things are failing. also, is this a fresh install of 1.6.1.17, or did you upgrade your store? if you did an upgrade, are you using the default theme from 1.6.1.17 or a custom theme? Or the 1.6.1.15 theme (which might need to be updated) Link to comment Share on other sites More sharing options...
RichardHolland Posted November 8, 2017 Author Share Posted November 8, 2017 Hi Bellini13 No time to really debug via cookie inspection especially if the 1.6.1.15 version works! I might have had to work harder if I could not have got it to work but I am naturally lazy - one thing to do if time permits out of interest really. I am with you in regards to why this contact key thing was added and something which I had been told why I might have tried to get it to work. This is a fresh install (due to the 1.6.1.15 being hacked). I am also using the Alysum v4.6 theme. I think the old store was updated to 1.6.1.15 from some very early versions. I also noticed the Alysum pk_vertflexmenu module had not been upgraded and that version had a known vulnerability. I also spotted some malicious code in it's upload folder :-( Cheers Richard Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now