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

Kripsy - April 6, 2008 - 01:22

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

chris33 - April 6, 2008 - 04:13

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.

AttachmentSize
user_log.JPG42.85 KB
error_add_config.JPG39.65 KB

#3

Lynn - April 8, 2008 - 23:05
Version:5.x-4.1» 5.x-0.4-1
Status:active» patch (code needs review)

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.

AttachmentSize
menu.patch2.47 KB

#4

arthurf - April 12, 2008 - 15:01

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

arthurf - April 12, 2008 - 15:05

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

chris33 - April 14, 2008 - 05:36

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

chris33 - April 14, 2008 - 13:09
Status:patch (code needs review)» fixed

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

#8

Anonymous (not verified) - April 28, 2008 - 13:12
Status:fixed» closed

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

#9

arthurf - May 5, 2008 - 12:00

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

 
 

Drupal is a registered trademark of Dries Buytaert.