SOLVED: Custom fields don't save any data
Hello,
I am running SugarCRM 5.0b on debian etch. Im using PHP Version 5.2.0-8+etch10, Apache 2.2.3.
My problem is the following:
Admin -> studio -> account -> field -> add field
Create a new field, text field, i called it ID and checked "audit".
Go to account, edit an existing account, fill the ID field, save.
The ID field is empty.
View change log returns:
Field it old = (null) new hello changed by admin (date).
if I change it again is see:
Field it old = (null) new hello changed by admin (date).
Field it old = (null) new hello2 changed by admin (date).
Other non-custom fields are properly saved.
The problem is present with new account too.
I've been reading around for hours, I can't find a way to solve the problem.
beanfiles.html reports this (orange):
NO! --- DynamicField is not an index in $beanFiles
NO! --- CustomFields is not an index in $beanFiles
NO! --- Audit is not an index in $beanFiles
I don't know if it's pertinent.
I've seen here that it can be an issue with strict mode in MySQL. I'm no MySQL guru but i don't seem to use strict mode on my installation (debian default).
Code:
mysql> SELECT @@global.sql_mode;
+-------------------+
| @@global.sql_mode |
+-------------------+
| |
+-------------------+
1 row in set (0.00 sec)
mysql> SELECT @@session.sql_mode;
+--------------------+
| @@session.sql_mode |
+--------------------+
| |
+--------------------+
1 row in set (0.00 sec)
Any help would be really appreciated,
ER
Last edited by eringuet; 2008-04-16 at 07:23 PM.
Sugarcrm opensource 5.0c
Debian etch
Apache 2.2.3
PHP 5.2.0-8+etch10
Bookmarks