Home >> Administer >> Site Configuration
chris33 - April 5, 2008 - 16:35
| Project: | Media Mover |
| Version: | 5.x-0.4-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'media_mover_admin_settings' was given in /home/ctestneb/public_html/dudskie/drupalneb/includes/form.inc on line 218.

#1
I have the same error. I'm trying to figure out the cause now.
Edit: Silly me, there is a Media Mover button in the Administer menu with url http://www.website.com/admin/media_mover/ which operates just fine. However, if you try to go to the url listed above, http://www.website.com/admin/settings/media_mover, you get the warning.
#2
Yes, that is true Krispy, but have you try clicking on 'add config'?, you get a warning error there too.
And when I try to make my configuration, i have this log result, "media_mover s3 could not upload file to amazon. ...", but all the information needed is correct, the bucketname, the access key and secret access key. I hope arthurf can help us with this.
#3
It looks like you probably meant to remove admin/settings/media_mover (its callback function no longer exists.) In addition, we didn't like the way if you go to the /admin page that media mover does not show up as its own section on the page (it's only accessible by the menu instead of on the admin page). I switched the menu from a single menu item with tabs to multiple menu items in order to address that problem.
#4
On this "media_mover s3 could not upload file to amazon. ..."
Please run the s3 (admin > media_mover > settings > s3) test to make sure that your system can actually move content to amazon.
#5
Lynn-
Thanks for the patch. Some how I've missed "system_admin_menu_block_page" from the menu hook- thanks for pointing that out! I actually want to do a significant overhaul of how the media mover menu system works- I need to make it play more like the rest of drupal. In the D6 branch, bdragon has moved stuff to admin/content which makes some sense to me. What I potentially see is:
admin > settings > media mover: has global configs, configurations
admin > content > media mover files: has all files, files per config
Any thoughts?
#6
Yes, it can move content to Amazon, but I want a features, when I upload video file, it does not need to click 'run', just to store files to amazon, i need a help that I want to upload video files then automatically stores it to amazon, without hitting the 'run'.
#7
Thanks Arthur, the cron setup helps me a lot this.
#8
Automatically closed -- issue fixed for two weeks with no activity.
#9
The solution for this is just to allow media mover to run on cron, which it does by default.