close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email failing to send due to MySQL errors

Thread began 3/24/2013 7:18 pm by mrs | Last modified 3/25/2013 11:15 am by Jason Byrnes | 320 views | 2 replies |

mrs

Email failing to send due to MySQL errors

I have created a second double opt in system for a new website, and I am having issues with it gooing through the registration properly. The form gets submitted to the DB, but the email triggered from the registration page creates errors. I created the email with dynamic info for the from, cc, bcc and subject being served up from the DB, but I am getting these errors:

Warning: mysql_select_db() expects parameter 2 to be resource, null given in wbesite/webassist/email/templates/Blank.php on line 36

Warning: mysql_query() expects parameter 2 to be resource, null given in website/webassist/email/templates/Blank.php on line 38

Lines 36 and 38 refer to the from email details which are served up by the DB, and the info there is correct. I assume it is possible to have email details such as the from, cc, bcc, subject etc to be served up from a DB because the Create Email wizard allows for dynamic content. The recordsets I've used are very specific and return results as expected when tested in the recordset wizard.

I've attached a zip of the registration page, the Blank.php for you to see, and the live (test) pages can be seen at:

reg/

One day, I will get this double opt in thing to work without any issues... I am determined to!

Sign in to reply to this post

mrs

I just wanted to add that I have looked up the error and found that it relates to not having correct database connection details, but I have checked and they are correct.

Just thought I'd let you know.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...