Whenever I try to configure a field in a content type, it will not save any changes beacause it returns something along the lines of:
The default value PHP code returned an incorrect value
Expected format :
array(
0 => array('value' => value for value),
// You'll usually want to stop here. Provide more values
// if you want your 'default value' to be multi-valued :
1 => array('value' => value for value),
2 => ...
);
Returned value :
The 0 => and 1 => change depending on the field type. The error above is from a simple text box.
I am using Drupal 5.7 on Apache 2.2.6 with PHP 5.2.5.
Note: I'm running this on my Windows box w/ XAMPP. I plan to upload it to a remote host when I complete the site.
Thanks for your help.
Comments
Comment #1
avolve commentedi just received a similar error when creating a CCK Link field type (had already defined an imagefield). I have not had a problem before.
This is on a OS X 10.4.11/MAMP Drupal 5.7 install.
Comment #2
avolve commentedHaving removed CCK Link module, i still get this error. When adding a field, the help text is lost. When editing a field, the error is given on save as well (irrespective if changes are made).
Given replication, i have changed to a bug report
Comment #3
prattmic commentedI found a workaround: Use Internet Explorer.
Comment #4
avolve commentedIt would be interesting to locate the source of the problem in other browsers.
[and whilst it may work in IE, what about Mac users]
Comment #5
karens commentedThe D5 version is no longer being supported. Sorry.