Richard Vencu (@rvencu)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @rvencu

    Member

    I just tell you to look at that menu on Notepad++. you should choose Unix format, then save the file and upload it again on the server. this should fix your problem in my opinion

    EOL is end of line. Different OS uses different codes for EOL, we have Windows format, Mac format and Unix format. often is possible that is you save the text file with windows format it will look nice under windows os but may appear as a single long line for linux.

    notepad++ can help with that and correct your problem. you introduced the problem as soon as you edited the file and saved it with windows EOL

    @rvencu

    Member

    maybe you have an issue with the CR if you have a linux host maybe you need to go to Edit -> EOL Conversion and check the UNIX format for line end.

    otherwise it may appear for linux that all text is on line 1, hence the error

    @rvencu

    Member

    actually you need to replace exactly the whole string (including semicolon) with the second one (no semicolon at the end)

    also make sure that you do not mix ” with ‘ anywhere

    it is not that complicated to fix it. if you can’t just paste the code here including the surrounding lines so I can see it.

    @rvencu

    Member

    in my case I went to page.php template and replaced this

    comments_template();

    with this

    if (!stristr($_SERVER['REQUEST_URI'],'/forums/')) { comments_template(); }

    where forums is my forums base

    @rvencu

    Member

    It is strange. It worked for me in an instant. Only wp-content/plugins/bbpress/bbp-languages/ is needed…

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