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-11-18 18:56:30

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

GLPI from CVS stops in step0 during isntall

Hello,

During install I have got:

Test PHP Parser    PHP version is 4.x - Perfect !
Mysql extension test.    Ok - the function mysql_connect() exist - Perfect !
Allocated memory test

and nothing happens.
It stops during "Allocated memory test" - computer works good, I can work normally.
I close this window, starts from the begining: http://localhost/glpi/ and situation repeats- install stops at  step 0.

What could I do?!
Thanks a lot!

--
Maciej Hanak

Offline

#2 2005-11-20 15:46:45

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: GLPI from CVS stops in step0 during isntall

Without more informations it's difficult to provide any help.

what is your systeme config (OS, php version, mysql version, apache version....) etc.


Bazile Lebeau

Offline

#3 2005-11-21 09:37:53

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

Re: GLPI from CVS stops in step0 during isntall

ok,

Linux 2.6.11.10-6 #1 Fri May 27 20:34:47 UTC 2005 i686 AMD_Athlon(tm)_XP_1800+ unknown PLD Linux

mysql  Ver 14.12 Distrib 5.0.15, for pld-linux-gnu (i686) using readline 5.0
mysql-5.0.15-5                 mysql-libs-5.0.15-5

php-common-5.0.5-17  php-mysql-5.0.5-17

apache-2.0.55-2          apache-index-2.0.55-2    apache-mod_php-5.0.5-17
apache-apxs-2.0.55-2     apache-mod_dir-2.0.55-2
apache-doc-2.0.55-2      apache-mod_perl-2.0.1-4

glibc-2.3.6-2              glibc-devel-utils-2.3.6-2
glibc-devel-2.3.6-2        glibc-headers-2.3.6-2
glibc-devel-doc-2.3.6-2    glibc-misc-2.3.6-2

1GB RAM

Maybe some rights in /home/services/httpd/html/ ?!

here are some information:
http://kastor.ds.pg.gda.pl/~macieh/temp/info.html


Thanks!
Best Regards.
--
Maciej Hanak

Last edited by macieh (2005-11-22 00:37:40)

Offline

#4 2005-11-22 15:11:05

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: GLPI from CVS stops in step0 during isntall

Try to comment  the line 38 of the install.php script with // at the begining of the line.
Then restart the install, you'll surely get more info about what really appen.


Bazile Lebeau

Offline

#5 2005-11-23 16:32:21

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

Re: GLPI from CVS stops in step0 during isntall

I did it:
//error_reporting(0);   // Baaz si tu touches ŕ cette ligne  pour tes tests merci de la remettre en état quand tu commits.
and nothing happens. I don't get more information during install - install stops at step 0 just like before.
I have to comment all part with memory test. after that instalation goes on.
any ideas?!

--
Maciej Hanak

Offline

#6 2005-11-23 18:37:36

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: GLPI from CVS stops in step0 during isntall

You can try to put break; for all case of the switch routine :


Then your lines from 290 to 295 will look like :

switch ($matches[2]){
                        case "G" : $mem*=1024; break;
                        case "M" : $mem*=1024; break;
                        case "K" : $mem*=1024; break;
                }


I think that's the solution.

But if it doesn't work anymore try to add this :

print_r($matches);

near line 288 of install.php After :

} else {

and before

$mem=$matches[1];


Then retry and say us what is screened.

Last edited by baaz (2005-11-23 18:37:50)


Bazile Lebeau

Offline

#7 2005-11-23 19:47:35

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

Re: GLPI from CVS stops in step0 during isntall

I've installed glpi with commenting from install.php all part with memory test.
probabely sth wrong with my linux configuration.
I'll checked it out during next update smile

thanks a lot!
--
Maciej Hanak

Offline

#8 2005-11-23 23:20:47

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: GLPI from CVS stops in step0 during isntall

If it's possible for you to check now... with another install on the same system config, it will could us.


Bazile Lebeau

Offline

#9 2005-12-13 17:30:27

macieh
Member
From: Gdansk, Poland
Registered: 2005-11-18
Posts: 10

Re: GLPI from CVS stops in step0 during isntall

Hi,

I did as you say (I have to install glpi one more time wink ):
--------------------
Then your lines from 290 to 295 will look like :

switch ($matches[2]){
                        case "G" : $mem*=1024; break;
                        case "M" : $mem*=1024; break;
                        case "K" : $mem*=1024; break;
                }


I think that's the solution.

But if it doesn't work anymore try to add this :

print_r($matches);

near line 288 of install.php After :

} else {

and before

$mem=$matches[1];


Then retry and say us what is screened.
--------------------

I did it and nothing happend.
It is important for me to make glpi works but I think for you it is either very important wink
So if you wanna check something according to this "bug" just say/write.

Best regards
macieh

Offline

Board footer

Powered by FluxBB