First - I've read all the threads and can't figure out where my problem is.

FlashVideo works fine (great module). But when I add S3 support and enter my correct S2 keys, it's not working as I expect. No buckets are created in S3 and no files are copied.

I saw a log in a ticket that showed the status of S3 communication, but I can't figure out where to find any error messages to give you.

Except occasionally when I manually run cron.php, I get this:

Fatal error: Call to undefined function: simplexml_load_string() in /home/deanhome/public_html/kellerpips/modules/flashvideo/drivers/Storage3/Storage3.php on line 493

Also, do I have to define an output directory in the FFMPG settings if I'm using S3?

Thanks,

Billy

Comments

williamhdean’s picture

Oh - I just checked, I'm running PHP 4.4.6. Might that be the problem? Looking in the Storage.php driver it ays "A PHP5 class for interfacing with the Amazon S3 API".

travist’s picture

Yes... I am afraid so. I actually did not write the Storage.php driver for the Amazon S3 plugin, and lately I have not been able to devote enough time to port it to an earlier version of PHP. Does anyone know of any ports of this plugin? If so, then I would be happy to issue a PHP 4 version of the S3 plugin.

williamhdean’s picture

OK, Not a big deal. I'll contact my hosting provider. At least I know why it's not working. Again, thanks for your hard work. The integration with the Amazon EC3 would be wonderful. The Video Mashup Sample that they give is a perfect application for it, and Drupal is the perfect front end.

Thanks for your quick reply.

williamhdean’s picture

Status: Active » Closed (fixed)

I started using PHP5 and it works fine. Thanks.

BTW - fyi, all I had to do was simply create a .htaccess file in your public_html directory with the following:
AddHandler application/x-httpd-php5 .php

This will cause your scripts to be processed by PHP5 instead of PHP4.