CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #36506

Notification fails in typo3 4.7.x due to deprecated function call

Added by d-nik about 1 year ago. Updated 12 months ago.

Status:Closed Start date:2012-04-25
Priority:Should have Due date:
Assignee:Thomas Kowtsch % Done:

100%

Category:TYPO3 Core Support Spent time: 5.00 hours
Target version:1.5
Votes: 0

Description

As with version 4.7.0, the old class.t3lib_htmlmail.php was removed.

So now cal throws out

PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'cms/t3lib/class.t3lib_htmlmail.php' (include_path='...') in /cms/typo3conf/ext/cal/view/class.tx_cal_notification_view.php on line 490

Greetings,

d-nik


Subtasks

Bug #36536: Fix relative paths in mail notificationsClosedThomas Kowtsch


Related issues

related to Calendar Base - Bug #37007: Address in mailbox given [] does not comply with RFC 2822... Closed 2012-05-09

History

Updated by d-nik about 1 year ago

  • Target version changed from 1594 to 1.5

Updated by Thomas Kowtsch about 1 year ago

  • Category set to TYPO3 Core Support
  • Assignee set to Thomas Kowtsch
  • Estimated time set to 4.00

Updated by Thomas Kowtsch about 1 year ago

  • Status changed from New to Needs Feedback
  • Priority changed from Should have to Must have
  • % Done changed from 0 to 100

I commited the initial support in r61087 - can you please verify?

One thing is left but needs to be resolved separately: Fixing of relative paths is not implemented yet due to missing core functions; but this did not work before either...

Updated by d-nik about 1 year ago

I tried latest revision of class.tx_cal_notification_view.php but unfortunately i got another fatal:

PHP Fatal error: Cannot access empty property in /cms/typo3conf/ext/cal/view/class.tx_cal_notification_view.php on line 551

(I guess it is the $email value within "setTo(array($email));")

I do not know where it gets the mailaddress of the frontend user from.

Greetings,

d-nik

Updated by Thomas Kowtsch about 1 year ago

Sorry for that issue - I had a wrong variable access ;-( and fixed it in r61107

BTW: You will face the same problem as described in your bug issue above when subscribing to events until you update tx_cal_phpicalendar_model as well.

Updated by d-nik about 1 year ago

Wow,
r61107 seems to work now. I did not check tx_cal_phpicalendar_model because I don't use event subscription.

Thanks for this really fast reaction - as well as for this great extension!

Greetings,

d-nik

Updated by Matthias 12 months ago

I have the same Problem. After updating class.tx_cal_notification_view.php from r61107 i get the Bug #37007 now.

Greetings

Updated by Thomas Kowtsch 12 months ago

  • Status changed from Needs Feedback to Closed

Also available in: Atom PDF