close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Insert won't wok on remote server - Incorrect integer value: '

Thread began 10/11/2016 9:24 pm by mrs | Last modified 10/14/2016 1:20 pm by mrs | 1901 views | 8 replies


With a bit more investigation, I decided to do a show if on the hidden field that is populating b_bookingid and it seems that b_booking id MUST have a value, even if it's '0' rather than be blank when being posted to the DB.

Now, I have other fields that are INT within the DB table that have no interaction from the insert page, however, it would seem the error is now being caused on a DB column (within the same table) called b_totalcustomers! As I say, this isn't being submitted to by this insert, and therefore I can only assume that the DB is causing the problem.

Setting INT to a default of '0' has no effect, it seems I have to actually submit content to every INT column even I am expecting other pages in the CMS to handle these columns for admin/business requirements.

Have you got any idea of how to overcome this?

This is my DB code:

CREATE TABLE `tbl_bookings` (
`b_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`b_bookingid` int(11) DEFAULT '0' COMMENT 'Copy of b_id for extra person',
`b_tripid` int(11) DEFAULT '0' COMMENT 'ID of Tour booked',
`b_title` varchar(25) DEFAULT NULL,
`b_first` varchar(255) DEFAULT NULL,
`b_last` varchar(255) DEFAULT NULL,
`b_dob` varchar(100) DEFAULT NULL,
`b_nationaility` varchar(100) DEFAULT NULL,
`b_gender` varchar(12) DEFAULT NULL,
`b_tel` varchar(20) DEFAULT NULL,
`b_mob` varchar(20) DEFAULT NULL,
`b_email` varchar(100) DEFAULT NULL,
`b_password` varchar(100) DEFAULT NULL,
`b_address` text,
`b_notes` text,
`b_emergencyname` varchar(255) DEFAULT NULL,
`b_emergencytel` varchar(20) DEFAULT NULL,
`b_roomtype` int(1) DEFAULT '0',
`b_promo` varchar(50) DEFAULT NULL,
`b_hire` int(2) DEFAULT '0',
`b_transfer` int(2) DEFAULT '0',
`b_referrer` int(2) DEFAULT '0',
`b_referrerinfo` varchar(150) DEFAULT '0',
`b_totalcustomers` int(2) DEFAULT '0',
`b_deposit` decimal(10,2) DEFAULT NULL,
`b_balance` decimal(10,2) DEFAULT NULL,
`b_bookdate` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`b_id`)

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





Ease of use


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