We are trying out SugarCRM and the main user gets this error many times a day, but it's random. It can happen 2-3 times in a row and then not for hours. It always happens when trying to delete the message from the Detail view.
I don't have my head around all the SugarCRM code so I don't know what chain of events causes this problem. I have turned on the debug logging as well as having added a couple of error_log statements to index.php.
Based on the info from both of those it appears that module is not set to i by the Delete button. It looks like becomes i via a redirect through the Delete action because return_module is i.
Here is some data from the DEBUG output. I've replaced session values with PRIVATEDATA. They looked fine. Notice how many fields are set to i. Seems like something more serious than a simple/single form variable:
Code:
Wed Dec 13 16:58:32 2006,840 [19283] DEBUG SugarCRM - array (
'inbound_email_id' => 'PRIVATEDATA',
'type' => 'i',
'email_name' => 'RE: Could you use 250,000 Frequent Flyer Miles?',
'to_email_addrs' => 'sweepstakes@email.travelzoo.com',
'module' => 'Emails',
'record' => 'PRIVATEDATA',
'isDuplicate' => 'false',
'action' => 'Delete',
'contact_id' => '',
'user_id' => '',
'return_module' => 'i',
'return_action' => 'i',
'return_id' => 'i',
'assigned_user_id' => 'i',
'parent_id' => '',
'parent_type' => '',
'parent_name' => '',
'button' => ' Delete ',
'ck_login_theme_20' => 'Sugar',
'ck_login_id_20' => 'PRIVATEDATA',
'showLeftCol' => 'true',
'ck_login_language_20' => 'en_us',
'Emails_divs' => 'project_v=#contacts_v=#',
'PHPSESSID' => 'PRIVATEDATA',
)
Then on the redirect from deleting we get:
Code:
Wed Dec 13 16:58:33 2006,072 [19283] DEBUG SugarCRM - array (
'module' => 'i',
'action' => 'i',
'record' => 'i',
'type' => 'i',
'assigned_user_id' => 'i',
'ck_login_theme_20' => 'Sugar',
'ck_login_id_20' => 'PRIVATEDATA',
'showLeftCol' => 'true',
'ck_login_language_20' => 'en_us',
'Emails_divs' => 'project_v=#contacts_v=#',
'PHPSESSID' => 'PRIVATEDATA',
)
The PHPSESSID values were the same between both calls. So was ck_login_id_20. There was only one person using the SugarCRM system when this happened.
I would be happy to put a few error_log lines in wherever might be messing with all those values to help solve this problem. The previous log entry with DEBUG SugarCRM - array all looked fine and of course didn't get the modules/i problem.
Bookmarks