PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Help... I uploaded a new theme and now things are weird..

s2Member Plugin. A Membership plugin for WordPress®.

Help... I uploaded a new theme and now things are weird..

Postby DagiB » May 19th, 2011, 9:00 am

Hello All, Thanks for having me in this forum ;o)

I used the plugin to create some protected pages, and then changes the theme (actually I updated the theme in Artisteer) but now instead of redirecting to the Membership options page I get this error:

"Warning: Cannot modify header information - headers already sent by (output started at /homepages/5/d176041184/htdocs/brainapps.eu/index.php:2) in /homepages/5/d176041184/htdocs/brainapps.eu/wp-includes/pluggable.php on line 897"

Any IDeas would be greatly appreciated...
I changed back to the old theme, but get the same issue... :(


Cheers,
Dagmar
Team Leader TeamGoingGlobal MSG
Earn while giving somethign away? Save Time AND money????
Sure! http://bit.ly/faUwri
User avatar
DagiB
Registered User
Registered User
 
Posts: 3
Joined: May 19, 2011

Re: Help... I uploaded a new theme and now things are weird.

Postby Cristián Lávaque » May 19th, 2011, 11:14 am

Hello Dagmar. :)

You seem to have some spaces or newline before the opening PHP tag <?php at the beginning of file brainapps.eu/index.php. The space is an ouput to the browser, but later in the script headers are trying to be sent, but headers have to go before output.

Just make sure the <?php is the very first thing in that file, that should solve it.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Help... I uploaded a new theme and now things are weird.

Postby DagiB » May 19th, 2011, 1:52 pm

Ah yes, there is some code there...
next question.. Where would I put the google analytics code then? it is supposed to go into the header of the index file.. I am sure there is a plug in for that :o)
Team Leader TeamGoingGlobal MSG
Earn while giving somethign away? Save Time AND money????
Sure! http://bit.ly/faUwri
User avatar
DagiB
Registered User
Registered User
 
Posts: 3
Joined: May 19, 2011

Re: Help... I uploaded a new theme and now things are weird.

Postby DagiB » May 19th, 2011, 1:52 pm

and Thanks for the quick help!
Team Leader TeamGoingGlobal MSG
Earn while giving somethign away? Save Time AND money????
Sure! http://bit.ly/faUwri
User avatar
DagiB
Registered User
Registered User
 
Posts: 3
Joined: May 19, 2011

Re: Help... I uploaded a new theme and now things are weird.

Postby drbyte » May 19th, 2011, 4:12 pm

DagiB wrote:Ah yes, there is some code there...
next question.. Where would I put the google analytics code then? it is supposed to go into the header of the index file.. I am sure there is a plug in for that :o)



Hi..try footer.php before the body closing tag

Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: Help... I uploaded a new theme and now things are weird.

Postby Cristián Lávaque » May 19th, 2011, 4:20 pm

You're welcome! :)

Yes, there are a plugin to add the Google Analytics code, some themes include that option as well, or Sam suggests you can edit footer.php in your theme and add it right before the </body> tag.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron