dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1584] Database creation timeout


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1584] Database creation timeout
Date: Mon, 27 Oct 2014 02:01:18 +0100

Doliforge
Is this email not displaying correctly?
update email preferences.

Database creation timeout

Latest modifications

2014-10-27 02:01 (Europe/Paris)
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.
Changes:
  • Status: 
OpenNeed more info

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]