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 2010-10-28 18:50:47

grendel905
Member
Registered: 2010-03-16
Posts: 7

Reservation Link broken

I am getting an Undefined index: HTTP_REFERER error on line 128 of reservation.form.php when a link is clicked in an Alert email. For instance, and items reservation has expired and an automatic email Alert is sent with a link (reservation.url) in it. If the link is clicked, it sends the browser into a loop. An example of the link is http://my_server/glpi/index.php?redirect=reservation_16 which redirects to http://my_server/glpi/front/reservation.form.php?id=16&.

If I manually type http://my_server/glpi/front/reservation.form.php?id=16& in the address bar, I get the same results. This only happens with reservation.url and does not happen with ticket alerts like http://my_server/glpi/index.php?redirect=ticket_539_7.

Another interesting point is, that if a modification is made to a reservation, we are presented with a link next to "Item has been successfully updated" to http://my_server/glpi/front/reservation.form.php?id=16 which does work. I am not sure why that link would work and the redirect does not, nor does manually typing it in the address bar.

We are using GLPI 0.78-2.svn12852 from Remi's repo. Centos 5.3 Apache 2, php 5.2.10-1 Firefox 3.6, IE 7, 8, 9

Last edited by grendel905 (2010-10-28 22:27:13)

Offline

#2 2010-10-29 17:03:56

grendel905
Member
Registered: 2010-03-16
Posts: 7

Re: Reservation Link broken

Offline

#3 2010-11-04 09:07:19

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

Re: Reservation Link broken


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

Board footer

Powered by FluxBB