Page 1 of 1
Importing Theme: "DTD Version mismatch, cannot import"
Posted: Tue Sep 14, 2010 1:21 pm
by fotojoe
Hey all,
New to CMSMS but I've had a good look and decided to give it a go for a new website. I'm having trouble installing themes though.
Every time I try to import a theme (Layout > Theme Manager > Import) I get the "DTD Version mismatch, cannot import". I've tried it with lots of Themes now and all give the same error. I tried both .xml and unzipped .zip themes, both the same.
I'm running the latest stable release: 1.8.2
Anyone got any ideas?
I've seen similar threads on here from my searches but haven't found a solution. Want to get the site running asap so will have to find another CMS solution if I can't get past this.
Thanks for any help!
Joe
Re: Importing Theme: "DTD Version mismatch, cannot import"
Posted: Tue Sep 14, 2010 2:27 pm
by peterbus
found this on the net. Hope it 'll help you solve the problem
SYMPTOMS
CMS Made Simple may return the following error when attempting to import a theme using Theme Manager:
Theme Manager
Error!
DTD Version mismatch, cannot import
CAUSE
The issue occurs because the theme has not been successfully uploaded to the web server. By default, the php.ini file does not include a value for the upload_tmp_dir variable. As a result the template is never written to the a local directory on the web server and cannot be read to determine the DTD version number.
RESOLUTION
Set the upload_tmp_dir value in php.ini to a directory that can be written by the IIS7 anonymous account. Restart IIS. You may now import the theme using Theme Manager
Re: Importing Theme: "DTD Version mismatch, cannot import"
Posted: Wed Sep 15, 2010 9:51 am
by fotojoe
Thanks for the reply. I don't have access to a php.ini file to change php settings. The template files seem to be uploading into the uploads folder ok.
Is there a way to manually upload the template files? I don't mind doing that.
Re: Importing Theme: "DTD Version mismatch, cannot import"
Posted: Wed Sep 15, 2010 1:26 pm
by peterbus
can't you find it or don't have permission? If the latter, can you ask your host to change the php.ini?
"Ad upload_tmp_dir = /var/tmp to php.ini, made sure that my webserver users could write to /var/tmp and restarted Apache -- all was well."
Re: Importing Theme: "DTD Version mismatch, cannot import"
Posted: Wed Sep 15, 2010 1:51 pm
by peterbus
Hi Joe,
If you go
http://themes.cmsmadesimple.org/Download_Themes.html and choose to download the Theme "Another port from artisteer " (page 4) you'll find a instruction.txt file. In this you can read how to manually install this theme. MAybe you can use it with you's.
Re: Importing Theme: "DTD Version mismatch, cannot import"
Posted: Tue Sep 28, 2010 4:28 pm
by Dr.CSS
@fotojoe
Depending on which theme it is some have XML file and some are in ZIP form, if you could tell me what ones you can't get to work I may be able to fix them...
Re: Importing Theme:
Posted: Mon Jul 11, 2011 3:29 am
by longhorn
I'm having the same issue with a Theme called "Nichess_4" by Nichess. The Version I'm using is 1.9.4.2.
Re: Importing Theme:
Posted: Sat Oct 01, 2011 10:02 pm
by Dr.CSS
The XML is a mess, open the .tpl copy it into new template, copy CSS into new style sheet, upload images, change paths to images in template and CSS...
You need to make a GCB for the one called in the template or remove that call...
Re: Importing Theme:
Posted: Tue Nov 29, 2011 11:48 am
by Gast00n
longhorn wrote:I'm having the same issue with a Theme called "Nichess_4" by Nichess. The Version I'm using is 1.9.4.2.
nichess4 xml file gives an error because of an empty stylesheet.
Edit xml file, detele lines 68 to 72.
It worked for me (Cmsms v.1.10.1)
Once installed, just edit templates, and replace {stylesheet} by {cms_stylesheet}