There was an error processing your request, please try again at a later time

There was an error processing your request, please try again at a later time.
after installing 7.11.12 the home screens have this error

Hi,
Do you have access to files?
Are you able to make little changes in .php files?

yes, i can make chages

Open up index.php , put up these 2 lines when acutal code starts

ini_set(ā€˜display_errorsā€™,1);
error_reporting(E_ALL);

now open up config_override.php

at the end , put this line

$sugar_config[ā€˜disableAjaxUIā€™] =true;

save both files and then refresh page.

The error went away but the home screens are blank.

Now you can do a quick repair from admin, that may help in investigating and fixing issue.
Do you have access to server logs?

I am also facing the same problem.

However, in most of the module ā€œHomeā€ page I am getting the below mentioned error

ā€œThere was an error processing your request, please try again at a later time.ā€

Sat Mar 14 20:27:52 2020 [30120][eef414a8-7cae-6bc0-cb3c-58b0751658d2][FATAL] Exception handling in /home/mydomain/public_html/SuiteCRM/include/MVC/Controller/SugarController.php:400

Sat Mar 14 20:27:52 2020 [30120][eef414a8-7cae-6bc0-cb3c-58b0751658d2][FATAL] Exception in Controller: Failed to parse Host URL ā€˜http://ā€™

Sat Mar 14 20:27:52 2020 [30120][eef414a8-7cae-6bc0-cb3c-58b0751658d2][FATAL] backtrace:

#0 /home/mydomain/public_html/SuiteCRM/lib/Search/ElasticSearch/ElasticSearchClientBuilder.php(177): SuiteCRM\Search\ElasticSearch\ElasticSearchClientBuilder::sanitizeHost(Array)

#1 /home/mydomain/public_html/SuiteCRM/lib/Search/ElasticSearch/ElasticSearchClientBuilder.php(63): SuiteCRM\Search\ElasticSearch\ElasticSearchClientBuilder::loadFromSugarConfig()

#2 /home/mydomain/public_html/SuiteCRM/lib/Search/ElasticSearch/ElasticSearchIndexer.php(87): SuiteCRM\Search\ElasticSearch\ElasticSearchClientBuilder::getClient()

#3 /home/mydomain/public_html/SuiteCRM/lib/Search/ElasticSearch/ElasticSearchIndexer.php(583): SuiteCRM\Search\ElasticSearch\ElasticSearchIndexer->__construct()

#4 /home/mydomain/public_html/SuiteCRM/modules/Administration/repairDatabase.php(179): SuiteCRM\Search\ElasticSearch\ElasticSearchIndexer::repairElasticsearchIndex()

#5 /home/mydomain/public_html/SuiteCRM/modules/Administration/QuickRepairAndRebuild.php(142): include_once(ā€™/home/stopdelivā€¦ā€™)

#6 /home/mydomain/public_html/SuiteCRM/modules/Administration/QuickRepairAndRebuild.php(124): RepairAndClear->repairDatabase()

#7 /home/mydomain/public_html/SuiteCRM/modules/Administration/views/view.repair.php(55): RepairAndClear->repairAndClearAll(Array, Array, false, true)

#8 /home/mydomain/public_html/SuiteCRM/include/MVC/View/SugarView.php(226): ViewRepair->display()

#9 /home/mydomain/public_html/SuiteCRM/include/MVC/Controller/SugarController.php(435): SugarView->process()

#10 /home/mydomain/public_html/SuiteCRM/include/MVC/Controller/SugarController.php(375): SugarController->processView()

#11 /home/mydomain/public_html/SuiteCRM/include/MVC/SugarApplication.php(113): SugarController->execute()

#12 /home/mydomain/public_html/SuiteCRM/index.php(53): SugarApplication->execute()

#13 {main}

Double-check in your config.php

  • host_name
  • site_url

everything looks fine in the config.php

What about the Elastic search settings? Is the URL correctly configured there?

Please see this reply

It helped for me. Thanks

some intro of my issue:

"Just installed SuiteCRM-7.11.15 with own language (no any updates) and start trying to set up notifications of taskā€™s changes. In some moment I got this pop up screen in tasks page (for administrator user only):
There was an error processing your request, please try again at a later time.
If this error persists, please have your administrator disable Ajax for this module"

Now itā€™s seems fine. Thanks!

itā€™s become bad again. =(
Now I got ā€œbad gatewayā€ message on tasks page til i remove this changes. And then i got first issue again.

my index.php:

ini_set(ā€˜display_errorsā€™,1);
error_reporting(E_ALL);


if (!defined('sugarEntry')) {
    define('sugarEntry', true);
}

include 'include/MVC/preDispatch.php';
$startTime = microtime(true);
require_once 'include/entryPoint.php';
ob_start();
require_once 'include/MVC/SugarApplication.php';
$app = new SugarApplication();
$app->startSession();
$app->execute();

config_override.php:

$sugar_config['disable_persistent_connections'] = false;
$sugar_config['default_export_charset'] = 'UTF-8';
$sugar_config['default_language'] = 'ru_ru';
$sugar_config['email_allow_send_as_user'] = true;
$sugar_config['email_xss'] = 'YToxMzp7czo2OiJhcHBsZXQiO3M6NjoiYXBwbGV0IjtzOjQ6I$
$sugar_config['default_date_format'] = 'd.m.Y';
$sugar_config['passwordsetting']['SystemGeneratedPasswordON'] = '0';
$sugar_config['passwordsetting']['forgotpasswordON'] = '1';
$sugar_config['passwordsetting']['oneupper'] = '0';
$sugar_config['passwordsetting']['onelower'] = '0';
$sugar_config['passwordsetting']['onenumber'] = '0';
$sugar_config['passwordsetting']['onespecial'] = '0';
$sugar_config['passwordsetting']['minpwdlength'] = '';
$sugar_config['passwordsetting']['systexpirationtime'] = '30';
$sugar_config['SAML_loginurl'] = '';
$sugar_config['SAML_logouturl'] = '';
$sugar_config['SAML_X509Cert'] = '';
$sugar_config['authenticationClass'] = '';
$sugar_config['admin_export_only'] = true;
$sugar_config['default_module_favicon'] = false;
$sugar_config['dashlet_auto_refresh_min'] = '30';
$sugar_config['stack_trace_errors'] = false;
$sugar_config['securitysuite_inbound_email'] = true;
$sugar_config['addAjaxBannedModules'][0] = 'SecurityGroups';
$sugar_config['disableAjaxUI'] = true;