Suddenly, my site stopped accepting new CCK values
Existing values are retained, but new values are ignored.
I can add values directly in the database and getting them after flushing the cash.

When I hit the "add another item" button", there is a jsquery error:

Uncaught TypeError: undefined is not a function edit:1
onload js_db2150d589d7140106ed3271d97a0115_30.js:12
(anonymous function) js_db2150d589d7140106ed3271d97a0115_30.js:12
o.fn.o.domManip js_db2150d589d7140106ed3271d97a0115_30.js:12
o.fn.o.append js_db2150d589d7140106ed3271d97a0115_30.js:12
o.fn.(anonymous function) js_5a798d7c1411b378a2cd5c327ea58ccb_0.js:33
r

However, the fieldset is correctly added and I can fill up the new value.

What can be wrong?

Thanks for help

Comments

jvieille’s picture

Unlimited fields do not work, setting a maximum number works

I suspect a php (5.3.10) issue with if ($field['multiple'] >= 1 at line 715 in content.module that might return false if unlimited

jvieille’s picture

This is not a php problem. $field['multiple'] gives numerical value of 1 for unlimited.
The unlimited option allowing to add fieldsets at will for more values does not returun anything.
I adjusted the maximum numnber of values from 10 to 50 to accomodate my needs and avoid to use th non working unlimited option.

Any idea?

Thanks