• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC


Forum rules


Only administrators can post or move items here.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [fixed] error importing ncleanblue design
PostPosted: Sun Nov 02, 2014 7:27 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 21, 2014 12:47 pm
Posts: 104
Location: Lorient (France)
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)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: error importing ncleanblue design
PostPosted: Sun Nov 23, 2014 6:11 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 8166
Location: Fernie British Columbia, Canada
some error on line 26 of the export file.

\$1:
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: error importing ncleanblue design
PostPosted: Sun Nov 23, 2014 11:36 am 
Offline
Power Poster
Power Poster

Joined: Mon May 29, 2006 1:20 pm
Posts: 1947
Location: Rouen
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: error importing ncleanblue design
PostPosted: Sun Nov 23, 2014 7:06 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 21, 2014 12:47 pm
Posts: 104
Location: Lorient (France)
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [open] error importing ncleanblue design
PostPosted: Sat Dec 20, 2014 8:33 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed] error importing ncleanblue design
PostPosted: Sun Dec 21, 2014 9:07 am 
Offline
Power Poster
Power Poster

Joined: Mon May 29, 2006 1:20 pm
Posts: 1947
Location: Rouen
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting