W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2004

[Bug 922] php pages don't validate

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Oct 2004 11:58:06 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1CKF6U-0008MK-AM@wiggum.w3.org>


------- Additional Comments From nunoanjos@yahoo.com  2004-10-20 11:58 -------
Here is a line that is in all my php files:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

So, you can see that the content type is specified as text/html. And, of course,
this line doesn't have the url of a site in it, I try to follow all the w3c
recomendations as much as possible.

The error being on my side is out of the question (and I currently don't have
any header() calls in my php code to send the content type), because my php
pages validated well before (some weeks ago), and I didn't change or updated my
site too much. Only in the previous couple of days, I couldn't validate as
before due to the error I get. Could it be because my free web hosting service
recently changed all users' data to a new, bigger, better, faster and more
reliable server? I'm using http://www.100webspace.com as web hosting for my php

Now I'll try to give you all the information I can. The full error message, with
a yellow background, that I get is:

"Sorry, I am unable to validate this document because its content type is
http://nunoanjos.freeprohost.com/index.php?pagina=1, which is not currently
supported by this service.

The Content-Type field is sent by your web server (or web browser if you use the
file upload interface) and depends on its configuration. Commonly, web servers
will have a mapping of filename extensions (such as ".html") to MIME
Content-Type values (such as text/html).

That you recieved this message can mean that your server is not configured
correctly, that your file does not have the correct filename extension, or that
you are attempting to validate a file type that we do not support yet. In the
latter case you should let us know that you need us to support that content type
(please include all relevant details, including the URL to the standards
document defining the content type) using the instructions on the Feedback Page."

I get this message with index.php?pagina=1 in the address, just index.php, or no
file name. Before, when it worked all right, I could get a normal validation
without errors with any address: index.php, file name with a query string, or
just the ...prohost.com/ (directory).

My site's address is http://nunoanjos.freeprohost.com, you can check any page
source. Previously, maybe a few weeks ago (back then, in the old and overloaded
server), all my site's php pages validated well, as I told you. Maybe it's their
new server that isn't properly configurated to let php files be validated. If
this is the case, I can use their support service (which seems very good) to ask
them about it.

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Wednesday, 20 October 2004 11:58:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:08 UTC