I'm trying to set up the Dash Media Player and the MediaFront modules. I followed step by step the instructions at http://www.mediafront.org/documentation/drupaldashplayer/dashplayervideos. However, when I get to a certain point in the instructions, Drupal gives me this message:

Fatal error: Cannot redeclare class S3 in /MYSITE.COM/sites/all/modules/video/cdn/video_s3/includes/S3.php on line 37.

I don't know much about code, but I figured that the patch provided in http://drupal.org/node/914042#comment-3570342 should be inserted somewhere in S3.php. So, I copied (exactly as written in the patch) the php code of the patch and inserted it in S3.php right before line 37.

After doing the above I get the following message:
Parse error: syntax error, unexpected T_STRING in /MYSITE.COM/sites/all/modules/video/cdn/video_s3/includes/S3.php on line 37.

Any help would be greatly appreciated. Thanks.

Comments

travist’s picture

Project: MediaFront » Video
Version: 6.x-1.0-beta4 » 6.x-4.1-rc6
Issue tags: -dash media player, -mediafront

This is not an issue with MediaFront. Assigning to the Video module issue queue.

Thanks,

Travis.

hypertext200’s picture

Version: 6.x-4.1-rc6 » 6.x-4.x-dev
Status: Active » Closed (duplicate)