Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Login Form Error
by fredski on 2004/8/4 10:36:12

Ok I tried removing the $xoops_url so it would just be /index.php, problem with that is it redirects to the site root index and not my XOOPS root index i.e ideal-handling.com/index.php rather than ideal-handling.com/portal/index.php.

the other redirects such as the register and password work fine with the $xoops_url

I then took the line out for the hidden redirect and it works fine, thanks Dave_L and also everyone else for their replys
Re: Login Form Error
by Catzwolf on 2004/7/30 13:10:11

Does it redirect you with the other parts of this form? ie with the <{$xoops_url}>/user.php#lost and <{$xoops_url}>/register.php?

If so, there could be a problem as phpp says. I would drop the xoops_url and try that.
Re: Login Form Error
by phppp on 2004/7/30 13:00:48

Quote:

fredski wrote:
But when I login the redirect goes to :-
http://www.ideal-handling.comhttp://www.ideal-handling.com/portal/index.php

Rather than http://www.ideal-handling.com/portal/index.php which is what it is supposed to do. Answer is probably staring me in the face but as I'm doing so manny changes at the moment my head is mush.


nothing else but XOOPS_URL."..."
it blocks your _POST variables

if your server safe mode on?
Re: Login Form Error
by Dave_L on 2004/7/30 12:45:20

Or you could try removing that hidden form field completely. I looked at how that field is processed in include/checklogin.php. The parsing is complicated and I'd have to spend more time to figure out exactly what it's doing. But if that form field is missing, then the default behavior is a redirect to XOOPS_URL.'/index.php', which appears to be what you want.
Re: Login Form Error
by Digiegirl on 2004/7/30 12:39:11

Hi Fredski,

The error may be here:

<input type="hidden" name="xoops_redirect" value="<{$xoops_url}>/index.php" />

try:

<input type="hidden" name="xoops_redirect" value="/index.php" />

Hope it helps,

Dee

Who's Online

178 user(s) are online (144 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

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