Dolibarr ERP & CRM » Bugs » bug #1584 Database creation timeoutLatest modifications
Answer now
Snapshot Details |
Last Modified On: | 2014-08-28 15:00 | | Submitted by: | Raphaël Doursenaud (rdoursenaud) |
Submitted on: | 2014-08-28 15:00 | |
Summary: | Database creation timeout |
Description: | Since Dolibarr 3.6 there is a very big table llx_accountingaccount that is created at install/upgrade time.
This makes the PHP process sometimes timeout on etape1.php making the installer unusable. |
Step to reproduce bug: | Make a new Dolibarr install with a fairly slow (or busy) MySQL server. |
Detected in version: | 3.6.0 | | Category: | Core Problem |
Severity: | 9 - Blocking - Critical | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Need more info | | Assigned to: | None |
Resolution: | None | |
Comments- Laurent Destailleur 2014-10-27 02:01
- Are you speaking on step1 or step2 (loading of files is done into page etape2).
Currently this is code to manage this:
// Cette page peut etre longue. On augmente le delai autorise.
// Ne fonctionne que si on est pas en safe_mode.
$err=error_reporting();
error_reporting(0); // Disable all errors
//error_reporting(E_ALL);
@set_time_limit(900); // Need 900 on some OS like Windows 7/64
error_reporting($err);
But it works only if set_time_limit is allowed by php setup.
|
|
Currently this is code to manage this:
// Cette page peut etre longue. On augmente le delai autorise.
// Ne fonctionne que si on est pas en safe_mode.
$err=error_reporting();
error_reporting(0); // Disable all errors
//error_reporting(E_ALL);
@set_time_limit(900); // Need 900 on some OS like Windows 7/64
error_reporting($err);
But it works only if set_time_limit is allowed by php setup.
Open→ Need more info