You are not logged in.
I've updated GLPI to the last current version (9.2.x to 9.4.4) and everything works fine, everything but the page "glpi/front/phone.form.php".
This error appears only if in the URL the "id" parameter is set with any value: (eg. phone.form.php?id=1).
Under this condition the server returns "Error HTTP 500.0 - Internal Server Error" and "The FastCGI process exited unexpectedly".
All the other "form" pages work correctly (eg. computer.form.php, monitor.form.php, printer.form.php, etc.) so I believe is unlikely a problem with my server.
I also experimented on my own and I noticed that the page doesn't return any error if I remove "$phone->display(['id' => $_GET["id"], 'withtemplate' => $_GET["withtemplate"]]);" from the "phone.form.php" file.
Offline
Post the output of php error log to see where the problem is.
Offline
The PHP log is empty, but the IIS 10.0 server log contains this record:
2019-10-30 16:56:56 192.168.6.153 GET /glpi/front/phone.form.php id=1 443 - 192.168.6.153 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/78.0.3904.70+Safari/537.36 https: //srv-iis.server.local/glpi/front/phone.php 500 0 255 301
Offline
I have the same problem, anyone for help ?
Offline
Anyone for help please?
Offline
hello i am having the same problem as you.
just followed the error and I modified the file "inc \ phone.class.php" and I commented the following lines from 70 to 90 "
/ * function defineTabs($options = []) {
$ong = [];
$this->addDefaultFormTab($ong);
$this->addStandardTab('Item_Devices', $ong, $options);
$this->addStandardTab('Computer_Item', $ong, $options);
$this->addStandardTab('NetworkPort', $ong, $options);
$this->addStandardTab('Infocom', $ong, $options);
$this->addStandardTab('Contract_Item', $ong, $options);
$this->addStandardTab('Document_Item', $ong, $options);
$this->addStandardTab('KnowbaseItem_Item', $ong, $options);
$this->addStandardTab('Ticket', $ong, $options);
$this->addStandardTab('Item_Problem', $ong, $options);
$this->addStandardTab('Change_Item', $ong, $options);
$this->addStandardTab('Link', $ong, $options);
$this->addStandardTab('Notepad', $ong, $options);
$this->addStandardTab('Reservation', $ong, $options);
$this->addStandardTab('Log', $ong, $options);
return $ong;
}* / "
if it helps anyone
Thank you to the developers for taking a look at this problem as they will certainly provide a better solution.
Offline
Thank you for this
Offline
better still just comment on that
/*$this->addStandardTab('Item_Devices', $ong, $options);*/
line 74 on inc/phone.class.php
Offline
hello i am having the same problem as you.
just followed the error and I modified the file "inc \ phone.class.php" and I commented the following lines from 70 to 90 "/ * function defineTabs($options = []) {
$ong = [];
$this->addDefaultFormTab($ong);
$this->addStandardTab('Item_Devices', $ong, $options);
$this->addStandardTab('Computer_Item', $ong, $options);
$this->addStandardTab('NetworkPort', $ong, $options);
$this->addStandardTab('Infocom', $ong, $options);
$this->addStandardTab('Contract_Item', $ong, $options);
$this->addStandardTab('Document_Item', $ong, $options);
$this->addStandardTab('KnowbaseItem_Item', $ong, $options);
$this->addStandardTab('Ticket', $ong, $options);
$this->addStandardTab('Item_Problem', $ong, $options);
$this->addStandardTab('Change_Item', $ong, $options);
$this->addStandardTab('Link', $ong, $options);
$this->addStandardTab('Notepad', $ong, $options);
$this->addStandardTab('Reservation', $ong, $options);
$this->addStandardTab('Log', $ong, $options);return $ong;
}* / "if it helps anyone
Thank you to the developers for taking a look at this problem as they will certainly provide a better solution.
With this fork, you just delete all tab in the phone object
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
better still just comment on that
/*$this->addStandardTab('Item_Devices', $ong, $options);*/
line 74 on inc/phone.class.php
with this fork you delete Components tab of the Phone object.
If the issue is with this table, perhaps it may be repair in your database?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
lboudehen wrote:better still just comment on that
/*$this->addStandardTab('Item_Devices', $ong, $options);*/
line 74 on inc/phone.class.php
with this fork you delete Components tab of the Phone object.
If the issue is with this table, perhaps it may be repair in your database?
Hi, thank to responding, but when i create new phone and open again the detailed sheet i have error 500.
if it is necessary to repair the base I do not know how.
Offline
Tks for this modification ....... now fatal error :
Fatal error: Uncaught Error: Class 'Phone' not found in C:\inetpub\glpi\inc\html.class.php:1475 Stack trace: #0 C:\inetpub\glpi\inc\html.class.php(6327): Html::generateMenuSession(true) #1 C:\inetpub\glpi\inc\html.class.php(1585): Html::displayMainMenu(true, Array) #2 C:\inetpub\glpi\front\central.php(68): Html::header('Interface stand...', '/glpi/front/cen...', 'central', 'central') #3 {main} thrown in C:\inetpub\glpi\inc\html.class.php on line 1475
Offline
i have still the problem
/*
ok it's ok to view and edite but i have not the onglet .
Offline
HELLO
I have a solution
change ver php to 4.4 and it's ok
Offline
HELLO
I have a solution
change ver php to 4.4 and it's ok
Great idea ..
Offline