Closed (fixed)
Project:
Media Mover
Version:
5.x-0.3-1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2007 at 23:29 UTC
Updated:
28 Jun 2008 at 18:57 UTC
I'm still getting a "Can't find the S3 drivers" error, though I have copied the Storage3 directory into the Media Movers directory, and checked the permissions. I'm on IIS6 on Server 2003.
Comments
Comment #1
dragonwize commentedI had the same problem and have located the problem. First off the readme instructions are a little vague. You are suppose to copy the drivers folder over as well. So that it will look like this:
However, that is not the major issue. The drivers folder distributed does not contain all files needed to use them. They are PEAR packages and all the dependencies are not there, namely the PEAR base. Also if pear is not in your include path the paths of the requires in the distributed packages are incorrect. They rely on the pear base directory being in the include path. On top of this, if pear is in your include path then the files will look for and include the packages in your pear directory and not the packages distributed for media mover. I would say that the packages we meant to be optional but the mm_s3.module actually looks for the Storage3.php file that gives the driver not found error.
So to correct it make sure your directory structure matches the above path. And make sure you have pear and the appropriate pear packages installed and its path in your include path.
This is obviously not elegant in any way and I would think that this was not the intended way of doing it. It seems more as the developer had the above set when testing and so did not get these errors. I would like to hear from the developers what the actual intended way of using these libraries is? Use pear's packages? or do you intend to distribute your own?
Comment #2
arthurf commentedTo use S3, I relied on work that others had done. This intern relied on pear libraries. Since not everybody has them installed, I made a set of files that people can use. Probably, the S3 code should be rewritten so these aren't required so that it's easier for people to install. I'd gladly accept patches that do this.
Comment #3
dragonwize commentedAs I am going to be using media mover with amazon web services, I have taken the task of rewriting this and more.
As a preview to what I have done:
I am writing this to show my intention to complete this. If anyone has any early comments send them my way. I will be creating separate issue tasks for each module I will be providing for media mover to collaborate on them once I have the base modules uploaded to d.o.
Comment #4
arthurf commentedI'm very excited that you're interested in taking this on. I'd really like to see may of the things that media mover is doing abstracted- the s3 stuff is case in point. Let me know if you need support on this- I'd really like to see this happen.
a.
Comment #5
arthurf commentedPlease see:
http://drupal.org/project/aws