We had to upgrade our servers to the latest version of php (5.6.11) and found a small bug with this module which blocks us now, there is one usage of ereg_replace what is already deprecated after 5.3, that's why i'm attaching a patch what used it's solved.

CommentFileSizeAuthor
#4 2598092-4.patch539 bytespwolanin
php56.patch538 bytestatarbj

Comments

tatarbj created an issue. See original summary.

pwolanin’s picture

Version: 6.x-3.13 » 6.x-3.x-dev

Looks like a reasonable fix in terms of minimizing the change, though the logic of that code could be more clearly written.

pwolanin’s picture

patch doesn't apply due to less thorough fix at #115599: adding term to taxonomy causes pathauto error

pwolanin’s picture

StatusFileSize
new539 bytes

Here's a fixed patch

tatarbj’s picture

Status: Needs review » Reviewed & tested by the community

It is working perfectly, thanks to put my fix to the right place to minimalise the side effects.

pwolanin’s picture

Title: Make filefield module compatible to php 5.6 » Make filefield module compatible with php 5.6
Status: Reviewed & tested by the community » Fixed

  • pwolanin committed 45cef33 on 6.x-3.x
    Issue #2598092 by pwolanin, tatarbj: Make filefield module compatible...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.