Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

May 31, 2020, 07:46:53 AM

Login with username, password and session length
  • Total Posts: 190050
  • Total Topics: 20835
  • Online Today: 105
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 1
Guests: 66
Total: 67

Author Topic: Problems with (CR LF) instead of (LF only) text format.  (Read 3420 times)

0 Members and 1 Guest are viewing this topic.

Offline Enemy1

  • Newbie
  • *
  • Posts: 3
Problems with (CR LF) instead of (LF only) text format.
« on: February 26, 2011, 03:03:10 PM »
Hi !

I got into trubble after updating to TinyPortal10rc1 running on Linux/Fedora.

The problem was that I got strange signs in TP-blocks, and I did get rid of almost everyone by open every php file and convert them to Linux code in LF only.

Im using "EditPad Lite" that im happy coding in and its got this "Convert to" option that helpt me with finding why it happend.

If you are only testing in windows this wouldnt have been a problem, but it unix/linux this is most disturbing.

I hope its easy to check !
and maybe its only me ...  :-\

Thanks for yours work to keep this great portal alive :D

Enemy1 / a Sweed

Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Problems with (CR LF) instead of (LF only) text format.
« Reply #1 on: February 27, 2011, 02:15:34 PM »

Are you actually using EditPad Lite to create the php code that you are then using in the blocks?  I've actually never heard of an issue like this but maybe Ichbin will see this and respond as he is more familiar with Linux then I am.  Have you tried any other editors?

Could you maybe attach a screenshot of what these "strange signs in TP-blocks" looks like so that we can see it, or, even better, setup a php block that shows them and give us a link to your site so that we can see them for ourselves

I use Notepad ++ myself.


Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Problems with (CR LF) instead of (LF only) text format.
« Reply #2 on: February 28, 2011, 09:37:42 AM »
Never had a problem like this, and I'm 100% using Linux on all my sites. Please do as Zar suggest so we can see what you are talking about.