August 7, 201214 yr I am in the process of repairing website page errors with the use of http://validator.w3.org.'>http://validator.w3.org. The problem that I am experiencing is that since my site was built in php, I am having a difficulty trying to find which files contain the identified errors when validating pages. It doesn't appear that http://validator.w3.org identifies the specific files where the errors exist. Does anyone have any suggestions as to how I could remedy this situation? Thanks.
August 8, 201214 yr The error log file on the server should help. It won't show up subtle errors (eg cross-browser CSS problems or deprecated HTML), but it will show you where/if the PHP is causing an issue. Each line will contain an error and refer to the file that caused it.
August 8, 201214 yr Author Where is the error log file located within the FTP folder? I don't see a folder reflecting error logs. Thanks.
August 8, 201214 yr Author I backed up my FTP folder onto my computer and used Notepad to locate the appropriate files with errors and it worked like a charm.
August 9, 201214 yr Good to hear! (And to answer the question for anyone else hunting for them, error logs are usually in the same directory as the file that caused the error, or sometimes in the root or public_html directories...for linux based servers at least, no idea about Windows, Apple etc)
Create an account or sign in to comment