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 |
Jump to:
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/modulesThe line of code in question:
function media_invoke_item($op, &$media = null, $data = null) {Any suggestions?

#1
This issue appears related: http://drupal.org/node/186744
#2
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
Can't you commit this change to the dev release?
#4
I did commit to both d6 and dev, however, I missed one further down the file. This should now be fixed in CVS.
#5
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
Automatically closed -- issue fixed for 2 weeks with no activity.