Support » Theme: iBuddy » Blank lines at top of the HTML source code

  • Resolved IdeFixx

    (@idefixx)


    Hi,

    first of all, thanks for a great theme! Great job!

    I can’t find and delete blank lines, which are at the HTML source code of your theme.

    XML parsing failed: syntax error (Line: 2)

    I’ve tried to deactivate all plugins and activate default WP theme “2012”. So I am pretty sure it’s somewhere in the source files of the iBuddy theme.

    Empty lines causes broken RSS. Resp. !doctype must be @ the 1. line.

    Could you check it, please?

    E.g. same problem is @ your demo website: http://adamaz.tk/ibuddy/ + http://adamaz.tk/ibuddy/blog/

    Thanks in advance for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ayman

    (@aymanalzarrad)

    @idefixx, you are right the “demo” link was showing the RSS error.
    With new installation the error is not produced so I’m thinking is more likely to be some sort of conflict.
    Which versions of WordPress and BuddyPress are you using?
    Did you recently update your BuddyPress?
    What other plugins are you using?

    Hi,

    I have moved my test site live (still DEV ver.) @ shared webhosting (PHP 5.4) and I had some more problems with “text output” in PHP scripts.

    So I have just removed empty spaces in the file “custom-sidebars.php @ line 84” (could be called BOM) +++ ?> added at the last line.

    Website works fine now 😉

    WP ver. 3.5.2, BP ver. 1.8 +++ these “basic conf. plugins”:
    BP Group Activities Notifier, BP Redirect to Profile for Buddypress, BuddyPress Toolbar, Cleaner Gallery, Gallery Columns, prettyPhoto Media, Regenerate Thumbnails, resize-on-upload, rtMedia for WordPress, BuddyPress and bbPress, UploadPlus : File Name Cleaner, User Name Availability Checker for wordpress/buddypress, WP Migrate DB

    Theme Author Ayman

    (@aymanalzarrad)

    Hi @idefixx, thanks for replying.
    It’s been so strange on me…. because I still can’t reproduce the error… I even tried to add some extra empty spaces in custom-sidebars.php but everything kept working just fine.
    However, I’m glad that everything works fine for you now.

    Thanks for your time to build up & maintenance an unique theme for BP! Here is our demo/beta website: http://rcmarilyn.cz/

    Cheers!

    Theme Author Ayman

    (@aymanalzarrad)

    @idefixx, thanks for your feedback. You are making a nice use of the theme, just keep in mind to put all your customization into a child theme so you don’t lose any when you update the theme next time.
    Good luck

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank lines at top of the HTML source code’ is closed to new replies.