Modify

Opened 16 months ago

Closed 7 months ago

Last modified 7 months ago

#12731 closed Bug Report - General (fixed)

mythweb uses PHP7 deprecate split() function

Reported by: charles.bovy@… Owned by: stuarta
Priority: minor Milestone: 0.28.1
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Function split() is not available in PHP7 anymore, and being replaced by preg_split().

For instance used in: http://backend/mythweb/settings/mythweb/flvplayer stops while configuring flvplayer

but there are probably more places to replace deprecated functions. See patch for one occassion to get flvplayer working.

Attachments (2)

mythweb.patch (632 bytes) - added by charles.bovy@… 16 months ago.
0001-Remove-changed-some-deprecated-PHP7-functions.patch (15.3 KB) - added by charles.bovy@… 16 months ago.

Download all attachments as: .zip

Change History (7)

Changed 16 months ago by charles.bovy@…

comment:1 Changed 16 months ago by stuarta

  • Milestone changed from unknown to 0.28.1
  • Owner changed from kormoc to stuarta
  • Status changed from new to assigned
  • Version changed from Unspecified to Master Head

Patches welcome to fix any other occurances of the depreciated split() function.

comment:2 Changed 16 months ago by charles.bovy@…

Ran mythweb through php7cc to detect 'unsupported' code. Please find attached (draft) patch. To be evaluated and ready for testing. At least, this is fixing the FlowPlayer? functionality for me.

Changed 16 months ago by charles.bovy@…

comment:3 Changed 12 months ago by stuarta

  • Type changed from Bug Report - Hang/Deadlock to Bug Report - General

comment:4 Changed 7 months ago by Charles Bovy <charles.bovy@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 42ea1a1d20fc2ca1cddac3f851b17d1c8cdda465/mythweb:

[mythweb] Remove/changed some deprecated PHP7 functions:

Fixes #12731

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:5 Changed 7 months ago by Charles Bovy <charles.bovy@…>

In 7ed09ed8ed00e600a5336e571460f67034bdec6c/mythweb:

[mythweb] Remove/changed some deprecated PHP7 functions:

Fixes #12731

Signed-off-by: Stuart Auchterlonie <stuarta@…>
(cherry picked from commit 42ea1a1d20fc2ca1cddac3f851b17d1c8cdda465)

Add Comment

Modify Ticket

Action
as closed The owner will remain stuarta.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.