When I import accounts, after importing 100, I get the error βAn internal server error occurred. Please try again later.β If I try to import the same file again 100 more are imported and I get the same error. Not seeing anything in the log specific to this.
Hi there,
Have you checked the sugarcrm.log for errors? Did you correctly map the CSV fields to the fields in the CRM? Your server may be restricting the import due to the memory limit, I would suggest you look at your php.ini and find what your memory limit is set to.
Thanks,
Will.
I believe I have correctly mapped the CSV fields into the CRM. I am seeing alot of errors in the log. Memory is not an issue.
Here is a start of the errors on the import. Not sure what I am seeing or should be looking for:
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-0 cannot be touched
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/dupes_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/dupesdisplay_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/errorrecords_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/errorrecordsonly_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:24 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-1 cannot be touched
12/02/14 15:08:25 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-2 cannot be touched
12/02/14 15:08:25 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-3 cannot be touched
12/02/14 15:08:25 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-4 cannot be touched
12/02/14 15:08:25 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-5 cannot be touched
12/02/14 15:08:25 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-6 cannot be touched
12/02/14 15:08:26 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-7 cannot be touched
12/02/14 15:08:26 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-8 cannot be touched
12/02/14 15:08:26 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://IMPORT_Account_6f4ac147-26bf-f639-3141-542d78829ec3-9 cannot be touched
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: stat(): stat failed for upload/import/error_6f4ac147-26bf-f639-3141-542d78829ec3.csv
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/error_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:54 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: stat(): stat failed for upload/import/status_6f4ac147-26bf-f639-3141-542d78829ec3.csv
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][ERROR] File upload://import/status_6f4ac147-26bf-f639-3141-542d78829ec3.csv cannot be touched
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:08:56 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:08:58 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:00 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:02 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:04 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:05 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:06 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:06 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:07 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:07 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:07 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:07 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:08 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:09 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:09 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:10 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:10 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:10 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:10 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:11 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LogicHook::initialize() should not be called statically
12/02/14 15:09:11 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method Tracker::logPage() should not be called statically
12/02/14 15:09:12 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
12/02/14 15:09:12 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method LanguageManager::loadModuleLanguage() should not be called statically
12/02/14 15:09:12 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Declaration of SugarFieldEnum::displayFromFunc() should be compatible with SugarFieldBase::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
12/02/14 15:09:12 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method SecurityGroup::inherit() should not be called statically, assuming $this from incompatible context
12/02/14 15:09:12 [4080][6f4ac147-26bf-f639-3141-542d78829ec3][FATAL] Caught error: Non-static method SecurityGroup::assign_default_groups() should not be called statically, assuming $this from incompatible context
Hi there,
I think itβs a security groups issue. Are you assigning the import data to any user while importing? If so please check if there is no security group clash.
Iβm not assigning them to anyone when they are being imported. Is it possible that its a lack of information? The only information we are importing is company name and account number in most cases. IT does however appear to be assigning them to me by default.
Additionally, I do not have specific access roles setup. My ID is marked as an administrator. Does import permission need to be assigned specifically?.
Hi there,
What error displays on-screen when importing if any? Do any records import? Data should import as long as required fields are set.
Thanks,
Will.
Getting error: An internal server error occurred. Please try again later.
Always imports 100 records then gives the error.
I have the same issue, although it imports 113 records. Any suggestions? AOD is disabled btw