Posts: 9
Threads: 3
Joined: Aug 2011
Reputation:
0
I need some help! My registration form email confirmation email is not working (using Form Tools v 2.1.2). First, it didn't send the email confirmation which it suppose to, but when I went to send a test email, it came up with this message in the Emails Template option:
Error: Invalid JSON
Error - Failed query in ft_get_account_info: SELECT * FROM ft_accounts WHERE account_id =
It should work, so I have no clue what its doing. Please help, my client has been bugging annoyingly to get this email confirmation to get up—and so far, I'm stumped. But that's an other story.
Any help is appreciated.
Posts: 9
Threads: 3
Joined: Aug 2011
Reputation:
0
So, I've updated the Form Tools from 2.1.2 to 2.1.3 and it's not throwing that error message anymore. And, it seems like the email confirmation are working again.
Although, the test email submissions isn't functional anymore (The place where you can input your email address and obtain test email from either random submissions or a selected submission)—which is fine, as long as the real email confirmation are sent out normally.
We'll see how it works over the next few days.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Hey justincase,
Yeah - I made a totally boneheaded mistake in 2.1.3, which has caused problems with the javascript on the Email Templates page. The email testing functionality won't work. I've finished 2.1.4 locally and I'm just QAing it today. It should be released tomorrow or Sunday (possibly even this evening, if no problems arise). That will contain a fix for that.
Apologies!
- Ben
Posts: 9
Threads: 3
Joined: Aug 2011
Reputation:
0
No worries, Ben. I thought something went wrong.
I'm glad it's going to be fixed on the next update. Just let me know when it becomes available.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Heya,
In case you didn't know, it's now available! When you upgrade, make sure you upgrade all components that need it. I've done a lot of minor compatibility updates to the modules recently.
All the best -
Ben
Posts: 36
Threads: 12
Joined: Mar 2009
Reputation:
0
I am having this same error. I have updated everything to 2.1.8. I am getting the following error:
Error: Invalid JSON:
Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'There was a problem reading line 1 of an SMTP response.
This happens when I try to send a test email, but I am still able to display the test email. Any ideas?
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Hi sogreen,
Did you empty your browser cache? It may well have cached the old JS file. Worth confirming, at least. Or, alternatively, open it up in another browser.
What browser were you using, btw?
Ben
Posts: 36
Threads: 12
Joined: Mar 2009
Reputation:
0
(Nov 13th, 2011, 11:29 AM)Ben Wrote: Hi sogreen,
Did you empty your browser cache? It may well have cached the old JS file. Worth confirming, at least. Or, alternatively, open it up in another browser.
What browser were you using, btw?
Ben
Yes, My browser cache was emptied... It automatically empties when my browser closes aswell.
I am using Firefox 7.0.1.
None of my emails that worked last week work now (after the last update I did)
*******************
Here is the full error message:
Error: Invalid JSON:
Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'There was a problem reading line 1 of an SMTP response. The response so far was:<br />[]. It appears the connection has died without saying goodbye to us! Too many emails in one go perhaps? (fsockopen: #0) ' in ~/modules/swift_mailer/php5/Swift/Connection/SMTP.php:250 Stack trace: #0 ~modules/swift_mailer/php5/Swift.php(306): Swift_Connection_SMTP->read() #1 ~/modules/swift_mailer/php5/Swift.php(217): Swift->command('', 220) #2 ~modules/swift_mailer/php5/Swift.php(101): Swift->connect() #3 ~/modules/swift_mailer/library.php(196): Swift->__construct(Object(Swift_Connection_SMTP)) #4 ~/global/code/emails.php(271): swift_send_email(Array) #5 ~/global/code/actions.php(186): ft_send_test_email(Array) #6 {main} thrown in ~/modules/swift_mailer/php5/Swift/Connection/SMTP.php on line 250.
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Hi sogreen,
I'm not totally sure this is a Form Tools issue, or one with the connection to your SMTP site. But if you'd like, feel free to email me at ben.keen@gmail.com with your Form Tools login info and I could try and take a look at it.
- Ben
Posts: 36
Threads: 12
Joined: Mar 2009
Reputation:
0
I was able to resolve the issue... Somehow the swift mailer port had been changed. Once I corrected that the problem was resolved...
However, I have noticed something minor. The email From field seems to only include the email address twice and not the name. On my forms I have set up the email with a first name, last name and email address field but when emails go through they are from [email] <[email]>. It is as though the name fields have been overwritten by the email field. Has anyone else experienced this?
(Nov 14th, 2011, 9:47 AM)Ben Wrote: Hi sogreen,
I'm not totally sure this is a Form Tools issue, or one with the connection to your SMTP site. But if you'd like, feel free to email me at ben.keen@gmail.com with your Form Tools login info and I could try and take a look at it.
- Ben
|