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 2007-05-03 17:41:56

abizmo
Member
Registered: 2007-05-03
Posts: 3

init fail

Hi im a spanish student. Ive install glpi on a Windows 2000, with apache, mysql ande php5. The installation was a success, but when i try to login as glpi user it shows me the "glpi login" page again. Ive tried with the others users but nothing. Ive looked the tables of my db and it seems ok.

what is the problem??

thank you

PS: i must apologize for my english

Offline

#2 2007-05-03 17:48:23

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: init fail

try to increase memory_limit in php configuration


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2007-05-03 17:58:37

abizmo
Member
Registered: 2007-05-03
Posts: 3

Re: init fail

ok, i just tried it. memory_limit is 128M, but it doesnt work

Offline

#4 2007-05-03 19:12:42

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: init fail

a phpinfo say 128M ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2007-05-04 21:54:41

abizmo
Member
Registered: 2007-05-03
Posts: 3

Re: init fail

i cant see it in the phpinfo, but ive changed the memory_limit parameter in php.ini.

in addition ive reset the machine

Offline

#6 2007-05-04 22:29:12

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: init fail

on windows installation it may have several php.ini.

Simple add phpinfo(); in the index.php page of GLPI and you will have the response.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2008-05-13 12:19:10

sgalan
Member
Registered: 2008-05-13
Posts: 3

Re: init fail

Hi,
   I'm having the same problem. (Debian linux server with Apache 2, PHP 4 and MySQL 5.0) The GLPI instalation was perfect.

   My php.ini says "memory_limit  32M"  (I tried up to 128M but it doesn't run anyway) and phpinfo() reports the set amount of memory correctly.

   I saw this forum thread, but think there's no solution reported here yet.
   Abizmo, did you solve the problem in your installation?

   When login, the pages shown in the address bar are, in sequence:
       index.php 
       login.php
       front/central.php
       index.php  (again). 
   I suspect not about a login problem, but a cookie one instead (due to the presence of front/central.php in the accessed pages). I added the site to be fully cookie enabled in my browser without result.

   Any hint will be appreciated.

Regards (from Spain too) wink
- Sergio -

Offline

#8 2008-05-13 13:26:40

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: init fail

Check permissions on "glpi/files" directory (apache must be able to write in this directory and sub-directories).

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#9 2008-05-13 16:06:12

sgalan
Member
Registered: 2008-05-13
Posts: 3

Re: init fail

Hello, thanks for the quick answer.

I checked the permissions and they were rigth, but after that I found the solution:  PHP 4 was making something wrong, so I updated to PHP 5 (and set memory_limit to 32MB again ;-)) and now I am able to login. :-)
Your documentation says that PHP4 is supported, so I went on with it, but I think that my installation might have something wrong with version 4.
Thanks again. 
- Sergio -

Offline

#10 2008-05-13 16:12:49

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: init fail

The update to PHP 5 is a good idea i think.

But GLPI is supposed to work with PHP 4 (at least until 0.71)
Some plugin requires PHP 5. Have you a plugin installed ?

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#11 2008-05-13 17:18:56

sgalan
Member
Registered: 2008-05-13
Posts: 3

Re: init fail

The only plugin was php-imap. I installed it for V-Webmail.

But...;) I should thank GLPI again: V-Webmail didn't run until now, due to the same problem with PHP 4. Now, after upgrading to 5, I've got both GPLI and V-Webmail running!.. 

One problem lead to two solved.  smile  (And proved that my old PHP4 had some trouble).

Regards.
(And nice project, indeed, I didn't mentioned it before),

Offline

#12 2008-05-13 18:53:28

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

Re: init fail

Ok i close.


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

Offline

Board footer

Powered by FluxBB