Daniel Thompson
Member
Posted 2 years ago #
I have been going round and round for a week trying to get WordPress to work on my windows server.
All of my problems were caused by using Microsoft notepad to edit my PHP files.
The files look fine when you are done, BUT THEY ARE JUNK.
Download new files and edit with metapad and things will work fine!!!! GRRRR
ClaytonJames
Member
Posted 2 years ago #
It seems more likely that there was an error in the editing, not a fault with the editor. (notepad). You don't want to use any editor that is a "word processor" because it can introduce unwanted formatting, but notepad is just a plain text editor. Although there are many other editors available with a wide variety of features, as a plain text editor in a windows environment, notepad works just fine.
Johnny T
Member
Posted 2 years ago #
The other problem that can cause this is uploading php files etc as "Binary" files. Binary files are things like gif's, jpg's etc. Some FTP clients don't do a very good job of automatically changing the way files are uploaded based on their type.
As for your 'notepad' problem. As Clayton correctly points out, you're ok with notepad as its just a plain text editor and doesn't introduce hidden formatting characters like MS Word does for instance.
Good luck! ;-)