cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Bug: Max charaters in field name
June 4, 2007
9:47 pm
Andreo
Guest

Hi,

I'm experiencing a bug. I can't send if I have field name with more than 100 characters. 

Some have a workarround solution?

Thanks,

Andre 

June 4, 2007
10:00 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Interesting field name you got there ;)

Provided you have DB Tracking enabled, the error is likely related to the fact that the tracking tables are only setup to store field names up to 100 characters.

You can change the value either in the cforms-global-settings.php:

from:

field_name varchar(100) NOT NULL default '', 

to:

field_name varchar(200) NOT NULL default '', 

and create your tables from scratch, or go into your DB admin tool and alter the MySQL table accordingly. 

 

 

June 4, 2007
10:15 pm
Andreo
Guest

I changed it to 200 but it doesn't work yet. How I create a table from scratch?

June 4, 2007
10:17 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

What I meant was, that you have to delete the cforms tabels (via the admin gui) and re-enable DB Tracking (this will essentially get you started with a set of new tables) – careful, you will loose existing tracking data! 

June 4, 2007
10:21 pm
Andreo
Guest

It's work! Great Laughing

Thank you very much Oliver.

 André

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3761

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5358

Posts: 18739

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)