I export ncleanblue design (this is the only one whose export is done properly with the xml extension), and then delete it. After that I import from the xml file. I get the following message:
"- __errhandler
C:\wamp25\www\cms\modules\DesignManager\lib\class.dm_xml_reader.php:57 - read
C:\wamp25\www\cms\modules\DesignManager\lib\class.dm_design_reader.php:40 - read
C:\wamp25\www\cms\modules\DesignManager\action.admin_import_design.php:48 - validate
C:\wamp25\www\cms\lib\classes\class.CMSModule.php:1377 - include
C:\wamp25\www\cms\modules\DesignManager\DesignManager.module.php:56 - DoAction
C:\wamp25\www\cms\lib\classes\class.CMSModule.php:1441 - DoAction
C:\wamp25\www\cms\admin\moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): file:///C:/wamp25/tmp/phpE92.tmp:26: element li: validity error : No declaration for attribute class of element li"
There is no error message when importing other designs (after manualy adding xml extension)
[fixed] error importing ncleanblue design
Forum rules
Only administrators can post or move items here.
Only administrators can post or move items here.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: error importing ncleanblue design
some error on line 26 of the export file.
I removed the debug statement.... there is a line that goes in the audit log that describes the error... and a generic exception is thrown.
However, I exported NCleanBlue and imported it twice (after deleting it) and had no difficulties.
Code: Select all
XMLReader::read(): file:///C:/wamp25/tmp/phpE92.tmp:26: element li: validity error : No declaration for attribute class of element li"
However, I exported NCleanBlue and imported it twice (after deleting it) and had no difficulties.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: error importing ncleanblue design
Test on Web server PHP 5.17-1~dotdeb.1 SVN 9764
Export and test import
page with messages only, no import
- __errhandler
/var/www/xxxx/web/cms_dev/modules/DesignManager/lib/class.dm_xml_reader.php:57 - read
/var/www/xxxx/web/cms_dev/modules/DesignManager/lib/class.dm_design_reader.php:40 - read
/var/www/xxxx/web/cms_dev/modules/DesignManager/action.admin_import_design.php:48 - validate
/var/www/xxxx/web/cms_dev/lib/classes/class.CMSModule.php:1377 - include
/var/www/xxxx/web/cms_dev/modules/DesignManager/DesignManager.module.php:56 - DoAction
/var/www/xxxx/web/cms_dev/lib/classes/class.CMSModule.php:1442 - DoAction
/var/www/xxxx/web/cms_dev/admin/moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): /tmp/phplNrByb:26: element li: validity error : No declaration for attribute class of element li
Export and test import
page with messages only, no import
- __errhandler
/var/www/xxxx/web/cms_dev/modules/DesignManager/lib/class.dm_xml_reader.php:57 - read
/var/www/xxxx/web/cms_dev/modules/DesignManager/lib/class.dm_design_reader.php:40 - read
/var/www/xxxx/web/cms_dev/modules/DesignManager/action.admin_import_design.php:48 - validate
/var/www/xxxx/web/cms_dev/lib/classes/class.CMSModule.php:1377 - include
/var/www/xxxx/web/cms_dev/modules/DesignManager/DesignManager.module.php:56 - DoAction
/var/www/xxxx/web/cms_dev/lib/classes/class.CMSModule.php:1442 - DoAction
/var/www/xxxx/web/cms_dev/admin/moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): /tmp/phplNrByb:26: element li: validity error : No declaration for attribute class of element li
Jean-Claude Etiemble
Re: error importing ncleanblue design
test on windows seven wamp 2.5 php 5.5.12 svn 9764
import NCleanBlue.xml
- __errhandler
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_xml_reader.php:57 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_design_reader.php:40 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\action.admin_import_design.php:48 - validate
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1377 - include
C:\wamp25\www\cmsbeta2\modules\DesignManager\DesignManager.module.php:56 - DoAction
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1441 - DoAction
C:\wamp25\www\cmsbeta2\admin\moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): file:///C:/wamp25/tmp/php2C00.tmp:26: element li: validity error : No declaration for attribute class of element li
import minimal.xml
- __errhandler
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_xml_reader.php:57 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_design_reader.php:40 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\action.admin_import_design.php:48 - validate
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1377 - include
C:\wamp25\www\cmsbeta2\modules\DesignManager\DesignManager.module.php:56 - DoAction
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1441 - DoAction
C:\wamp25\www\cmsbeta2\admin\moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): file:///C:/wamp25/tmp/php2405.tmp:41: element design: validity error : Element design content does not follow the DTD, Misplaced file
import cssmenu (after adding xml extension) --- > OK
and OK for all other designs exported without xml extensions.
import NCleanBlue.xml
- __errhandler
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_xml_reader.php:57 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_design_reader.php:40 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\action.admin_import_design.php:48 - validate
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1377 - include
C:\wamp25\www\cmsbeta2\modules\DesignManager\DesignManager.module.php:56 - DoAction
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1441 - DoAction
C:\wamp25\www\cmsbeta2\admin\moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): file:///C:/wamp25/tmp/php2C00.tmp:26: element li: validity error : No declaration for attribute class of element li
import minimal.xml
- __errhandler
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_xml_reader.php:57 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\lib\class.dm_design_reader.php:40 - read
C:\wamp25\www\cmsbeta2\modules\DesignManager\action.admin_import_design.php:48 - validate
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1377 - include
C:\wamp25\www\cmsbeta2\modules\DesignManager\DesignManager.module.php:56 - DoAction
C:\wamp25\www\cmsbeta2\lib\classes\class.CMSModule.php:1441 - DoAction
C:\wamp25\www\cmsbeta2\admin\moduleinterface.php:76 - DoActionBase
2 XMLReader::read(): file:///C:/wamp25/tmp/php2405.tmp:41: element design: validity error : Element design content does not follow the DTD, Misplaced file
import cssmenu (after adding xml extension) --- > OK
and OK for all other designs exported without xml extensions.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: [open] error importing ncleanblue design
fixed in svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [fixed] error importing ncleanblue design
OK solved in rev 9772
Nota ; If I delete the new import NCleanBlue-2
the files of import are not deleted
/uploads/designs/NCleanBlue-2
Nota ; If I delete the new import NCleanBlue-2
the files of import are not deleted
/uploads/designs/NCleanBlue-2
Jean-Claude Etiemble