Menu

no returns in .css or .php files

2008-04-14
2012-11-13
  • Nobody/Anonymous

    I've only been using notepad++ for a couple of days, so please excuse stupid questions/issues. 

    When I upload files written/edited with Notepad++ to my Wordpress based websites, the text does not have carriage returns, but rather runs on in one long string. Wordpress doesn't recognize the theme name in the .css files; and when I try to edit the .php files through the Wordpress admin screen, I get the following message: "The requested URL's length exceeds the capacity limit for this server."   

    As I recall, I didn't have this problem the with the first couple of files, so I may have inadvertently changed a setting.

    I'd appreciate any help--I've made a mess of things.

     
    • pshute

      pshute - 2008-04-15

      Try turning on visible end of line characters - View/show all characters.  Then you'll be able to see what kind of characters are being used for the ends of lines.  It might be that your only have CR or LF where perhaps Wordpress needs CR LF.  If so, try Format/Convert to Windows format.

      I could be completely wrong about what's happening here.

       
    • Nobody/Anonymous

      You were right--I had CR, Wordpress needs CR LF. I converted the file to Windows format, uploaded it, and everything is fine.

      Thank you SO much--this was getting on my last nerve.