White SOD on Media Manager Install

SomebodySysop - February 6, 2009 - 19:14
Project:Media Manager
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Drupal 6.9 site. When I attempt to install Media Manager, I get the white screen of death. The error message:

PHP Parse error:  parse error, unexpected '=', expecting ')' in /var/www/html/websites/drupal/test/modules/mmedia/API/hooks.inc on line 7, referer: http://ewb.thefiengroup.com/admin/build/modules

The line of code in question:
function media_invoke_item($op, &$media = null, $data = null) {

Any suggestions?

#1

SomebodySysop - February 6, 2009 - 19:23

This issue appears related: http://drupal.org/node/186744

#2

rhys - February 6, 2009 - 21:34
Status:active» fixed

The issue is that the language construct used at this position is not unavailable in PHP4.
Since it is not necessary, it has been changed in CVS back to a PHP4 safe one.

#3

SomebodySysop - February 6, 2009 - 22:11

Can't you commit this change to the dev release?

#4

rhys - February 7, 2009 - 01:07

I did commit to both d6 and dev, however, I missed one further down the file. This should now be fixed in CVS.

#5

SomebodySysop - February 7, 2009 - 01:30

Thank you. I looked at the code and it's pretty much what I did to get the module working. I appreciate the quick response.

#6

System Message - February 21, 2009 - 01:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.