1
lina26
Login problem ..Plz help!!
  • 2004/8/31 0:26

  • lina26

  • Just popping in

  • Posts: 15

  • Since: 2004/8/30


I have 2 url's
one url with web space were i have XOOPS 2.0.7 installed and everything works fine.

the second url with no space.

I want to login to XOOPS with the second url.
but it doest work.
everything works only i can not log in.

I think the problem is something with cookie.
how can i make XOOPS send a cookie to the second url??

Plz help and sorry for my bad english

2
brash
Re: Login problem ..Plz help!!
  • 2004/8/31 0:39

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


The problem will be in your mainfile.php. To my knowledge you can't have two different URL's pointing to the same install of XOOPS as the URL is specified in the mainfile.php file.

3
lina26
Re: Login problem ..Plz help!!
  • 2004/8/31 1:28

  • lina26

  • Just popping in

  • Posts: 15

  • Since: 2004/8/30


thank you..

if I change the URL in mainfile.php . it doest work at all.

plz help

4
brash
Re: Login problem ..Plz help!!
  • 2004/8/31 1:52

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


You will need to delete all your cache files in your template_c and cache directories. Please be VERY careful when editing these files manually. It is not recomended for those new to Xoops. Please also take care to ensure you backup any files you intend to change.

5
lina26
Re: Login problem ..Plz help!!
  • 2004/8/31 6:21

  • lina26

  • Just popping in

  • Posts: 15

  • Since: 2004/8/30


deleting all cache files in template_c and cache directories , what is next??

I dont understand plz help!!

6
brash
Re: Login problem ..Plz help!!
  • 2004/8/31 23:57

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


By this I mean delete ALL the files within the template_c and cache directories of you XOOPS install. This will force XOOPS to recreate them. Also, what EXACTLY did you change your XOOPS url to in your Mainfile.php?

7
lina26
Re: Login problem ..Plz help!!
  • 2004/9/1 20:13

  • lina26

  • Just popping in

  • Posts: 15

  • Since: 2004/8/30


I deleted all files in template_c and cache as you said. and I changed the virtual path off main XOOPS directory in mainfile.php.

define('XOOPS_URL', 'http://real-url.com');

I changed real url with the second url.

But this didn't solve my problem!

8
brash
Re: Login problem ..Plz help!!
  • 2004/9/1 21:56

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


What are you getting on screen? Is the DNS of the second domain setup correctly? Are you 100% positive that nothing else apart from the URL has changed?

9
lina26
Re: Login problem ..Plz help!!
  • 2004/9/2 13:15

  • lina26

  • Just popping in

  • Posts: 15

  • Since: 2004/8/30


I did what you said but I can't still log in with the second url.

The second URL is .nu domain hosted by www.nunames.nu
with InstantWeb® .

I can set 5 html pages on .nu domain with InstantWeb.

mybe i can set there XOOPS index.php and mainfile.php ???

please help, and thank you very much.

10
Dave_L
Re: Login problem ..Plz help!!
  • 2004/9/2 13:53

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Maybe I'm missing something, but why don't you simply redirect the second URL to the first URL?

If the .nu site supports PHP:

index.php

<?php header('Location: http://example.com/'?>


If you can only use .html pages at the .nu site, you could use a meta tag:

index.html

<html>
<
head><meta http-equiv="Refresh" content="0; url=http://example.com/" />
</
head>
<
body>
Click <a href="http://example.com/">here</a>
</
body>
</
html>


Login

Who's Online

145 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

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

Latest GitHub Commits