The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/showthread.php 26 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/showthread.php 137 forum_permissions
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import option list from file
#1
I've read http://docs.formtools.org/userdoc2_1/ind...og_editing

But I'm still baffled at how I would take a file that has information in it and load it into an option list.

The list would have something similar to this stock list:

AA ALCOA INC
AADAX AIM GROWTH ALLOC FD A
AAPL APPLE INC
...

I've gotten to where it's asking my for a file, I can browse to my file, and can submit it... but I can't get it added. What am I missing?
Reply
#2
(Aug 5th, 2015, 8:26 AM)smoring Wrote: I've read http://docs.formtools.org/userdoc2_1/ind...og_editing

But I'm still baffled at how I would take a file that has information in it and load it into an option list.

The list would have something similar to this stock list:

AA ALCOA INC
AADAX AIM GROWTH ALLOC FD A
AAPL APPLE INC
...

I've gotten to where it's asking my for a file, I can browse to my file, and can submit it... but I can't get it added. What am I missing?

Still wondering how to do this, the list has more than 900 entries, it would suck to have to copy/paste each one manually.

Not knowing how the product works under the covers leads me to wonder where the information is stored when modifying it via the formbuilder. I've looked at the mysql database and the tables and don't see it there. Is the list box entry stored in the form itself where it's published? And, if I update it there, will formbuilder recognize the addition of the entries?

-Steve
Reply
#3
I was able to get the import feature to work by creating a bogus webpage with the options as such:

<option value=AYMAX >AYMAX AMERN CENTY HI YLD MUN A municipal bond</option>
<option value=AZN >AZN ASTRAZENECA PLC health</option>
<option value=BAC >BAC BANK OF AMERICA CORP financial services</option>
<option value=BAM >BAM BROOKFIELD ASSET MGMNT A real estate</option>
<option value=BCE >BCE BCE INC NEW communications</option>
<option value=BCX >BCX BLACKROCK RES&CMDTYS STR commodity</option>

...

But I've observed that the maximum number of entries that can be imported appears to be 200. If I create a webpage with options that exceed 200, it stops with the 200th entry on the import, and I cannot seem to be able to append more items through importation. I have 967 stock tickers to place in the listbox.

Thoughts?
Reply
#4
(Aug 9th, 2015, 8:28 AM)smoring Wrote: I was able to get the import feature to work by creating a bogus webpage with the options as such:

<option value=AYMAX >AYMAX AMERN CENTY HI YLD MUN A municipal bond</option>
<option value=AZN >AZN ASTRAZENECA PLC health</option>
<option value=BAC >BAC BANK OF AMERICA CORP financial services</option>
<option value=BAM >BAM BROOKFIELD ASSET MGMNT A real estate</option>
<option value=BCE >BCE BCE INC NEW communications</option>
<option value=BCX >BCX BLACKROCK RES&CMDTYS STR commodity</option>

...

But I've observed that the maximum number of entries that can be imported appears to be 200. If I create a webpage with options that exceed 200, it stops with the 200th entry on the import, and I cannot seem to be able to append more items through importation. I have 967 stock tickers to place in the listbox.

Thoughts?

Correction, it lets me import all 967, when I click update... it returns to the screen where I've imported the list and the entries are all gone. If I try to import 260+, it will only save 200 when I click update.
Reply
#5
(Aug 9th, 2015, 11:00 AM)smoring Wrote:
(Aug 9th, 2015, 8:28 AM)smoring Wrote: I was able to get the import feature to work by creating a bogus webpage with the options as such:

<option value=AYMAX >AYMAX AMERN CENTY HI YLD MUN A municipal bond</option>
<option value=AZN >AZN ASTRAZENECA PLC health</option>
<option value=BAC >BAC BANK OF AMERICA CORP financial services</option>
<option value=BAM >BAM BROOKFIELD ASSET MGMNT A real estate</option>
<option value=BCE >BCE BCE INC NEW communications</option>
<option value=BCX >BCX BLACKROCK RES&CMDTYS STR commodity</option>

