Problems when importing mass

  • If during an import of several machines all at once, you acquire the following message:

Fatal error: Maximum execution time of 130 seconds exceeded in C:\wamp\www\GLPI-0.80\inc\common.function.php on line 1544

It means that the value of max_execution_time in your php.ini is too weak.
This value corresponds to length maximum of execution of a script. (in second).

So do not hesitate to increase (the importation of a Dell machine takes about 20 seconds for example)

Dell problem import - GLPI 0.71.x

During the import if you get this in the result window:

Purchase Date: 0000-00-00 ?-valign = "to

You should replace: plugins / suppliertag / inc / plugin_suppliertag.functions_display.php on line 906

$maDate = substr($finduhtml,44,10);

$maDate = substr($finduhtml,57,10);

Problem importing via Proxy

For those who encounter problems importing through a proxy: (
PHP ERROR: Undefined variable: msgerr in / srv / www / htdocs / glpi_dev / plugins / suppliertag / inc / plugin_suppliertag.functions_display.php at line 1060)

Replace line 872:

fputs($proxy_fp, "GET $urlrnHTTP/1.0rnHost: ".$CFG_GLPI["proxy_name"]."rn");

fputs($proxy_fp, "GET $url HTTP/1.0rnHost: ".$CFG_GLPI["proxy_name"]."rn");

Problem when importing

Importing from the site does not complete.

In debug mode GLPI refers to the error here:

PHP ERROR: fopen () [function.fopen]: php_network_getaddresses: getaddrinfo failed: H? Unknown. in C: webxampphtdocsglpipluginssuppliertagincplugin_suppliertag.functions_display.php at line 859 
PHP ERROR: fopen (http://www11.itrc.hp.com/service/ewarra ... amp; submit) [function.fopen]: failed to open stream: No such file or directory in C: webxampphtdocsglpipluginssuppliertagincplugin_suppliertag.functions_display.php at line 859

This error for the function fopen:

It can not open from the server the URL of manufacturer

line 859 $ fp = fopen ($ url, 'rb')

  • 1st option:

Verify that the server that is hosting GLPI has access to the Internet. You must specify from the server and not from your PC (which connects to the server via your browser) because the server retrieves the information for you from the manufacturer's website.

  • 2nd option

Go to the php.ini configuration file and verify that this setting is enabled

allow_url_fopen = On If this is not the case edit and save PHP.ini

Hoping that this will help some ...