You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2014-09-08 09:17:47

adamm
Member
Registered: 2014-09-08
Posts: 4

I can't browse 'Inventory -> Computers'

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

#2 2014-09-08 09:39:43

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: I can't browse 'Inventory -> Computers'

I think you have problem with your installation of GLPI

Offline

#3 2014-09-08 09:46:30

adamm
Member
Registered: 2014-09-08
Posts: 4

Re: I can't browse 'Inventory -> Computers'

Why? Before I added this computer, everything was OK sad

Offline

#4 2014-09-08 09:54:54

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: I can't browse 'Inventory -> Computers'

ah, have you moved your GLPI folder or something like this?

Offline

#5 2014-09-08 10:25:03

adamm
Member
Registered: 2014-09-08
Posts: 4

Re: I can't browse 'Inventory -> Computers'

No I don't.
Only add new computer in "Inventory -> Computers" and during this I added new operating system.

Offline

#6 2014-09-12 09:55:19

adamm
Member
Registered: 2014-09-08
Posts: 4

Re: I can't browse 'Inventory -> Computers'

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

Board footer

Powered by FluxBB