LetoDMS Community Forum
Login Redirect - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11)
+--- Thread: Login Redirect (/showthread.php?tid=599)



Login Redirect - kafran - 11-29-2012

When I do login I'm not being redirect to letoDMS Content Page. I'm still seeing the login page, then I have to erase the URL to localhost/letodms to get into program. Someone having this problem?

The URL after login is: http://localhost/letodms/out/out.Login.php?referuri=%2FletoDMS%2Fout%2Fout.ViewFolder.php


RE: Login Redirect - steinm - 11-29-2012

(11-29-2012, 06:38 PM)kafran Wrote: When I do login I'm not being redirect to letoDMS Content Page. I'm still seeing the login page, then I have to erase the URL to localhost/letodms to get into program. Someone having this problem?

The URL after login is: http://localhost/letodms/out/out.Login.php?referuri=%2FletoDMS%2Fout%2Fout.ViewFolder.php

The form on out/out.Login.php sends its data to op/op.Login.php. Does it do that?

Uwe


RE: Login Redirect - kafran - 11-29-2012

(11-29-2012, 07:46 PM)steinm Wrote:
(11-29-2012, 06:38 PM)kafran Wrote: When I do login I'm not being redirect to letoDMS Content Page. I'm still seeing the login page, then I have to erase the URL to localhost/letodms to get into program. Someone having this problem?

The URL after login is: http://localhost/letodms/out/out.Login.php?referuri=%2FletoDMS%2Fout%2Fout.ViewFolder.php

The form on out/out.Login.php sends its data to op/op.Login.php. Does it do that?

Uwe

Solved the problem. Apparently the problem was with my index.php that was redirecting to the wrong adress.

<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/letodms/'); <-- HERE
exit;
?>

Sorry to bother and thank you.