Forum - Support
joinus

Online

No members online
Members: 0 - Guests: 64

Newsletter

  • You Are Here
pabro Brosamer OFFLINE
Post : 5

error on Import items

#1037 12 Nov 2012 15:08
Hi,

if i import my fleximigrate.zip in new joomla 2.5.7 and latest fleximigrate, there are some error messages (you can see on attached file) and NO items are imported .

By steps Import items, Import items additional informations, Import releases datas there are messages like:

Warning: Invalid argument supplied for foreach() in /www/htdocs/xxx/administrator/components/com_fleximigrate/classes/helper.php on line 443


error-screen.jpg
Last Edit: 23 Jan 2013 21:48 by netassopro.
netassopro NetAssoPro OFFLINE
Post : 622

Re: error on Import items

#1040 13 Nov 2012 13:42
Hi,

I understand the problem. I imagine you have further categories linked on an item, and the problem come from that the old id for a category is the same id than another category allready linked on this item (a little difficult to explain... sry)
For the moment the best way it's no correct it manually in the item imported, take the id of the item ("duplicate entry for xxx-yyy" yyy = item id). And go into your article to correct the problem. If you have no too many items, it s the best way to solve the problem.
pabro Brosamer OFFLINE
Post : 5

Re: error on Import items

#1042 13 Nov 2012 14:11
thanks for your reply.

the problem is, there are not any items imported (only catgeories ...). The red message with "duplicate entry" are not show again after retrying to import ... but the black errors with "Invalid argument supplied for foreach()" are always shown and still no items are imported.
netassopro NetAssoPro OFFLINE
Post : 622

Re: error on Import items

#1044 13 Nov 2012 14:38
You have this errors because it seems you xml file is corrupted (flexicontent_items_ext.xml and content.xml). Can you try to export new datas and import them after on a new empty platform.
pabro Brosamer OFFLINE
Post : 5

Re: error on Import items

#1049 15 Nov 2012 16:10
hm, i dont know but the files seems (for me) to be ok.

there are a lots of items saved with this structure (content.xml):
<content><value><id>text</id><title>text</title><alias>text</alias><title_alias>text</title_alias><introtext>text</introtext><fulltext>text</fulltext><state>1</state><sectionid>1</sectionid><mask>0</mask><catid>14</catid><created>2010-10-18 12:11:12</created><created_by>62</created_by><created_by_alias></created_by_alias><modified>2012-06-28 08:06:12</modified><modified_by>63</modified_by><publish_up>2010-10-18 12:11:12</publish_up><publish_down>0000-00-00 00:00:00</publish_down><images></images><urls></urls><attribs></attribs><version>18</version><parentid>0</parentid><ordering>1</ordering><metakey></metakey><metadesc></metadesc><access>0</access><hits>12214</hits><metadata><![CDATA[robots= author=]]></metadata></value><value><id> ... and so on </content>
netassopro NetAssoPro OFFLINE
Post : 622

Re: error on Import items

#1051 15 Nov 2012 17:52
Can you attach the fleximigrate.zip, i need to test. Because i don't understand the origin of the problem.
pabro Brosamer OFFLINE
Post : 5

Re: error on Import items

#1053 16 Nov 2012 11:13
ok, i had illegal characters (non SGML character) in 2 description text. perhaps during copy text from pdf ... After editing, it works

Latest comments

  • FLEXICalendar
    By Griffouilles on 21/05/13 13:08
    got same question XD
  • FLEXI Migrate
    By NetAssoPro on 27/03/13 11:58
    Merci de reporter vos problèmes techniques dans l'espace dédié : le forum de support.
  • FLEXI Migrate
    By Xavier Lemoine on 26/03/13 17:46
    Impossible d'obtenir une migration fonctionnelle : après migration, Flexicontent reste bloqué sur "I...

Latest Posts

Most Downloaded