You are not logged in.
Pages: 1
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
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
permissions using IIS? I've checked and ive changed it to read and write..still comes up with same message. Any more ideas?
Offline
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
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
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
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
Pages: 1