After enabling media api, Drupal presents with a white screen. Necessary to manually deactivate teh module by editing the system table.

Any suggestions regarding cause or workaround?

Comments

escoles’s picture

Additional info: No additional info -- no log entries on failure. Whatever is crashing Drupal is crashing it before Watchdog can record an error.

escoles’s picture

This is the error in the PHP error log:
PHP Parse error: syntax error, unexpected '=', expecting ')' in /Users/escoles/Sites/turnerproto/modules/mapi/API/hooks.inc on line 7

I can't see any obvious errors in the code, and anyway I'd have expected many other failure reports if there were.

I googled the error and it looks as though Media API may be de facto PHP5-only:

http://drupal.org/node/186744

Can you verify and if so change the module description to include that information? (Unfortunately, PHP5 is not an option at this time.)

rhys’s picture

Status: Active » Fixed

The d5 version will be backported from the d6 version shortly. D6 version is in final stages of being released.

Status: Fixed » Closed (fixed)

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