This warning appears when using the video module on a system with a PHP version older than 5.2.0

Since a similar issue to this was closed with the 'works as designed' designation (#911368: Name of the created files is emty), I would suggest adding the optional php line to the .info file so that the module cannot be installed unless a new enough version of PHP is being used, otherwise a version agnostic fix should be implemented.

My feeling is that simply adding the php line to the .info file is good enough, if people are still running 5.1.x they are woefully behind the times given that php 5.2 is now EOL.

From the .info file docs:

php (Optional)
As of version 6.x, module and themes may specify a minimum PHP version that they require. They may do so by adding a line similar to the following to their .info file:
php = 5.2

That specifies that the module/theme will not work with a version of PHP earlier than 5.1. That is useful if the module makes use of features added in later versions of PHP (improved XML handling, object iterators, JSON, etc.). If no version is specified, it is assumed to be the same as the required PHP version for Drupal core. Modules should generally not specify a required version unless they specifically need a higher later version of PHP than is required by core. See the PHP Manual for further details on PHP version strings.

Comments

hypertext200’s picture

Status: Active » Needs review
Jorrit’s picture

Status: Needs review » Postponed

I will add the php tags in a later version.

Jorrit’s picture

Version: 6.x-4.2-beta4 » 6.x-5.x-dev
Status: Postponed » Fixed

Fixed in 6.x-5.x.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Added reference to previously closed issue