Page 1 of 1

DTD Version mismatch, cannot import

Posted: Sun Jun 03, 2007 1:01 am
by maxwellb
Ummmm....


I'm trying to import a template (Sinorca) from templates.cmsmadesimple.org and recieved the error:

Code: Select all

DTD Version mismatch, cannot import


I think I read on the forums that this might be caused by the XML file being generated by an incompatible version of CMSMS. I am running 1.0.6 - would anyone be able to export this template as this version, or provide a zip file?

It really is a great design!
Thanks for your assistance,
Max

Re: DTD Version mismatch, cannot import

Posted: Wed Jun 06, 2007 3:58 pm
by dsamms
If you have root access you might want to check your apache log file.  I was getting the same error message last night and the root cause was nothing to do with the DTD version.  Guess the template manager needs access to /var/tmp and I was only giving it access to /tmp.

From the Apache error log:
[error] PHP Warning:  Unknown: open_basedir restriction in effect. File(/var/tmp/) is not within the allowed path(s): (/home/blake07:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

Adding /var/tmp to the open_basedir in httpd.conf and restarting Apache resolved my problem.  Templates import without any problem now.

Re: DTD Version mismatch, cannot import

Posted: Mon Mar 03, 2008 4:16 am
by BlinkCorp
It could be that the file is not being uploaded to the web server.  In that case there is no way that the script can read the DTD version.  See this blog:
http://blinkcorp.spaces.live.com/blog/cns!BAFAC6CE05172092!385.entry

Ben
BlinkCorp