[fixed] error importing ncleanblue design

Forum rules
Only administrators can post or move items here.
Post Reply
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

[fixed] error importing ncleanblue design

Post by archeo »

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)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: error importing ncleanblue design

Post by calguy1000 »

some error on line 26 of the export file.

Code: Select all

XMLReader::read(): file:///C:/wamp25/tmp/phpE92.tmp:26: element li: validity error : No declaration for attribute class of element li"
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.
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.
jce76350
Beta Tester
Beta Tester
Posts: 1953
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: error importing ncleanblue design

Post by jce76350 »

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
Jean-Claude Etiemble
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

Re: error importing ncleanblue design

Post by archeo »

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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [open] error importing ncleanblue design

Post by calguy1000 »

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.
jce76350
Beta Tester
Beta Tester
Posts: 1953
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: [fixed] error importing ncleanblue design

Post by jce76350 »

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
Jean-Claude Etiemble
Post Reply

Return to “Closed Issues”