Too small to make a diff. Just add the "case 'mysqli':" line right after the case 'mysql' line.

{{{
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {media_mover_files} (
}}}

Comments

schuyler1d’s picture

oh, and you should list the profile module as a dependency in mm_node.info

and on the Add Config page, I'm getting
"warning: Invalid argument supplied for foreach() in /var/www/drupal-5.2/includes/form.inc on line 948."
which seems a bit harder to trace :(

arthurf’s picture

I just added the option for mysql, thanks! Asper the profile dependency, the module actually checks to see if it's installed and won't display those options if it isn't there... I'd rather not make it dependent if it isn't needed.

Asper the form error, I think this is because of your path to ffmpeg not being configured right- that seems to be the most common thing. There should probably be some protection for that.

schuyler1d’s picture

i was getting some error on the profile module when i was on the config page, which led me to report (and install) it, so somewhere it's not checking. I can try and duplicate/hunt it down if you like.

I confirmed the ffmpeg path is correct, but it might be permissions or something. Thanks for the tip!