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 2005-08-23 05:04:49

jivago
Member
From: Florida
Registered: 2005-07-12
Posts: 5

Can't create a new computer: can't make a new template

Thanks for the English forum!

I just installed GLPI on a fresh Fedora Core 4 server. I used GLPI-0.6-RC2 as I'd like to connect to OCS.
It looks good, and I can connect to my OCS installation fine.

If I choose Inventory>Computer>Add Computer, it wants me to choose a templete. The only choice is "Blank Template". If I choose that: in FireFox, it thinks for a moment then nothing, or in IE, I get a "This page cannot be displayed" error.

If I choose -manage templates-, I get pretty much the same result.

Anyone have any pointers?

Thanks,

JivaGo

Last edited by jivago (2005-08-23 20:44:38)

Offline

#2 2005-08-23 18:19:37

jivago
Member
From: Florida
Registered: 2005-07-12
Posts: 5

Re: Can't create a new computer: can't make a new template

Here's a more to the point error message concerning the new computer/template problem:


[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 227, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 228, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 229, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 230, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 231, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 232, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 233, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 234, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 235, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 236, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 237, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 238, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /var/www/html/ocsreports/multicritere.php on line 240, referer: http://serv.dom.com/ocsreports/index.php
[client x.x.x.x] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /var/www/html/glpi/glpi/dicts/english.php on line 1103, referer: http://serv.dom.com/glpi/computers/comp … select.php
Allowed memory size of 8388608 bytes exhausted (tried to allocate 64 bytes)

**From  multicritere.php**
226: <select name=selOpt OnChange="optionss.submit();"><?
227: echo "<option>".$l->g(32)."</option>";
227: if(!in_array($l->g(34),$_SESSION["OPT"])) echo "<option>".$l->g(34)."</option>";
228: if(!in_array($l->g(33),$_SESSION["OPT"])) echo "<option>".$l->g(33)."</option>";
229: if(!in_array($l->g(20),$_SESSION["OPT"])) echo "<option>".$l->g(20)."</option>";
230: if(!in_array($l->g(26),$_SESSION["OPT"])) echo "<option>".$l->g(26)."</option>";
231: if(!in_array($l->g(35),$_SESSION["OPT"])) echo "<option>".$l->g(35)."</option>";
232: if(!in_array($l->g(36),$_SESSION["OPT"])) echo "<option>".$l->g(36)."</option>";
233: if(!in_array($l->g(208),$_SESSION["OPT"])) echo "<option>".$l->g(208)."</option>";
234: if(!in_array($l->g(207),$_SESSION["OPT"])) echo "<option>".$l->g(207)."</option>";
235: if(!in_array($l->g(25),$_SESSION["OPT"])) echo "<option>".$l->g(25)."</option>";
236: if(!in_array($l->g(24),$_SESSION["OPT"])) echo "<option>".$l->g(24)."</option>";
237: if(!in_array($l->g(27),$_SESSION["OPT"])) echo "<option>".$l->g(27)."</option>";
238: if(!in_array(TAG_LBL,$_SESSION["OPT"])) echo "<option>".TAG_LBL."</option>";
239:
240: if(!in_array($l->g(257),$_SESSION["OPT"])) echo "<option>".$l->g(257)."</option>";

**From  english.php**
1103: $lang["reservation"][2]="ID";

Last edited by jivago (2005-08-23 20:45:12)

Offline

#3 2005-08-24 00:51:20

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Can't create a new computer: can't make a new template

# Take a look at php.ini and increase the memory_limit variable to say 16M rather than 8M:
memory_limit = 16M


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#4 2005-08-24 05:33:53

jivago
Member
From: Florida
Registered: 2005-07-12
Posts: 5

Re: Can't create a new computer: can't make a new template

That did it, thank you kindly sir!

Offline

Board footer

Powered by FluxBB