Page MenuHomePhabricator

"Error creating thumbnail: proc_open() is disabled"; did not seem to happen in previous versions.
Closed, ResolvedPublic

Description

Author: tophergz

Description:
Screenshot of proc.open() failure.

As titled: proc.open() (forgive me, I haven't the slightest idea what this is) is failing because host has it set to disabled -BUT- it didn't seem to be a problem since v1.22.6. Was this call added in v1.23.0?

This seems to make MW unable to generate thumbnails, removing core functionality for some users.


Version: 1.23.0
Severity: normal
URL: (protected intranet, unfortunately)

Attached:

Screen_Shot_2014-06-08_at_3.48.34_PM.png (766×675 px, 70 KB)

Details

Reference
bz66349

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:09 AM
bzimport set Reference to bz66349.
bzimport added a subscriber: Unknown Object (MLST).

Is proc_open listed under disable_functions in php.ini?
If so, you might want to remove it.

Might also be a question for https://www.mediawiki.org/wiki/Project:Support_desk

General info: https://www.mediawiki.org/wiki/Manual:Installing_third-party_tools#Image_thumbnailing

tophergz wrote:

I'm on a shared host and they've informed me it is a disabled function, I don't have access to php.ini.

The strange thing is that it seemed to work before 1.23.0, or at least when I installed at 1.22.6; I had thumbnails before.

proc_open has been used for ages in MediaWiki code (e.g. line 2935 of https://git.wikimedia.org/blame/mediawiki%2Fcore.git/HEAD/includes%2FGlobalFunctions.php ) - you might have been "lucky" before to not have run into the problem earlier, and it might get exposed now because it also got added in a code location that you use (my wild guess).

I don't think that anything can actually be fixed here on the MediaWiki side.

Sorry, was wrong here. See bug 66467 for the fix.

  • This bug has been marked as a duplicate of bug 66467 ***