Double DOCTYPE [solved - template was broken]

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Double DOCTYPE [solved - template was broken]

Post by janvl »

Hi,

I have something that I cannot explain. There are 2 headers in the html source code

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

<head>
this is a 1.11.3 install. I have more installs with 1.11.3 that do not have this double lines.

As the install is not "live" yet, what could I do to solved it?
It is http://www.stajl.net (still empty and under construction).

Kind regards,
Jan
Last edited by janvl on Sun Dec 16, 2012 9:02 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Double DOCTYPE

Post by Rolf »

Looks fine to me...
Do you use add-on modules? I.e. Cataloger?

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: Double DOCTYPE

Post by janvl »

Hi Rolf,

Look at the source code with Firefox, you will find the DOCTYPE 2 times. The Template however only hat is 1 time. As you can see:

Code: Select all

{time_locale_d}
{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

<head>
I have loaded a lot of modules because I want to use the ecommerce-modules for a secure way of viewing graphics with a way to order scans.
Never before I have had something like that, it is utterly strange.
I might check the database, that I did not do so far.
System Data below.

Kind regards,
Jan

----------------------------------------------

Cms Version: 1.11.3

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.2
MenuManager: 1.8.4
MicroTiny: 1.2.4
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
Captcha: 0.4.5
CGExtensions: 1.31.2
CGEcommerceBase: 1.3.11
JQueryTools: 1.1.1
CGSimpleSmarty: 1.5.2
Products: 2.18.4
Cart: 1.8.4
FrontEndUsers: 1.21
FormBuilder: 0.7.3
SelfRegistration: 1.7.2
SiteMapMadeSimple: 1.2.6
CGPaymentGatewayBase: 1.1
Orders: 1.13.3
Statistics: 1.1.3
CustomContent: 1.8.3
Gallery: 1.6


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 8000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.17
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: An
safe_mode: Aus (Nein)
file_uploads: An (Ja)
post_max_size: 8M
upload_max_filesize: 8M
session_save_path: /is/htdocs/user_tmp/wp10625670_ZMV58VEOJD (1770)
session_use_cookies: An (Ja)
xml_function: An (Ja)
xmlreader_class: An (Ja)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.28
Server Db Grants: Es konnte keine "GRANT ALL" Berechtigung gefunden werden. Dies kann bedeuten, dass Sie bei der Installation oder Entfernen von Modulen Probleme haben könnten. Oder sogar beim Hinzufügen und Löschen von Elementen, einschließlich Seiten


----------------------------------------------
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Double DOCTYPE

Post by Rolf »

It works for me in FF
Try CTRL F5?

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: Double DOCTYPE

Post by janvl »

Hi Rolf,

I know.
The problem seems to be in the german template. The dutch and the english templates are both OK.
This is strange because I started with the german template and copied it to the dutch and english.

I will try to completely delete this template, copy the dutch one and rebuild it to a german one again. That will take a bit of time.

I found it when I was trying to use the fluidtextresizer and did check the html source-code. You can see that on www.stajl.at where I rebuild my own site in 3 languages (your model!).

When all is OK I will notify.

Kind regards,
Jan
janvl
Power Poster
Power Poster
Posts: 985
Joined: Wed Aug 13, 2008 10:57 am

Re: Double DOCTYPE

Post by janvl »

Hi,

changed to a new template and the problem is solved.

However 1 strange thing is still there.

I wanted to delete the template with the error but CMSMS does not let me, it says there is a page using the template but in the list op pages there is no such page.

I cleaned the cache, repaired tables, reorganised tables, renewed page-hierarchy, renewed routes but without effect.

I will have a look in the database later, for now the problem is solved.

kind regards,
Jan
Locked

Return to “[locked] Installation, Setup and Upgrade”