Support is online

bad import, not processed #8323

Open Anton666 opened this topic Saturday, 04 June 2016 · 18 replies
Author

I am imported new file - see attachment
Why a got 2 errrors? line 14 and 164?
And a see only update old articles!!
new content is not added
template id - 14
why?

Support

Hello,

Why a got 2 errrors? line 14 and 164?

What is the error you are seeing? Can you post a screenshot of it?

And a see only update old articles!!
new content is not added
template id - 14
why?

You are seeing only update in your import because of id field in your import file. CSVI will add or update a article based on id field. If id field is available in import file, it will do an update else will do an insert of article. Remove this id field for new article and your import will be good.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Thank you
i ll check about 2 errors
If i want to add articles with own id? can i do this?

I want to add also new product with own id or i cannot add with id? id only add automatical?

Support

Hello Anton,

You should not mess with the IDs, it is the job of the database to manage the IDs. When you edit articles via Joomla you can't control the ID either but you use the alias field for this. So do the same with the import.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

ok, but script ignored field creation date!
how to add article or product with own different creation date?

if i add without id, it added as a new product and creation date is today date!

i am move old products and materials from other site and i need that creation date was different by my file

Support

Hello Anton,

ok, but script ignored field creation date!
how to add article or product with own different creation date?

if i add without id, it added as a new product and creation date is today date!

Since you are creating new articles your created date is today's date, It works the same when you create an article from Joomla article manager where you cannot have your own creation date.

i am move old products and materials from other site and i need that creation date was different by my file

The only option i can think of is you do a custom table import to Joomla contents table where you have only id and created as template fields and update the date as you want.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

I made this, import was access, but field creted and date of creating was not change!!
please check!!

Support

Hello Anton,

I see you are doing a custom table import, this means CSVI doesn't do any data validation. Which can be perfectly fine of course if that is what the goal is.

The problem with the import file in this case is that you are missing the primary key of the content table so CSVI is never able to find the record you want to update. That is why nothing gets updated.

The other problem is the value of the created field. The database needs a value like YYYY-MM-DD HH:II:SS, so it would look like 2015-12-31 23:59:59.

The regular Joomla content import sets the current date if you import a new article or updates the modified date if you are modifying an article.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

primary key - what does it means? please explane on example!

format date i was changed!! no problem!!

Support

The primary key is the unique identifier of an item. In your case, each article has an ID, this is the primary key. You may want to create an export template of the type CSVI Pro -> Custom table -> Content table. Add the fields id, title and created. After you export that file you can change the created value as you like and run the import with that file.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

i maked export content and got this date format
07.06.2016 07:04:30

may be about 07-06-2016 07:04:30 you are wrong?

Support

Have you changed the date/time format in your template? If not, if you see this in a spreadsheet, the spreadsheet is changing the format. Check the file with a basic text editor and it should be the same as it is in the database.

In any case, to import it must be the format I gave you.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Why i do export and are not field exporting?
content table consist 179 field - in export file - only 143 fields!!!
Why?

Support

Hello Anton,

Why i do export and are not field exporting?
content table consist 179 field - in export file - only 143 fields!!!
Why?

Are the rest of the fields published?

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

yes thank you

Author

Do you have ability in csvi?

i have a import file

theare 15 fields!! but only 10 fields i have to use for import! It's very convient for me!!

how to say to scrip to avoid several fields?

for example skip field #5 and 10?

Support

Hello Anton,

how to say to scrip to avoid several fields?

Add all the fields in your file to the template by going to Templates -> Template Fields. The fields you do not want to import, select the field type skip. CSVI will skip these fields during import.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

fieldname choose skip - between othe fields?

Whats field equal product_title?
tittle for product? for meta?

Support

fieldname choose skip - between othe fields?

What is the question?

Whats field equal product_title?

This is the product_name.

tittle for product? for meta?

Check the documentation for products and for Meta information

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.