Scheduler error
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 29
- Joined: 04 Mar 2015, 09:16
Scheduler error
Hello,
i try to setup the latest aimeos shop system 2.3.1 with Typo3 6.2.15 an PHP 5.4.42 and i get errors.
I configured the job like described in the Manual TYPO3/Install Aimeos/Configure scheduler tasks
https://aimeos.org/docs/TYPO3/Install_A ... uler_tasks
with ExtBase-CommandController-Task.
To get more jobs running with one task, what should i put in the Argument field of the task flexform?
Maybe: admin/job catalog/index/rebuild admin/job catalog/index/rebuild ?
Or with quotes: "admin/job catalog/index/rebuild" "admin/job catalog/index/rebuild" ?
how can i setup the job: Admin interface jobs ? Please explain with more details in the Manual.
Thank you!
i try to setup the latest aimeos shop system 2.3.1 with Typo3 6.2.15 an PHP 5.4.42 and i get errors.
I configured the job like described in the Manual TYPO3/Install Aimeos/Configure scheduler tasks
https://aimeos.org/docs/TYPO3/Install_A ... uler_tasks
with ExtBase-CommandController-Task.
To get more jobs running with one task, what should i put in the Argument field of the task flexform?
Maybe: admin/job catalog/index/rebuild admin/job catalog/index/rebuild ?
Or with quotes: "admin/job catalog/index/rebuild" "admin/job catalog/index/rebuild" ?
how can i setup the job: Admin interface jobs ? Please explain with more details in the Manual.
Thank you!
Re: Scheduler error
Well the field label reads:
When you set up the job in TYPO3 BE the default value for the field "Argument" reads:
so that´s already three jobs:
separated by spaces, no quotes.
Best
Robert.
Code: Select all
Argument: jobs. List of job names separated by a space character like "admin/job catalog/index/rebuild"
Code: Select all
customer/email/watch order/email/delivery order/email/payment
Code: Select all
customer/email/watch
order/email/delivery
order/email/payment
Best
Robert.
Re: Scheduler error
Hm,
I just saw that the default jobs causes an error:
I think in line 93 $conf should be passed instead of $context, right?
At least with that change the task executes successfully.
Best
Robert.
I just saw that the default jobs causes an error:
Code: Select all
PHP Catchable Fatal Error: Argument 1 passed to Aimeos\Aimeos\Scheduler\Base::execute() must be of the type array, object given, called in /var/www/.../typo3conf/ext/aimeos/Classes/Command/JobsCommandController.php on line 93 and defined in /var/www/.../typo3conf/ext/aimeos/Classes/Scheduler/Base.php line 30
Code: Select all
Scheduler\Base::execute( $conf, explode( ' ', $jobs ), $sites );
Best
Robert.
Re: Scheduler error
To get back to your initial question: IMHO the manual states to use the Extbase CommandController Task only for the email jobs and you may continue to use Aimeos own jobs for the admin jobs.alpin3rocker wrote: how can i setup the job: Admin interface jobs ? Please explain with more details in the Manual.
Best
Robert.
Re: Scheduler error
That's correctboettner wrote: To get back to your initial question: IMHO the manual states to use the Extbase CommandController Task only for the email jobs and you may continue to use Aimeos own jobs for the admin jobs.
The problem regarding the PHP error has been already fixed in the latest code:
https://github.com/aimeos/aimeos-typo3/issues/5
-
- Posts: 29
- Joined: 04 Mar 2015, 09:16
Re: Scheduler error
Hello
to get rid of the Scheduler errors:
1. deinstalled the aimeos extension and deleted in typo3conf/ext
2. get the "aimeos-typo3" https://github.com/aimeos/aimeos-typo3 and the "aimeos-core" https://github.com/aimeos/aimeos-core.
3. put The content of aimeos-core to aimeos/Resources/Libraries/aimeos/aimeos-core
3. uploaded all to the server and installed the extension with errors.
I think i do something wrong. What is the right way?
Why switched the version back to 2.3.0 in Extension Manager after install of the latest github code?
Thank you!
to get rid of the Scheduler errors:
1. deinstalled the aimeos extension and deleted in typo3conf/ext
2. get the "aimeos-typo3" https://github.com/aimeos/aimeos-typo3 and the "aimeos-core" https://github.com/aimeos/aimeos-core.
3. put The content of aimeos-core to aimeos/Resources/Libraries/aimeos/aimeos-core
3. uploaded all to the server and installed the extension with errors.
I think i do something wrong. What is the right way?
Why switched the version back to 2.3.0 in Extension Manager after install of the latest github code?
Thank you!
Re: Scheduler error
I'm missing the "composer update" step in your list:alpin3rocker wrote: 1. deinstalled the aimeos extension and deleted in typo3conf/ext
2. get the "aimeos-typo3" https://github.com/aimeos/aimeos-typo3 and the "aimeos-core" https://github.com/aimeos/aimeos-core.
3. put The content of aimeos-core to aimeos/Resources/Libraries/aimeos/aimeos-core
3. uploaded all to the server and installed the extension with errors.
https://aimeos.org/docs/TYPO3/Download_ ... atest_code
The minor version of the extension is only changed when creating a new branch and this is only done for major release steps. Thus, it's still 2.3.0 instead of 2.3.1 or 2.3.2-dev.alpin3rocker wrote: Why switched the version back to 2.3.0 in Extension Manager after install of the latest github code?
-
- Posts: 29
- Joined: 04 Mar 2015, 09:16
Re: Scheduler error
Hello,
thank you for answers!
Now i tried to update aimeos and something is going wrong, and a little confused to me.
The Aimeos Extension is in a fresh installed typo3 6.2.15 and aimeos 2.3.1 from Extension Manger (aimeos is deactivated)
1. I logged in with ssh to my webspace and changed to folder typo3conf/ext/aimeos .
2. In "typo3conf/ext/aimeos" download composer with this command:
3. next run this command to do the updates:
Because the expected command in the documentation dont work for me.? Also Until i renamed the composer.aimeos.json to composer.json
4. activated aimeos in Extension Manager and updated Tables with green circle arrow
Next i tried to make the Scheduler Tasks but there is only a grey background without the necessary possibilitys to generate any tasks. The Frontend of the Shop is working. A look in the Extension Manager shows now 2 Aimeos extensions.?
what next? may you help me please?
Thank you?
thank you for answers!
Now i tried to update aimeos and something is going wrong, and a little confused to me.
The Aimeos Extension is in a fresh installed typo3 6.2.15 and aimeos 2.3.1 from Extension Manger (aimeos is deactivated)
1. I logged in with ssh to my webspace and changed to folder typo3conf/ext/aimeos .
2. In "typo3conf/ext/aimeos" download composer with this command:
Code: Select all
curl -s https://getcomposer.org/installer | /usr/local/php5.4/bin/php
Code: Select all
/usr/local/php5.4/bin/php composer.phar update composer.json
4. activated aimeos in Extension Manager and updated Tables with green circle arrow
Next i tried to make the Scheduler Tasks but there is only a grey background without the necessary possibilitys to generate any tasks. The Frontend of the Shop is working. A look in the Extension Manager shows now 2 Aimeos extensions.?
what next? may you help me please?
Thank you?
- Attachments
-
- ssh-aimeos-update.jpg (135.29 KiB) Viewed 4886 times
-
- extension-manager-aimeos-update.jpg (120.72 KiB) Viewed 4886 times
Re: Scheduler error
You need to use exactly the command as described in the documentation (https://aimeos.org/docs/TYPO3/Download_ ... test_code) to get it working in "./typo3conf/ext/" (not "./ext/aimeos"!):
- php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer
- git clone https://github.com/aimeos/aimeos-typo3.git aimeos
- COMPOSER=composer.aimeos.json composer update
There must be no already installed Aimeos extension in your TYPO3 instance before.
- php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer
- git clone https://github.com/aimeos/aimeos-typo3.git aimeos
- COMPOSER=composer.aimeos.json composer update
There must be no already installed Aimeos extension in your TYPO3 instance before.
-
- Posts: 29
- Joined: 04 Mar 2015, 09:16
Re: Scheduler error
hm ok,
with SSH-client (PuTTy) i can't execute exactly the described commands.
i tried once without success. Please have a look at the jpg.
with the command in ./typo3conf/ext/:
"COMPOSER=composer.aimeos.json composer update"
i get this back:
"- shell: composer: command not found"
sorry, but i need further help.
Thank you!
with SSH-client (PuTTy) i can't execute exactly the described commands.
i tried once without success. Please have a look at the jpg.
with the command in ./typo3conf/ext/:
"COMPOSER=composer.aimeos.json composer update"
i get this back:
"- shell: composer: command not found"
sorry, but i need further help.
Thank you!
- Attachments
-
- ssh-aimeos.jpg (203.56 KiB) Viewed 4866 times