[SOLUTION] Backend XML-Error in Firefox and 1.2.8 150806

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
silver
Posts: 16
Joined: Sun 13. Aug 2006, 04:52
Location: Cologne, Germany

[SOLUTION] Backend XML-Error in Firefox and 1.2.8 150806

Post by silver »

Hi folks,
after updating to 1.2.8 150806 I get the following error in Firefox when trying to login:

Code: Select all

XML-Verarbeitungsfehler: Syntax-Fehler
Adresse: http://christoph-von-gonschor.de/neu/login.php
Zeile Nr. 1, Spalte 63:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
--------------------------------------------------------------^
a similary error comes in Firefox, when trying to launch upgrade.php:

Code: Select all

XML-Verarbeitungsfehler: Nicht übereinstimmendes Tag. Erwartet: </link>.
Adresse: http://christoph-von-gonschor.de/neu/setup/upgrade.php
Zeile Nr. 16, Spalte 3:</head>
--^
In Firefox also the frontend looks a litte scattered...

In IE everything seems to work well.

What's up? anyone an idea?

Greetz

silver
phpwcms 1.2.8 (20060825) · rewrite on · no mods

PHP Version 4.4.2 (CGI)
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
silver
Posts: 16
Joined: Sun 13. Aug 2006, 04:52
Location: Cologne, Germany

Post by silver »

prob solved by this:
http://www.phpwcms.info/forum/viewtopic ... 0660#70660

By the way:
does anyone know if this is a general prob with FF?

BR

silver
phpwcms 1.2.8 (20060825) · rewrite on · no mods

PHP Version 4.4.2 (CGI)
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

It's a problem in the backend which is not XHTML compatible - so FF uses wrong renderer. My fault ;-).

But there is a setting in conf.inc.php which disables sending such header to the browser:

Code: Select all

$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

if in default.inc.php

Code: Select all

header('Content-Type: text/html; charset='.PHPWCMS_CHARSET);
is used for both - it seems to work in IE and FF also with XHTML setting for

Code: Select all

$_use_content_type = 'application/xhtml+xml';
so only the Header Data will bring the FF to work wrong and IE also doesn't work correct.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

don't mix it here - the setting in conf.inc.php is doing the correct thing. IE does not work with application/xhtml+xml so it is always using text/html.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply