Forums

Error using style switcher (10 posts)

  1. ronda
    Member
    Posted 8 years ago #

    I get this error (and yes, I think I followed all the directions): Warning: Cannot modify header information - headers already sent by (output started ....wp-style-switcher.php on line 37
    So what did I do wrong?
    Thanks for your help!

  2. ronda
    Member
    Posted 8 years ago #

    I made a change and I'm now getting the same error, but for lines #28 and #29.

  3. ronda
    Member
    Posted 8 years ago #

    Never mind - fixed it...

  4. Syrion
    Member
    Posted 8 years ago #

    My "problem" is not worth a new thread so let's fo it this way:
    At my site I can easily switch between the styles. But when TechGnome tried to swap back from 'Toxic' to 'The Red End' he didn't get the css. My first guess was because of the spaces in the template name (and also the template directory).
    I took a look to the source and found out it links to "the+red+end" instead of "the%20red%20" end. Is this the problem? And if so, how can I avoid it?
    (Note: I would like to see "the red end" in my links and not the+red+end or so)
    Thanks in advance!

  5. Alex King
    Member
    Posted 8 years ago #

    You'll need to edit the hack to get it to behave that way.

  6. Syrion
    Member
    Posted 8 years ago #

    ok, I've looked into it but can't find out which part needs to be edited. Can anyone help me with this?
    Thanks in advance!

  7. direcow
    Member
    Posted 8 years ago #

    I got the same problem as ronda: ronda, how did you fix it?

  8. Alex King
    Member
    Posted 8 years ago #

    Search for the error message on this board, there are a number of posts about it.

  9. MisterX
    Member
    Posted 8 years ago #

    If the spaces are indeed your problem, you could use eregi_replace to strip the spaces from the style name, so The style I Like becomes The-style-I-Like
    Not sure if that helps...

  10. cyron
    Member
    Posted 8 years ago #

    Ok, I've tried, I've really tried to avoid asking. But I'm having the same problem ronda had. I've searched the forums, I've googled, I've hacked away manually, but I simply don't know how to solve this problem.
    Can someone please pretend like they're talking to an idiot and give me a helping hand? :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.