[Vtigercrm-developers] Information about vtiger_fields and warnings after dropping some rows.
Christian Castelli
christian.castelli at trackset.com
Thu Jan 29 13:56:38 PST 2009
Hi vTiger developers,
my company sells web services, so there are a lot of field in many
modules (such as Leads, Quotes, Accounts and Invoice) that we don't need
(and won't need).
Instead of modifying Smarty templates (which would have taken too much
time), I considered to delete these fields directly in the DB, from
vtiger_fields.
It seems to work all fine but:
1) I've noticed that every time I deleted some rows from vtiger_field,
the system log me out. Then I logged in again and when I deleted some
rows it logged me out again. Is it normal?
2) After these mods, I receive these warning (these printings come from
Xdebug) only in Home Page and Invoice Module ListView.
Warning: Invalid argument supplied for foreach() in
/var/www/work/vtiger/include/utils/ListViewUtils.php on line 1169
Call Stack
# Time Memory Function Location
1 0.0031 253276 {main}( ) ../index.php:0
2 0.8356 13673132 include(
'/var/www/work/vtiger/modules/Home/index.php' ) ../index.php:577
3 1.8453 15020680 getTopInvoice( ) ../index.php:135
4 1.9300 15163560 getListViewEntries( )
../ListTopInvoice.php:115
5 1.9666 15196216 getValue( ) ../ListViewUtils.php:889
Have I missed something? It's not so important to correct these warnings
but if I can, I'll do.
Thanks for attention,
Greetings.
More information about the vtigercrm-developers
mailing list