1
vinit
Unable to login when using redirect url
  • 2004/6/2 6:04

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi,

I am using a dot.tk domain redirection method to get short url for my site. Surprisingly i am facing a weired problem.

When i am using the dot.tk domain the homepage comes perfectly on loging it shows that login is successfull. but then instead of showing the registered users page it again comesback to the home page allowing me to login.
I could not figure it out why this happening.

On the otherhand if i am logging into the application from the normal url... its doing it perfectly.

Any idea why its behaving in this manner...

Note: dot.tk redirection uses frames. so the page is loaded in inline frame.



2
Herko
Re: Unable to login when using redirect url
  • 2004/6/2 6:51

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


That is because the system checks where the visitor is logging in from, and if this doesn't corespond with the XOOPS_URL in your mainfile.php, then you're not logged in to that website. If you don't mind the URL, then change the redirect to a real redirect, and have all traffic forwarded to the real URL, so don't hide that.

Herko

3
vinit
Re: Unable to login when using redirect url
  • 2004/6/2 7:17

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


do you mean that i should change the real redirect http://..com//html to http://.tk url ..??? in the mainfile

could you give me an example to have more clearity.

what i want is when user visits my site http://.tk he should be able to login.



4
vinit
Re: Unable to login when using redirect url
  • 2004/6/3 9:09

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Still strugling with it.....

can i have some help plz



5
Herko
Re: Unable to login when using redirect url
  • 2004/6/3 9:17

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


the way XOOPS works is that the URL wher ethe site actually is, is the one that should be used, as well as set in the mainfile.php.

So, if your site is situated somewhere else the yourdomain.tk, then that is what should be used to enter the site.

Herko

6
vinit
Re: Unable to login when using redirect url
  • 2004/6/4 18:20

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


In simple words you mean to say i cannot use any redirecting urls.

I dont understand how it matter to xoops. since i am being redirected using a frame. What happens is when i call http://www.foo.tk foo.tk loads a page having frame which contians the data coming form my XOOPS index page in this way my url in address bar remains same but the pages in the frames work perfectly..

Can anyone tell me any hack arround it so that i can have XOOPS running fine in the given condition .

7
ossi
Re: Unable to login when using redirect url
  • 2004/6/4 22:14

  • ossi

  • Just popping in

  • Posts: 39

  • Since: 2002/9/9 1


I had the problem with XOOPS 1.3.8 but after I updated to 2.0.6 All users login fine - Just remember to have cookies to"accept" - you can see what I wrote to my users here
Here is the link to the FAQ

hope it helps

its redirected from here if you want to try
http://www.warplanet.dk

8
vinit
Re: Unable to login when using redirect url
  • 2004/6/5 20:02

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Thx ossi, that faq setting worked perfectly....
I hope there could be some easy way.. otherwise all the visitors have to go through that process....

can we have some hack arround it ????

9
ossi
Re: Unable to login when using redirect url
  • 2004/6/6 10:28

  • ossi

  • Just popping in

  • Posts: 39

  • Since: 2002/9/9 1


I will let you know if I can figure it out - I am currently trying to make a hack for it.

cheersĀ“

10
rayzor8
Re: Unable to login when using redirect url
  • 2004/7/28 16:49

  • rayzor8

  • Just popping in

  • Posts: 7

  • Since: 2004/7/28


Has anyone figure out a way to resolve this issue?

Thanks,

-Ray

Login

Who's Online

127 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 127


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits