Page 1 of 1

Export error

Posted: 12 Jan 2016, 10:23
by Bollerx
Hi,
after i solved/fixed my import issue with your help found it in one of your posts, i have some export issue which i can't fix it.
I receive this message on the shop admin panel log "Product_Export_Text.exportFile": Missing parameter "site", i tried to set some TS configuration on scheduler "product export" task but with no luck.
P.S. the scheduler runs with no error or something...
plugin.tx_aimeos {
settings {
controller.jobs.product.export.location = /home/.../files/exports/
controller.jobs.product.export.sitemap.location = /home/.../files/exports/
controller.extjs.attribute.export.text.default.exportdir = /home/..../files/exports/
controller.extjs.product.export.text.default.exportdir = /home.../htdocs1.0/files/exports/
}
}
thanks for any help, have a good day!

Re: Export error

Posted: 12 Jan 2016, 15:14
by aimeos
Bollerx wrote: I receive this message on the shop admin panel log "Product_Export_Text.exportFile": Missing parameter "site", i tried to set some TS configuration on scheduler "product export" task but with no luck.
Which version of the TYPO3 extension are you using?

This problem is related to the text exports for products which you can create in the product tab. There seems to be an entry in the "Job" panel above the "Log" panel which has no valid site. Can you remove that entry from the job list and see if the error is gone?
Bollerx wrote:

Code: Select all

plugin.tx_aimeos {
 settings {       
        controller.jobs.product.export.location = /home/.../files/exports/
        controller.jobs.product.export.sitemap.location = /home/.../files/exports/
        controller.extjs.attribute.export.text.default.exportdir = /home/..../files/exports/
        controller.extjs.product.export.text.default.exportdir = /home.../htdocs1.0/files/exports/
        }
}
Did you've pasted this configuration into the TSconfig field of your scheduler task? If not it won't have any effect.

Re: Export error

Posted: 13 Jan 2016, 08:41
by Bollerx
Hi, First of all i would like to thank you for the quick and detailed reply.

1.
Which version of the TYPO3 extension are you using?
I'm using typo3 V7.6.2

2. Maybe my concept about the export product(s) and export catalog wasn't clear, need to check the documentation again or if it's not a problem to you to do it here...
first to answer to you, YES i've pasted this configuration's like i did on the import to scheduler TSconfig.
I've tested and no need for the other configuration settings the first row is enough:
plugin.tx_aimeos {
settings {
controller.jobs.product.export.location = /home/.../files/exports/
/files/exports/
}
}
... i did get a result now, the xml file contains the entire catalog export.
Can you remove that entry from the job list and see if the error is gone?
Of course if i remove from Aimeos shop admin page the job with export products i don't get anymore the error....

As i mentioned i selected some products to export and after i set it the language it appeared in the job(with editor - admin), after i executed the "export" and "admin interface jobs"(in - Scheduler), on the shop admin page the job get disabled (editor change to - scheduler) with error message ("Product_Export_Text.exportFile": Missing parameter "site").
The question is can i export just a few(~selected) products, or just the complete catalog structure?

Re: Export error

Posted: 13 Jan 2016, 16:14
by aimeos
Bollerx wrote: As i mentioned i selected some products to export and after i set it the language it appeared in the job(with editor - admin), after i executed the "export" and "admin interface jobs"(in - Scheduler), on the shop admin page the job get disabled (editor change to - scheduler) with error message ("Product_Export_Text.exportFile": Missing parameter "site").
The error is related to a wrong variable that causes the trouble. This is fixed now in the Aimeos Core (dev-master and 2015.10) and will be part of the next releases. Thanks for the hint! :-)
Bollerx wrote: The question is can i export just a few(~selected) products, or just the complete catalog structure?
The export in the admin interface only exports texts for translation, not complete products. Thus, you can only export all products at once using the appropriate jobs in the Aimeos scheduler task.