kumarsivarajan / rmh-roomreservation-maker

Automatically exported from code.google.com/p/rmh-roomreservation-maker
0 stars 0 forks source link

Logout doesnt work #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Sign in as Social Worker
2.Click Logout

What is the expected output? What do you see instead?
Should log you out of the system
The requested URL /rmh-reservation-maker/logout.php was not found on this 
server.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by johannk...@gmail.com on 2 Dec 2012 at 9:19

GoogleCodeExporter commented 8 years ago
I am testing on GoDaddy right now, and it doesn't work there either

Original comment by bkmackellar on 2 Dec 2012 at 9:24

GoogleCodeExporter commented 8 years ago

Original comment by bkmackellar on 2 Dec 2012 at 9:25

GoogleCodeExporter commented 8 years ago
I am pretty sure the issue is right here"
function logout_Of_Website()
//logs the User out of the website
{
var c=confirm("Please confirm that you want to log out");
if (c==true)
  {
  window.open('/rmh-reservation-maker/logout.php','_self');
  }
}
The code can't hardcode the path because it is different on GoDaddy. That is 
why BASE_DIR is used in the rest of the links. This also needs to use BASE_DIR

Original comment by bkmackellar on 2 Dec 2012 at 9:42

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by bconst123 on 6 Dec 2012 at 11:22

GoogleCodeExporter commented 8 years ago

Original comment by Troyork90@gmail.com on 11 Dec 2012 at 5:24