[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] Re: another sitemgr bug :(
From: |
Patrick Walsh (mr_e) |
Subject: |
Re: [Phpgroupware-developers] Re: another sitemgr bug :( |
Date: |
Fri, 31 Jan 2003 12:31:57 -0500 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
The relocate thing is unrelated to sitemgr-link. It is specific to the
feature for allowing simple urls. So, for example, a page named XYZ can be
accessed by either of these URLS:
http://example.com/sitemgr/?page_name=XYZ
http://example.com/sitemgr/XYZ/
Relocate gets called whenever a 404 not found error is triggered. It
then looks to see if the last directory is a page name and delivers a page
or an error accordingly. It should work whether cookies are being used or
not. I have tested it both ways (a while ago now) and it worked. I'm not
sure what Dave is experiencing.
Sitemgr-link simply allows for a toolbar icon within phpgw that links to
the site...
On 1/31/03 11:51 AM, "address@hidden" <address@hidden>
wrote:
> I think, this is my responsability since I slightly changed the
> function sitemgr_link, and I am afraid, I did not think about the
> relocate hack.
> I do not understand how relocate works, but there is already something
> strange in the URLs generated.
> Just to make sure:
> Dave, is the site configured with cookies or not? I do not understand
> why you have empty session_id, kp3 and domain GET variables?
> Patrick, is relocate supposed to work without cookies?
>
> Michael
>
> "Patrick Walsh (mr_e)" <address@hidden> a écrit:
>
>> This problem was fixed a long time ago. The offending file, unless I'm
>> mistaken, is relocate.php. To track this bug down, add some debug print
>> statements around these lines:
>>
>> $pos = strpos($HTTP_SERVER_VARS['REQUEST_URI'],'?');
>> if ($pos === false)
>>
>> ..Patrick
>>
>> On 1/31/03 6:29 AM, "Dave Hall" <address@hidden> wrote:
>>
>>> Heyaz,
>>>
>>> I have found another bug with sitemgr while working on rebuilding
>>> phproupware.org, this was a bug in an old version of sitemgr, which was
>>> fixed by mr_e.
>>>
>>> When using the right side navbar(site index) it is creating urls like so:
>>>
>>> http://phpgroupware.org/mypage/?sessionid=&kp3=&domain=default
>>>
>>> The page loads fine when removing the /?sessionid=&kp3=&domain=default
>>> from the end of the url.
>>>
>>> Any ideas? I am tired, so heading off to bed without looking at the
>>> code, yes lazy i know, sorry.
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>