close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

added MySQLi Insert Record combined with Upload Files and it has crashed a completely seperate page? Eh?

Thread began 8/07/2018 10:36 am by Nathon Jones Web Design | Last modified 8/14/2018 9:29 am by Ray Borduin | 1129 views | 5 replies |

Nathon Jones Web Design

added MySQLi Insert Record combined with Upload Files and it has crashed a completely seperate page? Eh?

Created a MySQLi Insert Record form with Image Upload and upon completion it has completely crashed my main admin page which now displays "There is an error in your SQL syntax."

So confused how this is even possible but assume a change has taken place in one of the files in the webassist directory, as a result of adding the form, which is being referenced on the admin page?

Link and user credentials below...

Thank you.
NJ

Sign in to reply to this post

Nathon Jones Web Design

Details as follows...

Sign in to reply to this post

Ray BorduinWebAssist

I've updated your rsobj.php file to turn on debugging. That will show the error message from the database. It appears the issue is a missing column in your database and isn't related to your other page at all. Take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

Thank you Ray. One of the database columns was, indeed, missing.

Upload Files isn't working though? MySQLi Insert Record is inserting the record to database, but the image file name column is blank and the image isn't being uploaded to the directory. A link to the form is detailed below, with credentials above.

Have something changed with the processes in the new DataBridge extension?

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

Usually file uploads don't work for one of three reasons:

1) Wrong enctype property for the form tag
2) Bad permissions for the folder specified in the upload server behavior
3) Wrong bindings in the insert

I'm not sure which page is giving you issues exactly, but chances are one of those three things are wrong. File upload has not changed at all in the BETA.

Sign in to reply to this post
Did this help? Tips are appreciated...

Nathon Jones Web Design

1)

Jeezo….how many times have I missed that?! I honestly think I need to be put down.

Thanks Ray.
NJ

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