Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can someone please take a look at this…


  • master5o1
    Participant

    @master5o1

    Can someone please take a look at this and tell me what i did wrong…

    I tried upgrading form 0.75 (or whatever bix is) …but was confusing so just deleted all tables but bb_users (so no one needs to re-register).

    Now I have no idea what is happening but there is no theme being shown and only text. ARGH!

Viewing 4 replies - 1 through 4 (of 4 total)

  • master5o1
    Participant

    @master5o1

    Somehow it just suddenly started working…—very weird!


    master5o1
    Participant

    @master5o1

    oh and the link was my forum


    master5o1
    Participant

    @master5o1

    OK…I’ve figured that in the <link> for stylesheet it only has http:/forum5o1 ( http:/ not http:// )

    yet in config.php it has http://forum5o1.awardspace.com not http:/

    and all the links have http:// …

    So I have no idea :S

    This only happens when a deisgn is “activated” so i will cause it to go to default (which is what i did before to make me think that it got fixed).

    Sorry to get back to you late. Copy this into a file and call it path-to-url.php and drop it into your /my-plugins/ folder. If you don’t have one, create it and drop that file into it.

    <?php

    function fix_bb_path_to_url( $url ) {
    return preg_replace( '|:/([^/])|', '://$1', $url );
    }

    add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );

    ?>

    It is an error that mdawaffe created that patch for at:

    https://trac.bbpress.org/attachment/ticket/575/path-to-url.php

    Trent

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar