close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

i have form content repeat data 900 records.. than at insert multiple data it work till item recordcount 333.. when i do item 334 the items will not be inserted at insertMultipleRecords

Thread began 10/20/2021 4:17 am by jpbosboom.60369949 | Last modified 10/26/2021 8:32 am by Ray Borduin | 435 views | 7 replies |

jpbosboom.60369949

i have form content repeat data 900 records.. than at insert multiple data it work till item recordcount 333.. when i do item 334 the items will not be inserted at insertMultipleRecords

i have form content repeat data 900 records.. than at insert multiple data it work till item recordcount 333.. when i do item 334 the items will not be inserted at insertMultipleRecords. I made with <?php echo($wa_startindex); ?> visible the count. so item 333 will be pt into basket / item 334 not.

Sign in to reply to this post

Ray BorduinWebAssist

Your php.ini file has a setting for max form fields and data size. The variable names are:

max_input_vars
post_max_size

one or the other is hitting your upper limit at that many rows. You will have to adjust them to allow for a larger form.

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

jpbosboom.60369949

thanks, have to ask the hosting compagny. Anyway..the multiple insert, you can skip inserting when x is empty. Can it also be made when x is '0'

Sign in to reply to this post

Ray BorduinWebAssist

You would have to edit the code slightly by hand to do that, but it is certainly possible. If you attach your page I can take a look and suggest the line to change.

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

jpbosboom.60369949

i have form content repeat data 900 records.. than at insert multiple data it work till item recordcount 333.. when i do item 334 the items will not be inserted at insertMultipleRecords

Originally Said By: Ray Borduin
  You would have to edit the code slightly by hand to do that, but it is certainly possible. If you attach your page I can take a look and suggest the line to change.  


i found out the following:

i told you at record count it stops inserting.. also if only one item is selected after number 333

Now i worked today at it and found out the folowing.

today i made an extra input field ( 4th) and after that the inserted stopped at 250..

So item 249 is being inserted , item 250 not.

maybe sowhere there is a limit 999/3 = 333 999/4 = 250


I attached txt file with the pagecode

Attached Files
webassist.txt
Sign in to reply to this post

Ray BorduinWebAssist

Create a page with:

<?php
phpinfo();
?>

You will probably see that the max_form_fields setting is set to 500. (250 rows with 2 form fields per row)

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

jpbosboom.60369949

Originally Said By: Ray Borduin
  Create a page with:

<?php
phpinfo();
?>

You will probably see that the max_form_fields setting is set to 500. (250 rows with 2 form fields per row)  


nmax_form_fields setting is set to 500 > no such field

Anyway... recordset is 900 irems total.
Multiple record insert > i only inserting 2 items out of the 900.
As long as item number is below the items number 250, all selected will be inserted.
BUT if i insert items 249 and i.e. 254. only one , the first one is inserted.

Sign in to reply to this post

Ray BorduinWebAssist

The work around is to increase the max form fields number in the php.ini file.

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

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