Aimeos Shop scheduler

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Aimeos Shop scheduler

Post by derJu » 23 Nov 2016, 08:57

Hi,

I tried to export the products, when I run the scheduler the following error is displayed:

Code: Select all

Execution of task "Aimeos Shop scheduler (aimeos)" failed with the following message: Not allowed to access "controller/jobs/product/export/standard/template-header" configuration
Someone has an idea?

Best regards
derju

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Aimeos Shop scheduler

Post by aimeos » 23 Nov 2016, 18:05

Retrieving the configuration was too restrictive. Can you please try this package?
https://bintray.com/aimeos/aimeos-typo3 ... .1-dev.zip
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Aimeos Shop scheduler

Post by derJu » 25 Nov 2016, 08:26

It looks better.

I am testing the import with the dem csv file from:

Code: Select all

"item code","item label","item type","item status","text type","text content","text type","text content","media url","price quantity","price value","price tax rate","attribute type","attribute code","subproduct code","product list type","property value","property type","catalog code","catalog list type"
"job_csv_test","job csv test product","default",1,"short","short description","long","long description","path/to/image.jpg",1,"10.00","20.00","import-test","size",,,"1.50","package-weight","home","promotion"
"job_csv_test2","job csv test 2. product","select",1,"short","short selection description","long","long selection description","path/to/image2.jpg",1,"10.00","20.00",,,"job_csv_test","default","1.50","package-weight",,
i got this error:

Execution of task "Aimeos Shop scheduler (aimeos)" failed with the following message: Invalid product lines in "/var/www/vhosts/demosite.de/httpdocs/typo3temp/aimeos/": 3/3

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Aimeos Shop scheduler

Post by derJu » 25 Nov 2016, 08:40

i have the TypoScript of Aimeos Shop Scheduler like this:

Code: Select all

plugin.tx_aimeos {
    settings {
        controller.common.product.import.csv.separator = ,
        controller.jobs.product.import.csv {
            location =  /var/www/vhosts/demosite.de/httpdocs/typo3temp/aimeos/
      }
   }
}

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Aimeos Shop scheduler

Post by aimeos » 25 Nov 2016, 10:06

You don't need "plugin.tx_aimeos.settings". This is only for frontend plugins and has no meaning in the scheduler even if we made it work because many users make that mistake.

The default container type is a Zip file. If you want to use uncompressed CSV files in a directory, you must change the container type to "Directory": https://aimeos.org/docs/Configuration/C ... ainer/type
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Aimeos Shop scheduler

Post by derJu » 25 Nov 2016, 10:49

Thank you for the fast Support!

I change the Typoscript in the scheduler:

Code: Select all

        controller.jobs.product.import.csv.container.type = Directory
        controller.common.product.import.csv.separator = ,

        controller.jobs.product.import.csv {
            location =  /var/www/vhosts/demo.de/httpdocs/typo3temp/aimeos/
      }
The error is the same like befor:
Execution of task "Aimeos Shop scheduler (aimeos)" failed with the following message: Invalid product lines in "/var/www/vhosts/demo.de/httpdocs/typo3temp/aimeos/": 3/3

In the Log file from Typo3 i find this log:
Core: Error handler (BE): PHP Runtime Deprecation Notice: call_user_func_array() expects parameter 1 to be a valid callback, non-static method BK2K\BootstrapPackage\UserFunc\Typo3VersionCondition::match() should not be called statically in /var/www/vhosts/demo.de/httpdocs/typo3/sysext/core/Classes/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcher.php line 428

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Aimeos Shop scheduler

Post by aimeos » 25 Nov 2016, 10:52

Can you try

Code: Select all

        controller.common.product.import.csv.separator = ,
        controller.jobs.product.import.csv {
            location =  /var/www/vhosts/demo.de/httpdocs/typo3temp/aimeos/
            container.type = Directory
      }
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Aimeos Shop scheduler

Post by derJu » 25 Nov 2016, 10:57

nothing has changed

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Aimeos Shop scheduler

Post by aimeos » 29 Nov 2016, 18:55

There's most probably an error in your CSV mapping/file combination. Are there any other hints in the logs?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply