[bbDev] (no subject)

Aditya Naik so1oonnet at gmail.com
Sat Jan 13 00:46:11 GMT 2007


fixed and added a patch

http://trac.bbpress.org/ticket/543

On 1/12/07, Aditya Naik <so1oonnet at gmail.com> wrote:
>
> the problem is in get_path function
>
> function get_path( $level = 1 ) {
>     if ( isset($_SERVER['PATH_INFO']) ) :
>         $url = explode('/',$_SERVER['PATH_INFO']);
>         echo "1" . $url[$level];
>         return $url[$level];
>     else :
>         echo "2" . $url[$level];
>         return;
>     endif;
> }
>
> there are two problems;
> 1. path_info is not set by default. Apache 2 users may use AcceptPathInfo
> = On inside httpd.conf to define PATH_INFO
>
> 2. if it is set, it takes the by default it takes level 1 path_info and
> send its back so it might be anything depending on installation and so tried
> to go to single tag page. there it doesnt find that single tag so goes to
>
> http://forum.trentadams.ca/tags.php?tag=
>
> from here it will be redirected back to tags.php..
>
> i think we'll just need to revisit the get_path function
>
> any takers?
>
>
> On 1/12/07, Aditya Naik <so1oonnet at gmail.com> wrote:
> >
> > ok.. found the problem..
> >
> > i'll just send the code check up in a few minutes
> >
> > On 1/12/07, Trent Adams < trent.adams at gmail.com> wrote:
> > >
> > > On that site and my test site I am running the most recent version
> > > (except 2 changes last night).   This site in question I never tried
> > > with no plugins, but my test site on the same server actually does the
> > > same with no plugins or template changes.
> > >
> > > Trent
> > >
> > > On 1/12/07, Aditya Naik < so1oonnet at gmail.com> wrote:
> > > > also.. any one trying this try disabling all the plugins in the
> > > system.
> > > >
> > > >
> > > > On 1/12/07, Aditya Naik < so1oonnet at gmail.com > wrote:
> > > > > hey trent.. what exact version and changeset do you have on the
> > > site?
> > > > >
> > > > >
> > > > >
> > > > > On 1/12/07, Trent Adams < trent.adams at gmail.com > wrote:
> > > > > > Funny thing is a I set the debug as this doesn't work for me
> > > either.
> > > > > > I have tried the php5 in my.htaccess and it doesn't work
> > > either.   It
> > > > > > gives me a firefox error and nothing in debug:
> > > > > >
> > > > > > The page isn't redirecting properly
> > > > > >
> > > > > > Firefox has detected that the server is redirecting the request
> > > for
> > > > > > this address in a way that will never complete.
> > > > > >
> > > > > >     *   This problem can sometimes be caused by disabling or
> > > refusing to
> > > > accept
> > > > > >           cookies.
> > > > > >
> > > > > > I have php 4.3.38 and mySQL 4.1.21
> > > > > >
> > > > > > Check it out yourself.
> > > > > >
> > > > > > http://forum.trentadams.ca/tags.php
> > > > > >
> > > > > > Trent
> > > > > > _______________________________________________
> > > > > > bbDev mailing list
> > > > > > bbDev at lists.bbpress.org
> > > > > > http://lists.bbpress.org/mailman/listinfo/bbdev
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > drop by at http://www.adityanaik.com
> > > >
> > > >
> > > >
> > > > --
> > > > drop by at http://www.adityanaik.com
> > > > _______________________________________________
> > > > bbDev mailing list
> > > > bbDev at lists.bbpress.org
> > > > http://lists.bbpress.org/mailman/listinfo/bbdev
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > [company] - Adams Ranch Ltd.
> > > [email] -  trent.adams at gmail.com
> > > [phone] -  (403) 901-9030
> > > [office] - (403) 787-2204
> > > [fax] -   (866) 773-6483
> > > _______________________________________________
> > > bbDev mailing list
> > > bbDev at lists.bbpress.org
> > > http://lists.bbpress.org/mailman/listinfo/bbdev
> > >
> >
> >
> >
> > --
> > drop by at http://www.adityanaik.com
> >
>
>
>
> --
> drop by at http://www.adityanaik.com
>



-- 
drop by at http://www.adityanaik.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/bbdev/attachments/20070113/931e6c53/attachment-0001.htm


More information about the bbDev mailing list