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

Bug #11921

Problem at checkout (php 5.3) with spliti in class.tx_comerce_div.php

Added by Jochen Biedermann over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:2011-01-05
Priority:Must have Due date:
Assignee:Benny Schimmer % Done:

100%

Category:Bug Spent time: -
Target version:-
Votes: 0

Description

Checkout does not work with PHP 5.3 due to "spliti" in line 291 in class.tx_comerce_div.php.

Replacing the line

$parts = spliti('<title>|</title>', $mailconf['html']['content'], 3);

with

$parts = preg_split('/<title>|<\/title>/i', $mailconf['html']['content'], 3);

helps.


Related issues

related to commerce - Bug #13334: Remove split and ereg calls Closed 2011-02-24

Associated revisions

Revision 45005
Added by Benny Schimmer over 2 years ago

  • Fixed #8894 Article prices get stored wrong way in DB (Thanks to Michael Knabe)
  • Fixed #13334 Remove split and ereg calls (see #11922 and #11921)
  • Fixed #11921 Problem at checkout (php 5.3) with spliti in class.tx_comerce_div.php (Thanks to Jochen Biedermann)
  • Fixed #11922 Problem with Checkout (PH 5.3) with eregi in class.tx_commerce_pi3 (Thanks to Simon Schick)

Revision 45005
Added by Benny Schimmer over 2 years ago

  • Fixed #8894 Article prices get stored wrong way in DB (Thanks to Michael Knabe)
  • Fixed #13334 Remove split and ereg calls (see #11922 and #11921)
  • Fixed #11921 Problem at checkout (php 5.3) with spliti in class.tx_comerce_div.php (Thanks to Jochen Biedermann)
  • Fixed #11922 Problem with Checkout (PH 5.3) with eregi in class.tx_commerce_pi3 (Thanks to Simon Schick)

History

Updated by Benny Schimmer over 2 years ago

  • Status changed from New to Closed
  • Assignee set to Benny Schimmer
  • % Done changed from 0 to 100

committed to trunk

Also available in: Atom PDF