1
komakino
REDIRECT PROBLEM
  • 2005/11/8 2:25

  • komakino

  • Just popping in

  • Posts: 13

  • Since: 2005/11/3


Hi there i m using XOOPS 2.2 on a linux server
when i m on the admin part i have no problems with redirections...
but in the user part... after the login for example.. and after logout and other cases like that... automatic redirect doesn t work.. and the user seems to have to click on the link to get back to the site... wich thing is quite annoying to them... is there any solution about it?

2
DCrussader
Re: REDIRECT PROBLEM

Clean browser cache (specialy Firefox 1.0/1.5 and few versions of Mozilla and my lovely Opera, make this trouble)
May The Source Be With You!

3
komakino
Re: REDIRECT PROBLEM
  • 2005/11/8 9:40

  • komakino

  • Just popping in

  • Posts: 13

  • Since: 2005/11/3


i did



no changes thou

4
biomech
Re: REDIRECT PROBLEM
  • 2005/11/29 12:25

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I'm having the same problem. Is this a known issue with 2.2.3?
It stopped working after I upgraded from 2.0.13.2.

Any help appreciated,

- b -

5
tjnemez
Re: REDIRECT PROBLEM
  • 2005/11/29 12:44

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


yes, i have experienced this also.
Not right now; I am busy screwing up my site!


Dream Catcher Dezines
Mind Health ...

6
hkats
Re: REDIRECT PROBLEM
  • 2005/12/10 20:34

  • hkats

  • Just popping in

  • Posts: 5

  • Since: 2005/12/10


hhttps://xoops.org/modules/newbb/viewtopic.php?topic_id=36791&forum=2&post_id=168304#forumpost168304

i also had problems with the redirects in 2.2.3 - this fixed it only in the version there is not a body tag in the modules/system/admin/templates/system_redirects.html

i added the body code that is supplied in that thread,and a closing tag, saved the file and updated the module all is fixed now.

7
komakino
Re: REDIRECT PROBLEM
  • 2005/12/10 21:01

  • komakino

  • Just popping in

  • Posts: 13

  • Since: 2005/11/3


well


it seems we re using different XOOPS here
because... my redirect template looks quite different.. something like this:

<div style="text-align:center; background-color: transparent; border-top: 0px solid #FFFFFF; border-left: 0px solid #FFFFFF; border-right: 0px solid #AAAAAA; border-bottom: 0px solid #AAAAAA; font-weight : bold;">
<h4><{$message}></h4>
<p><{$lang_ifnotreload}></p>
</div>

so i actually don t know how to change it..



and the file is located here:

modules/system/templates/

what can i do so?

8
hkats
Re: REDIRECT PROBLEM
  • 2005/12/11 20:57

  • hkats

  • Just popping in

  • Posts: 5

  • Since: 2005/12/10


Quote:

komakino wrote:
well


it seems we re using different XOOPS here
because... my redirect template looks quite different.. something like this:

<div style="text-align:center; background-color: transparent; border-top: 0px solid #FFFFFF; border-left: 0px solid #FFFFFF; border-right: 0px solid #AAAAAA; border-bottom: 0px solid #AAAAAA; font-weight : bold;">
<h4><{$message}></h4>
<p><{$lang_ifnotreload}></p>
</div>

so i actually don t know how to change it..



and the file is located here:

modules/system/templates/

what can i do so?

i am using 2.2.3 - which i believe has it in the same place as 2.2 - so

first off - you need to go to your right file at modules(folder) /system (folder)/admin (folder)/templates (folder) /system_redirects.html (file)




and just add the body tags to the code


<<body onload="void(location.href='<{$url}>');"><code that is in file already > </body>

9
komakino
Re: REDIRECT PROBLEM
  • 2005/12/12 3:49

  • komakino

  • Just popping in

  • Posts: 13

  • Since: 2005/11/3


first off - you need to go to your right file at modules(folder) /system (folder)/admin (folder)/templates (folder) /system_redirects.html (file)

--


i know what u mean.. i m not retarded :)


inside the modules folder
i go in the system folder
and then in admin folder
but i have no Template folder there...

as i wrote u before... the template folder in my XOOPS is located somewherele unfortunally

10
hkats
Re: REDIRECT PROBLEM
  • 2005/12/14 14:24

  • hkats

  • Just popping in

  • Posts: 5

  • Since: 2005/12/10


Quote:

komakino wrote:
first off - you need to go to your right file at modules(folder) /system (folder)/admin (folder)/templates (folder) /system_redirects.html (file)

--


i know what u mean.. i m not retarded :)


inside the modules folder
i go in the system folder
and then in admin folder
but i have no Template folder there...

as i wrote u before... the template folder in my XOOPS is located somewherele unfortunally

sorry, didn't mean to imply...

in the version 2.09 it is modules/sytem/templates/system_redirects.html

but i would suggest that wherever you have that file, you try the above, just save a copy of the original file in case it doesn't work.

if you do not have it there, and cannot find the file system_redirects.html, then i don't know what to tell ya- except that i'm wondering if you uploaded a full version of xoops- try windiff or winmerge against the files you uploaded from, to see if anything is missing from your site...



good luck