Bug #55760
closedUnable to create scheduler-tasks
0%
Description
In 6.2.0beta5 on can't create a schedluer-task if the mail settings in the install tool is not correct set.
This is not only true for recurring task, but also for single tasks, where on can't give a notification mail address!
Files
Updated by Peter Niederlag almost 11 years ago
- Status changed from New to Needs Feedback
Can you please describe in more detail the error that shows up and what setup is required to run into the issue?
I couldn' reproduce it on current master (intentionallly breaking mail setup I could still add and execute scheduler tasks from the BE).
Updated by Renzo Bauen almost 11 years ago
OK, here is what i did:
(i use PHP 5.3.10 and TYPO3 6.2.0beta5 from typo3.org download section)
1. Download tar.gz-file
2. expanded to typo3_src-6.2.0beta5/
3. symlinks generated for index.php, typo3_src and typo3
4. firefox started and gone to the beta62 web
5. installtool: setup new database, checked if imagemagick works as expected (no changes to mail-settings, sendmail is not installed on this machine).
6. logged in to the BE
7. downloaded the german language and switched the language of the admin user
8. schedulers ext_emconf.php edited (dependency 6.2.0-6.2.99 changed to 6.2-6.2.99) in order to be able to install this ext
9. click scheduler icon
10. checked the configuration and created the user _cli_scheduler by the offered link
11. clicked on new task
12. selected task "update extension list", type=single, description=test, all other fields unchanged
13. clicked on save
The window gets gray = empty. Only the lefthand menu is visible (no pagetree, no content).
A click on the scheduler icon brings back the expected content, but the list says "no tasks defined yet".
Here the apache error log:
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function getNotificationEmail() on a non-object in /var/www/typo3_src-6.2.0beta5/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php on line 59, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 1. {main}() /var/www/typo3_src-6.2.0beta5/typo3/mod.php:0, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 2. require() /var/www/typo3_src-6.2.0beta5/typo3/mod.php:41, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 3. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->main() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/mod1/index.php:36, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 4. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->getModuleContent() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:148, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 5. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->editTask() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:205, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 6. TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField->getAdditionalFields() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:639, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
Thats all i have for you!
Best Regards
Renzo
Updated by Johannes Eder almost 11 years ago
I've got the same issue on TYPO3 6.1.7
Any Ideas???
Updated by Johannes Eder almost 11 years ago
Lösung gefunden!!!
Schuld ist die EXT:direct_mail! Dort sind in der Datei /typo3conf/ext/direct_mail/Classes/Scheduler/MailFromDraft_AdditionalFields.php
keine Namespaces verwendet worden.
Siehe Anhang
Updated by Renzo Bauen almost 11 years ago
It might be the case in 6.1.7 but in 6.2 it happens on a fresh installation, without any third party extension.
Updated by Satish Maurya over 10 years ago
Hi,
I have merged my file with attached file but still getting same issue. My installation is Typo3 6.1.7
After clicking "Save" button: Return blank page without adding task.
After clicking "Save and Close" button: Return message "The task could not be added." without adding task.
Any suggestion.
Thanks in Advance!
Johannes Eder wrote:
Lösung gefunden!!!
Schuld ist die EXT:direct_mail! Dort sind in der Datei /typo3conf/ext/direct_mail/Classes/Scheduler/MailFromDraft_AdditionalFields.php
keine Namespaces verwendet worden.Siehe Anhang
Updated by Renzo Bauen over 10 years ago
In the final Version of 6.2 everything works fine!
Therefore this issue can be closed.
Updated by Wouter Wolters over 10 years ago
- Status changed from Needs Feedback to Closed
Updated by i laz about 10 years ago
I get the same error after upgrading from 4.5.36 to 6.2.5.
Fatal error: Call to a member function getNotificationEmail() on a non-object in typo3_src-6.2.5/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php on line 49
Therefore, I 've created a new ticket: https://forge.typo3.org/issues/62274
Thank you in advance!
Updated by Stephan Großberndt almost 7 years ago
- Subject changed from Unabel to create scheduler-tasks to Unable to create scheduler-tasks