1
codecraig
Registration page redirects to invalid place
  • 2004/5/13 17:15

  • codecraig

  • Just popping in

  • Posts: 9

  • Since: 2004/5/13


after someone "registers" and clicks submit, it redirects them to /register.php rather than java/register.php

EXAMPLE:
my site is located in http://www.site.com/java ...and after submit is pressed, it redirects to http://www.site.com/register.php instead of http://www.site.com/java/register.php

where can i fix this??

thanks

2
tl
Re: Registration page redirects to invalid place
  • 2004/5/13 17:25

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Change your mainfile.php

XOOPS Virtual Path (URL)

to
define('XOOPS_URL', 'www.site.com/java');

3
codecraig
Re: Registration page redirects to invalid place
  • 2004/5/13 17:43

  • codecraig

  • Just popping in

  • Posts: 9

  • Since: 2004/5/13


it is defined that way. Could it be messed up because of the theme I am using, 7dana-clean (http://www.7dana.com/)??

thanks

4
tl
Re: Registration page redirects to invalid place
  • 2004/5/13 17:58

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Could be, but it seems that you are using a old version of the theme, having all javascripts on the top. New version does not have all the scripts listed on the top, they are separated into a javascript file.

Also by my count, you have 15 extra </body></html> at the end of you theme file. Did you add those?

Try to use the most recent version of the theme and see if that helps.

[edit]: change back to default theme and check if you still have the same problem.

5
codecraig
Re: Registration page redirects to invalid place
  • 2004/5/13 18:08

  • codecraig

  • Just popping in

  • Posts: 9

  • Since: 2004/5/13


i just got the theme from their site today...i'll check again.

6
codecraig
Re: Registration page redirects to invalid place
  • 2004/5/13 23:15

  • codecraig

  • Just popping in

  • Posts: 9

  • Since: 2004/5/13


i contacted the maker of the theme, and it appears to be a problem with the theme itself.

thanks

7
SevenD
Re: Registration page redirects to invalid place
  • 2004/5/14 0:46

  • SevenD

  • Not too shy to talk

  • Posts: 143

  • Since: 2003/7/23


Quote:
i contacted the maker of the theme, and it appears to be a problem with the theme itself.


Nothing wrong with the theme Craig, just incorrectly edited theme.html.


Login

Donat-O-Meter

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

Latest GitHub Commits