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 2009-03-05 14:47:37

monkeymafia
Member
Registered: 2008-08-04
Posts: 31

cookie error

Hi

I deleted the "files" directory from the GLPI installation location. This was done just to test for backup purposes. I pasted the folder in the correct location straight after. But now when I try to log into GLPI it comes up with:

"You must accept cookies to reach this application"

Please help.

Offline

#2 2009-03-05 14:59:14

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

Re: cookie error

check the permission in files (and files/_sessions)

+


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

#3 2009-03-05 15:28:43

monkeymafia
Member
Registered: 2008-08-04
Posts: 31

Re: cookie error

permissions using IIS? I've checked and ive changed it to read and write..still comes up with same message. Any more ideas?

Offline

#4 2009-03-05 16:10:44

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: cookie error

If you use a virtual directory, the IIS Admin of the virtual directory must have right to write in all the directory /files (and /config at the first installation).


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2009-03-05 16:12:03

monkeymafia
Member
Registered: 2008-08-04
Posts: 31

Re: cookie error

Here is my session information from phpinfo, as you can see everything is in order:

session
Session Support     enabled
Registered save handlers     files user
Registered serializer handlers     php php_binary wddx

Directive    Local Value    Master Value
session.auto_start    Off    Off
session.bug_compat_42    Off    Off
session.bug_compat_warn    On    On
session.cache_expire    180    180
session.cache_limiter    nocache    nocache
session.cookie_domain    no value    no value
session.cookie_httponly    Off    Off
session.cookie_lifetime    0    0
session.cookie_path    /    /
session.cookie_secure    Off    Off
session.entropy_file    no value    no value
session.entropy_length    0    0
session.gc_divisor    1000    1000
session.gc_maxlifetime    1440    1440
session.gc_probability    1    1
session.hash_bits_per_character    5    5
session.hash_function    0    0
session.name    PHPSESSID    PHPSESSID
session.referer_check    no value    no value
session.save_handler    files    files
session.save_path    C:\PHP\Sessions    C:\PHP\Sessions
session.serialize_handler    php    php
session.use_cookies    On    On
session.use_only_cookies    Off    Off
session.use_trans_sid    0    0

Offline

#6 2009-03-05 17:42:47

monkeymafia
Member
Registered: 2008-08-04
Posts: 31

Re: cookie error

the permissions are all okay. Its happened as a result of removing the "files" directory. I put it back in the correct place after, only to find the cookies error message.

I think I may have to do a full restore and install GLPI again if there are no fixes..?

Offline

#7 2009-03-18 16:32:45

bwm367
Member
From: Maine, United States
Registered: 2009-01-06
Posts: 217
Website

Re: cookie error

Quick thought as I was going through this: Does this only effect you when viewing from your computer? Try clearing your browser's cookies, testing with a different web browser or from different PC, temporarily lowering security settings in the web browser... etc.


My Configuration: GLPI .72.3 running on XAMPP from a VMware Virtual Machine (Windows XP). PHP 5.2, Apache 2.2.3...

Offline

Board footer

Powered by FluxBB