Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

#139 closed defect (bug) (fixed)

bloginfo('template_url') produces errors in buddypress-member

Reported by: bercon's profile bercon Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

When trying to insert stylesheet and JavaScripts by using bloginfo('template_url') in the header.php file in buddypress-member I get errors.

For the code:
<style media="all" type="text/css">@import "<?php bloginfo('template_url'); ?>/css/all.css";</style>

I get:
<style media="all" type="text/css">@import "<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hembio/public_html/wp-content/themes/buddypress-member/header.php:5) in <b>/home/hembio/public_html/wp-content/mu-plugins/bp-core/bp-core-catchuri.php</b> on line <b>77</b><br />
http://hembio.nu/wp-content/themes/buddypress-member/css/all.css";</style>

The above code works fine in buddypress-home.

Change History (2)

#1 @bercon
16 years ago

The above problem will be fixed if ticket #142 gets resolved - http://trac.buddypress.org/ticket/142.

#2 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.