close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

form validation

Thread began 11/12/2017 3:13 pm by Nebras | Last modified 11/19/2017 2:44 pm by Nebras | 26 views | 4 replies |

Nebras

form validation

Hello
I create a log-in system using webassist security pages. The system was created but I could not use it at hostgator because the code is old. Then I start changing the code to mysqli. I have problem in the Registration page. The error is in file that is created by webassist, I did not change anything in it. When I create a user I got an error at line 32. When I write an email address that already is in the database I got an error at line 85. The tow error message I get is addressed below. Can you please help with this.
Warning: mysql_select_db() expects parameter 2 to be resource, object given in /home3/kibo/public_html/webassist/form_validations/wavt_scripts_php.php on line 651
Warning: Cannot modify header information - headers already sent by (output started at /home3/kibo/public_html/webassist/form_validations/wavt_scripts_php.php:651) in /home3/kibo/public_html/webassist/mysqli/queryobj.php on line 32

Warning: mysql_select_db() expects parameter 2 to be resource, object given in /home3/kibo/public_html/webassist/form_validations/wavt_scripts_php.php on line 651

Warning: Cannot modify header information - headers already sent by (output started at /home3/kibo/public_html/webassist/form_validations/wavt_scripts_php.php:651) in /home3/kibo/public_html/webassist/form_validations/wavt_scripts_php.php on line 85

An other, question, how much a ticket for inserting multiple record using mysqli cost?

Attached Files
wavt_scripts_php.php
Sign in to reply to this post

Ray BorduinWebAssist

I can help with a multiple update in a singe premier support ticket.

The error you are getting is because you are still doing a "unique email validation" check in the Server Validation server behavior on the page using the old mySQL connection. That has already been updated to allow you to use a MySQLi connection, so you would just have to open and edit that validation and select the MySQLi connection to update the code.

Sign in to reply to this post

Nebras

hi. Thanks for reply Ray.
I did change the connection to mysqli but it did not help. I attached a screenshot of the server behavior and mysqli connections file. BS: the page works fine when I remove unique email validation

Sign in to reply to this post

Ray BorduinWebAssist

Have you downloaded and installed the latest version of DataBridge and uploaded the latest validation include file? That file was updated to fix issues.

If you send me FTP access in the private area and a live url where I can view the problem I can take a look.

Sign in to reply to this post

Nebras

please see the private section

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...