1
A6-Intruder
Login redirects to root?
  • 2007/7/23 3:24

  • A6-Intruder

  • Just popping in

  • Posts: 5

  • Since: 2007/7/2 1


Hi,

I have my XOOPS site hosted with another site. They are in two separate paths off the main root.

http://www.mydomain.com/xoops
http://www.mydomain.com/catalog

When a user logs in they get sent to /xoops/user.php then back
to my root http://www.mydomain.com.

However in my root I have a .htaccess file that points everything from http://www.mydomain.com/catalog so the poor user ends up at http://www.mydomain.com/catalog/? .

I have emailed my host and they have seen what happens but advise I come here? My mainfile.php path is

define('XOOPS_URL', 'http://www.mydomain.com/xoops

If I change this the site usually goes all white with no theme.

2
A6-Intruder
Re: Login redirects to root?
  • 2007/7/24 23:43

  • A6-Intruder

  • Just popping in

  • Posts: 5

  • Since: 2007/7/2 1


Ok found someone who had the same problem but no answer?
https://xoops.org/modules/newbb/viewtopic.php?topic_id=58236&forum=7


I work fine on my development server but that doesn't have any .htaccess files on it.

3
BlueStocking
Re: Login redirects to root?

system_redirect.html <<< find that file and see if you can see how to adjust the redirect address to point to the address you want it to point to instead of the root.

Good luck
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

4
A6-Intruder
Re: Login redirects to root?
  • 2007/7/25 10:13

  • A6-Intruder

  • Just popping in

  • Posts: 5

  • Since: 2007/7/2 1


Ok my system redirect looks like this? I don't see any path commands that I can change?

<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>" />
<
title><{$xoops_sitename}>title>
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
head>
<
body>
<
div style="text-align:center; background-color: #EBEBEB; border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight : bold;">
  <
h4><{$message}>h4>
  <
p><{$lang_ifnotreload}>p>
div>
<{if 
$xoops_logdump != ''}><div><{$xoops_logdump}>div><{/if}>
body>
html>


Also found a thread with a similar problem but no solution
https://xoops.org/modules/newbb/viewtopic.php?topic_id=47136&forum=27&post_id=248661

5
A6-Intruder
Re: Login redirects to root?
  • 2007/8/5 22:19

  • A6-Intruder

  • Just popping in

  • Posts: 5

  • Since: 2007/7/2 1


For anyone who is reading this forum with a similar problem. I found what was going wrong.

In the /modules/system/templates/blocks...

this line



Remove <{$xoops_requesturi}> and the problem is solved.

6
attock
Re: Login redirects to root?
  • 2007/8/6 0:12

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


good catch

Login

Who's Online

137 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 137


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