php - SugarCRM Request Timeout

682

I'm using SugarCRM to fetch records (more than 1000+ records) in Cases. I already set up config_override.php:

$sugar_config['max_record_fetch_size']= 1200;

php.ini:

max_execution_time = 3600;

I still get the timeout error. What else do i need to change?

774

Answer

Solution:

set max execution time to 0 so that it will not through timeout error...but you need to optimize your code or query to get records.

max_execution_time(0);
254

Answer

Solution:

In SugarCRM 7.6, theres a new configuration to override api.timeout

$sugar_config['api']['timeout'] = 180;  //default 3 minutes

so i need to override the time to a higher value for me to avoid the Request timeout error :-)

People are also looking for solutions to the problem: sql server - PHP PDO could'nt not find driver

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.