You are not logged in.
Hi Everyone,
I have some problem with my GLPI
After that I insert one computer (during the insert computer record, I create new operating system), I saw this communicate:
Notice: Use of undefined constant GLPI_ROOT - assumed 'GLPI_ROOT' in C:\XAMPP\htdocs\glpi-prod\front\computer.php on line 38
Warning: include(GLPI_ROOT/inc/includes.php) [function.include]: failed to open stream: No such file or directory in C:\XAMPP\htdocs\glpi-prod\front\computer.php on line 38
Warning: include() [function.include]: Failed opening 'GLPI_ROOT/inc/includes.php' for inclusion (include_path='.;\xampp\php\PEAR') in C:\XAMPP\htdocs\glpi-prod\front\computer.php on line 38
Fatal error: Call to undefined function checkRight() in C:\XAMPP\htdocs\glpi-prod\front\computer.php on line 40
When I try view 'Inventory->Software', I have similar communicate.
Notice: Use of undefined constant GLPI_ROOT - assumed 'GLPI_ROOT' in C:\XAMPP\htdocs\glpi-prod\front\software.php on line 38
Warning: include(GLPI_ROOT/inc/includes.php) [function.include]: failed to open stream: No such file or directory in C:\XAMPP\htdocs\glpi-prod\front\software.php on line 38
Warning: include() [function.include]: Failed opening 'GLPI_ROOT/inc/includes.php' for inclusion (include_path='.;\xampp\php\PEAR') in C:\XAMPP\htdocs\glpi-prod\front\software.php on line 38
Fatal error: Call to undefined function commonHeader() in C:\XAMPP\htdocs\glpi-prod\front\software.php on line 40
I can view Inventory->Monitors/Devices/Printers and other.
Please help me.
How can I fix this problem?
Last edited by adamm (2014-09-08 09:38:28)
Offline
I think you have problem with your installation of GLPI
Offline
Why? Before I added this computer, everything was OK
Offline
ah, have you moved your GLPI folder or something like this?
Offline
No I don't.
Only add new computer in "Inventory -> Computers" and during this I added new operating system.
Offline
OK, problem has been resolved. I compare files 'computer.php' and 'software.php' with 'printer.php' and notice that 'printer.php' had one additional line (in line 38). I fixed 'computer.php' and 'software.php' files and now everything working properly.
Offline