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.

CommentFileSizeAuthor
#3 menu.patch2.47 KBjody lynn
#2 error_add_config.JPG39.65 KBchris33
#2 user_log.JPG42.85 KBchris33

Comments

Kripsy’s picture

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.

chris33’s picture

StatusFileSize
new42.85 KB
new39.65 KB

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.

jody lynn’s picture

Version: 5.x-4.1 » 5.x-0.4-1
Status: Active » Needs review
StatusFileSize
new2.47 KB

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.

arthurf’s picture

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.

arthurf’s picture

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?

chris33’s picture

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'.

chris33’s picture

Status: Needs review » Fixed

Thanks Arthur, the cron setup helps me a lot this.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

arthurf’s picture

The solution for this is just to allow media mover to run on cron, which it does by default.