426 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
SimpleSites4U says

Hey folks

just curious if anyone has experienced anything like this before

I use notepadd++ and up untill very recently iv loved it, but im noticing some strange behaviour and cant work out whats causing it

Basically, when i finish a file, say a plugin or wp theme, when i upload it it changes all on its own (adding lines here and there) so by the time i re download the file it looks weird and has a lot of lines added which in turn cause some errors (header already sent etc)

I cant fix them by removing the lines but does anyone know whats going on and how i can get round it? am i doing something wrong?

iv used it for over a year but its only start this over the last few days

639 posts
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
+1 more
Crakken says

Not trying to make you hate Notepad++, but you should absolutely try Sublime Text 2:
http://www.sublimetext.com/
Mac and PC
Edit: I got Notepad++ but I never had this problem with it… It’s been a long long time since I used it (Because of Sublime Text 2) so it may be a version bug, did you update to the last version?

333 posts
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
vtimbuc says

I had a similar issue too on Windows when I saved a html file with notepad++.

426 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
SimpleSites4U says

Iv used sublime and its nice n all, but it struck me as bit costly for no benefits at all

I think you may be onto something about the updates Crakken, ill see if an older version still has this

Its a shame really as i have themes floating around the web and I cant be sure the code is the same as when I originally hit ‘save’

47 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
eduvoindo says

I had the same problem once, and it’s probably the same thing I had. Nothing to do with notepad++ and instead is your ftp client. Try uploading your files in BINARY mode instead of TEXT mode. (Also check if there is an AUTO option, and force it as always BINARY , because AUTO may be using TEXT when uploading php/html files)

That solved my problem ;)

337 posts No! It's not a 5 minute job!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+13 more
WebFactory says

As eduvoindo said – 98% it’s a FTP client issue.

426 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
SimpleSites4U says

Wehay!!!

thanks eduvoindo that appears to have solved it!!

Thanks for your reply! im really glad I posted now as my faith in np++ has been fully restored :D

47 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
eduvoindo says

Wehay!!!

thanks eduvoindo that appears to have solved it!!

Thanks for your reply! im really glad I posted now as my faith in np++ has been fully restored :D

NP++ is still (and always will be) the best free code editor, never loose faith ;)

426 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
SimpleSites4U says

ok so im having more beef

it became apparent whilst i was trying to upload a theme to the wp.org repository

basically something is still somehow off with np+, in this case the text in my style.css file looks fine in np+ but if i open up the file in say windows notepad some of the line where showing as on huge line, rather than neatly on separate lines as it looks in np++

anyone else experienced this kind of problem, if so how did you get round it?

47 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
eduvoindo says

Well most of my (np++) files when opened with windows notepad they look like you say. But hey, who cares about windows notepad anyway? If you try to open your files on a decent code editor, they will all look ok.

Reason must be, because windows notepad handles tabs (and other stuff) in a different way.

Still, why bother with windows notepad? try dreamweaver, you’ll see everything is cool :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by