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

mysql errors in insert behavior

Thread began 5/02/2017 10:01 pm by danielsebas | Last modified 5/04/2017 1:53 pm by Ray Borduin | 208 views | 6 replies |

danielsebas

mysql errors in insert behavior

Hi, I had to downgrade a page from msqli to mysql because I need the DataAssist search and the security Assist sha1 option, but when I apply the insert behaviors I got mysql errors. I already downgrade to php 5.4 so mysql connections won't be deprecated. I'm attaching the page I made and a screen shot of the errors I'm getting. Please help.
Regards,

Daniel

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

Ray BorduinWebAssist

This is a connection error. It implies your database connection has the wrong server, username, or password specified.

Sign in to reply to this post

danielsebas

Thank you Ray for your quick reply, I don't understand how can I have connection errors because I can log in to get to that page.
I get those errors when I press the insert button and all the information is loaded from the database.

Sign in to reply to this post

Ray BorduinWebAssist

Are you logging in with the mysqli connection or the mysql connection. Open the two files and make sure they are the same.

Sign in to reply to this post

danielsebas

I'm loggin in with Msql security assist.I get those errors only when I press the insert button. All the data is loaded with a MySQL recordset

Sign in to reply to this post

Ray BorduinWebAssist

I see now... you named your recordset the same thing as your connection. The recordset is overwriting the connection. You need to rename the recordset manually at this point because a find/replace will update both.

Replace: inventario

with some other name on lines 58-62 and then again on lines 167 and below. Don't replace the other instances since they are referring to the connection not the recordset.

Sign in to reply to this post

danielsebas

Thank you Ray, now it is working I will keep that in mind so I won't make this errors again.
Regards,

Daniel

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