22/05/2012, 11:31
|
| | Fecha de Ingreso: mayo-2012
Mensajes: 21
Antigüedad: 12 años, 6 meses Puntos: 1 | |
Respuesta: Problema includes Gracias jotaincubus, pero me sigue dando el mismo problema, el problema está en el fragmento php y hace que me devuelva html repetido, si lo quito no me da error, pero no funciona los idiomas.
Los errores son estos:
Line 13, Column 3: "DOCTYPE" declaration not allowed in instance
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o…
Error Line 14, Column 43: document type does not allow element "html" here
<html xmlns="http://www.w3.org/1999/xhtml">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Pero ya digo que son errores producidos por el php.
Se te ocurre algo, gracias. |