Loading...
 
Skip to main content

Architecture / Installation


Login URL repetition

Hi,

When users hit the login button they go to
http://domain/virtualfolder/virtualfolder
instead of
http://domain/virtualfolder/
I had a look through the tpl and php files got to tiki-login.php but couldnt figure out where it builds the redirect or header.location string.

I guess it parses the current location and adds the vitrual directory in twice when it gets confused!?!

any ideas on how to fix this?

TIA

Tiki 1.7.4
Not using https

Hi There

Sounds to me like its a case of the server URI on admin->General or one of the URI values on admin->login is set incorrectly.

Using 1.7.4 I dont think the group homepages exist in admin->Groups so it cant be that either.

I would however suggest that you upgrade to 1.8.2 or 1.8.3 when it appears in the next week or so, as it includes valuable security fixes, that will prevent your data from being corrupted, deleted or your server hacked.

Damian


> Sounds to me like its a case of the server URI on admin->General or one of the URI values on admin->login is set incorrectly.
>
I checked this out and I am not using the URI setting but I am using the Wiki as homepage which in turn defaults to the root page.

Should I also set up the URI to, in effect, override the wiki page?

> hengis:
>
> > Sounds to me like its a case of the server URI on admin->General or one of the URI values on admin->login is set incorrectly.
> >
> I checked this out and I am not using the URI setting but I am using the Wiki as homepage which in turn defaults to the root page.
>
> Should I also set up the URI to, in effect, override the wiki page?

No it shouldnt be needed. However on Admin->General lower down, I think there was a servername section, maybe setting values in there will help Tiki understand where it should go. Also try setting the values for server and path on admin->login.

> No it shouldnt be needed. However on Admin->General lower down, I think there was a servername section, maybe setting values in there will help Tiki understand where it should go. Also try setting the values for server and path on admin->login.
>

No can do - the site is published in two places - one internal and one external which is a bit slower. so if I define the server name it will be wrong 50% of the time 😑

same with the URI!

Any developers know where to look beyond the tiki-login.tpl

Ta muchly

> No can do - the site is published in two places - one internal and one external which is a bit slower. so if I define the server name it will be wrong 50% of the time 😑
>
> same with the URI!
>
> Any developers know where to look beyond the tiki-login.tpl
>

Well being about the only developer that sits in these forums, Id check the the value of the $url at various places as it gets built in tiki-login.

Damian

>
> Well being about the only developer that sits in these forums, Id check the the value of the $url at various places as it gets built in tiki-login.
>
> Damian

flameshield on A Developer and a Guru - is that not an oxymoron? 😉 flameshield off

I tried using the debug console and got watches going - I also added stuff like TikiDebuggerConsoleQuestion but I dont get those messages appearing in the console - am I missing what I am meant to do or is the debug tab different from the console?

Thanks man



> Sounds to me like its a case of the server URI on admin->General or one of the URI values on admin->login is set incorrectly.
>
I checked this out and I am not using the URI setting but I am using the Wiki as homepage which in turn defaults to the root page.

Should I also set up the URI to, in effect, override the wiki page?

> hengis:
>
> > Sounds to me like its a case of the server URI on admin->General or one of the URI values on admin->login is set incorrectly.
> >
> I checked this out and I am not using the URI setting but I am using the Wiki as homepage which in turn defaults to the root page.
>
> Should I also set up the URI to, in effect, override the wiki page?

No it shouldnt be needed. However on Admin->General lower down, I think there was a servername section, maybe setting values in there will help Tiki understand where it should go. Also try setting the values for server and path on admin->login.

> No it shouldnt be needed. However on Admin->General lower down, I think there was a servername section, maybe setting values in there will help Tiki understand where it should go. Also try setting the values for server and path on admin->login.
>

No can do - the site is published in two places - one internal and one external which is a bit slower. so if I define the server name it will be wrong 50% of the time 😑

same with the URI!

Any developers know where to look beyond the tiki-login.tpl

Ta muchly

> No can do - the site is published in two places - one internal and one external which is a bit slower. so if I define the server name it will be wrong 50% of the time 😑
>
> same with the URI!
>
> Any developers know where to look beyond the tiki-login.tpl
>

Well being about the only developer that sits in these forums, Id check the the value of the $url at various places as it gets built in tiki-login.

Damian

>
> Well being about the only developer that sits in these forums, Id check the the value of the $url at various places as it gets built in tiki-login.
>
> Damian

flameshield on A Developer and a Guru - is that not an oxymoron? 😉 flameshield off

I tried using the debug console and got watches going - I also added stuff like TikiDebuggerConsoleQuestion but I dont get those messages appearing in the console - am I missing what I am meant to do or is the debug tab different from the console?

Thanks man