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

mysqli update not working properly

Thread began 4/26/2017 2:50 pm by Ashok | Last modified 5/02/2017 5:42 pm by Ray Borduin | 207 views | 14 replies |

Ashok

mysqli update not working properly

Hello,

I have this page http://бимпра.рф/admin/updatetour.php?id=1 with multiple text area. Now if i fill proper data (not just ggggggg) in many fields, nothing is saved in database. Trying to save data in inclusions and exclusions textarea but it is not saved in db.

Sign in to reply to this post

Ray BorduinWebAssist

I'd need to see the page to see why it might not work.

Sign in to reply to this post

Ashok

do you need ftp as well?

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the page instead of copy/paste... I want to open it with Dreamweaver.

Try adding this after the $UpdateQuery->->execute() on line 191:

php:
var_dump($UpdateQuery);

die();



That could give more information about why it is failing. There are no obvious problems I can see.

Sign in to reply to this post

Ashok

I have added that line.

File is attached.

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

Ray BorduinWebAssist

Try changing the <button> into <input type="submit" instead. Does that fix it?

Sign in to reply to this post

Ashok

That didn't helped.

I think it is related to mysql error #1118. Didn't found any solution yet.

DB dump is attached. Do you get mysql error as well?

Attached Files
ivpuhxpn_bimpranewru.sql
Sign in to reply to this post

Ray BorduinWebAssist

Do you see the dump on the page after adding the code I suggested?

Can I get FTP access and a URL to reproduce?

Sign in to reply to this post

Ashok

Yes, I can see the dump.
FTP attached.

Sign in to reply to this post

Ray BorduinWebAssist

OK I see the error. It is a row size error in mysql as you suggested earlier, error: 1118

Here is a thread that appears to have several suggestions for how it might be fixed.

http://stackoverflow.com/questions/22637733/mysql-error-code-1118-row-size-too-large-8126-changing-some-columns-to-te

Your page is fine, it is going to mean making changes to the database or php.ini file not the update code itself.

Sign in to reply to this post
loading

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