Author Topic: Problema en header.html  (Read 8616 times)

0 Members and 1 Guest are viewing this topic.

Offline Tiloechos

  • Newbie
  • *
  • Posts: 45
    • View Profile
Problema en header.html
« on: April 12, 2007, 12:34:07 PM »
Hola amigos. He integrado 4images en mi web para hacer una web de subida y bajada de archivos.

En concreto, he creado esta web: www.examenesvalladolid.com , pero el problema es que seme inserta delante de la declaracion del tipo de documento unos caracteres raros , es decir la pagina, si la veis con firefox y le dais a ver codigo fuente vereis lo siguiente:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Que puedo hacer para eliminar eso?

Gracias

Offline excitex2

  • Addicted member
  • ******
  • Posts: 1.590
  • He desactivado la galería y el buscador
    • View Profile
Re: Problema en header.html
« Reply #1 on: April 12, 2007, 08:57:43 PM »
Saludos,,,

Has insertado palabras con acento o signos especiales en el nombre o descripción de las imágenes o categorias ??????

excitex2
Lo importante no es saber,,, lo importante es tener el E-Mail de quien sabe

Offline Tiloechos

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: Problema en header.html
« Reply #2 on: April 15, 2007, 12:20:41 AM »
No... :(

bueno no si entro en el admin en general opciones

pero en los meta tagas creo que si, pero con & acute;

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Problema en header.html
« Reply #3 on: August 22, 2007, 01:20:26 PM »
Hola encontre la solucion a tu problema:
by V@no:
there are some characters showed on top of each page. . I've experienced such myself in the past, and it turned out caused by my php editor that saved files in Unicode (UTF-8) encoding and added "BOM" identifications at the beginning of each file. Normaly any editor that supports Unicode/UTF8 does not show these characters, but PHP seems to treat them as a plane text and send them to the browser as plain text.

So, make sure you save your files in 8-bit ecoding (ISO) and not in unicode.

P.S. if you copy text from a web page that uses Unicode or UTF-8 and then paste it into notepad/wordpad and save it, it will save the file in Unicode or UTF-8 encoding.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Problema en header.html
« Reply #4 on: August 22, 2007, 10:55:31 PM »
Hi,

1st time I post here ... for characters - is 32 bits sometime. PHP is 8 bit format (correct ascanio ;)). Use notepad for view / edit / save if see error message for chars. Should fix. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?