HTML5 validation

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Chaffinch<
Posts: 52
Joined: Mon 30. Mar 2009, 18:36
Contact:

HTML5 validation

Post by Chaffinch< » Sat 30. Dec 2017, 22:49

I would like get rid of, a minor mistake in HTML5 validation.
In the configuration file, I have:
$phpwcms['mode_XHTML'] = 3; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict, 3 = HTML5

But on the site: https://html5.validator.nu, I get one error:
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
Error: A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.

From line 10, column 3; to line 10, column 64

Where can I make a correction?

http://krynica.malopolska.pl/HTML5_validation.png
Regards
Bogdan
Best Regards,
P.S. Sorry for my English or Deutsch.

User avatar
Chaffinch<
Posts: 52
Joined: Mon 30. Mar 2009, 18:36
Contact:

Re: HTML5 validation

Post by Chaffinch< » Sun 31. Dec 2017, 04:20

OK in line

Code: Select all

$phpwcms['X-UA-Compatible']     = 'IE=Edge,chrome=1';
I changed to

Code: Select all

$phpwcms['X-UA-Compatible']     = 'IE=Edge';
it's ok
Best Regards,
P.S. Sorry for my English or Deutsch.

User avatar
Oliver Georgi
Site Admin
Posts: 9443
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau
Contact:

Re: HTML5 validation

Post by Oliver Georgi » Sun 31. Dec 2017, 07:45

It was your older config settings. I have updated default values to $phpwcms['X-UA-Compatible'] = '';. There is no need any longer for this meta tag having IE11+. See https://github.com/slackero/phpwcms/com ... 42ca122eec
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Kleintierpraxis am Georgengarten

User avatar
Chaffinch<
Posts: 52
Joined: Mon 30. Mar 2009, 18:36
Contact:

Re: HTML5 validation

Post by Chaffinch< » Sun 31. Dec 2017, 11:58

Thank you very much :-)) I corrected.
Best Regards
Bogdan
Best Regards,
P.S. Sorry for my English or Deutsch.

Post Reply