...

But I've observed that the maximum number of entries that can be imported appears to be 200. If I create a webpage with options that exceed 200, it stops with the 200th entry on the import, and I cannot seem to be able to append more items through importation. I have 967 stock tickers to place in the listbox.

Thoughts?

Correction, it lets me import all 967, when I click update... it returns to the screen where I've imported the list and the entries are all gone. If I try to import 260+, it will only save 200 when I click update.

I'm stuck, if I can't import more than 200 options... I'm done and have to move along. Help?
Reply
#6
(Aug 9th, 2015, 4:18 PM)smoring Wrote:
(Aug 9th, 2015, 11:00 AM)smoring Wrote:
(Aug 9th, 2015, 8:28 AM)smoring Wrote: I was able to get the import feature to work by creating a bogus webpage with the options as such:

<option value=AYMAX >AYMAX AMERN CENTY HI YLD MUN A municipal bond</option>
<option value=AZN >AZN ASTRAZENECA PLC health</option>
<option value=BAC >BAC BANK OF AMERICA CORP financial services</option>
<option value=BAM >BAM BROOKFIELD ASSET MGMNT A real estate</option>
<option value=BCE >BCE BCE INC NEW communications</option>
<option value=BCX >BCX BLACKROCK RES&CMDTYS STR commodity</option>

...

But I've observed that the maximum number of entries that can be imported appears to be 200. If I create a webpage with options that exceed 200, it stops with the 200th entry on the import, and I cannot seem to be able to append more items through importation. I have 967 stock tickers to place in the listbox.

Thoughts?

Correction, it lets me import all 967, when I click update... it returns to the screen where I've imported the list and the entries are all gone. If I try to import 260+, it will only save 200 when I click update.

I'm stuck, if I can't import more than 200 options... I'm done and have to move along. Help?


Check your Apache Error log. You might be dealing with a PHP limit. You will need to make an adjustment in PHP.ini if you are submitting more than a total of a 1000 fields at a time. Don't forget to restart the server if you make this adjustment.
Reply
#7
(Aug 14th, 2015, 2:12 PM)Tim Clark Wrote:
(Aug 9th, 2015, 4:18 PM)smoring Wrote:
(Aug 9th, 2015, 11:00 AM)smoring Wrote:
(Aug 9th, 2015, 8:28 AM)smoring Wrote: I was able to get the import feature to work by creating a bogus webpage with the options as such:

<option value=AYMAX >AYMAX AMERN CENTY HI YLD MUN A municipal bond</option>
<option value=AZN >AZN ASTRAZENECA PLC health</option>
<option value=BAC >BAC BANK OF AMERICA CORP financial services</option>
<option value=BAM >BAM BROOKFIELD ASSET MGMNT A real estate</option>
<option value=BCE >BCE BCE INC NEW communications</option>
<option value=BCX >BCX BLACKROCK RES&CMDTYS STR commodity</option>

...

But I've observed that the maximum number of entries that can be imported appears to be 200. If I create a webpage with options that exceed 200, it stops with the 200th entry on the import, and I cannot seem to be able to append more items through importation. I have 967 stock tickers to place in the listbox.

Thoughts?

Correction, it lets me import all 967, when I click update... it returns to the screen where I've imported the list and the entries are all gone. If I try to import 260+, it will only save 200 when I click update.

I'm stuck, if I can't import more than 200 options... I'm done and have to move along. Help?


Check your Apache Error log. You might be dealing with a PHP limit. You will need to make an adjustment in PHP.ini if you are submitting more than a total of a 1000 fields at a time. Don't forget to restart the server if you make this adjustment.

BINGO!

[Mon Aug 17 09:12:33.897464 2015] [php5:error] [pid 1932] [client 192.168.5.244:52882] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: http://formtool.cpmandassociates.com/for...list_id=10
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)