DTD Version mismatch, cannot import

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
maxwellb
Forum Members
Forum Members
Posts: 14
Joined: Fri Jun 01, 2007 3:09 am

DTD Version mismatch, cannot import

Post 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
dsamms

Re: DTD Version mismatch, cannot import

Post 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.
BlinkCorp

Re: DTD Version mismatch, cannot import

Post 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
Post Reply

Return to “CMSMS Core”