Created
October 27, 2010 21:55
-
-
Save bcmiller/650098 to your computer and use it in GitHub Desktop.
add cloud front..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ip-172-19-1-3:/mnt/apci/main/www/sites/all# drush updatedb | |
The following updates are pending: | |
apci_media_mover module | |
6010 - Add cloudfront on media mover configs for Image node image to S3 | |
Do you wish to run all pending updates? (y/n): y | |
Executing apci_media_mover_update_6010 [success] | |
CloudFront URL set to http://dj9tzph6mj8o.cloudfront.net/ for bucket [success] | |
bcmiller.allplayers.com. | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
'all' cache was cleared [success] | |
Finished performing updates. [ok] | |
root@ip-172-19-1-3:/mnt/apci/main/www/sites/all# drush cc all | |
WD php: Notice: Trying to get property of non-object in [error] | |
theme_date_display_combination() (line 80 of | |
/vol/apci/main/www/sites/all/modules/contrib/date/date/date.theme). | |
WD php: Notice: Trying to get property of non-object in [error] | |
theme_date_display_combination() (line 80 of | |
/vol/apci/main/www/sites/all/modules/contrib/date/date/date.theme). | |
WD php: Notice: Trying to get property of non-object in [error] | |
theme_date_display_combination() (line 80 of | |
/vol/apci/main/www/sites/all/modules/contrib/date/date/date.theme). | |
WD php: Notice: Trying to get property of non-object in [error] | |
theme_date_display_combination() (line 80 of | |
/vol/apci/main/www/sites/all/modules/contrib/date/date/date.theme). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
WD php: Notice: Undefined index: module in _menu_router_build() [error] | |
(line 2450 of /vol/apci/main/www/includes/menu.inc). | |
/**
- update a specific verb in a configuration
- @param cid is a config id
- @param verb is verb to match on
- @param configuration is a serialized array
*/
function media_mover_api_configuration_verb_update($cid, $verb, $configuration
) {
db_query("UPDATE {media_mover_configurations} SET configuration = '%s' WHERE
cid = %d AND verb = '%s'", $configuration, $cid, $verb);
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mysql> select * from media_mover_configurations where cid=58;
+------+----------+-----------------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| cid | verb | module | action | configuration |
+------+----------+-----------------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 58 | harvest | mm_dir | 1 | a:3:{s:4:"path";s:26:"sites/default/files/images";s:10:"file_types";s:16:"jpg gif png jpeg";s:3:"cid";s:2:"58";} |
| 58 | process | media_mover_api | 1 | a:1:{s:3:"cid";s:2:"58";} |
| 58 | storage | mm_s3 | 1 | a:6:{s:12:"mm_s3_bucket";s:0:"";s:10:"mm_s3_perm";s:11:"public-read";s:22:"mm_s3_drupal_file_path";i:1;s:19:"mm_s3_delete_source";i:0;s:16:"mm_s3_server_url";s:24:"http://s3.amazonaws.com/";s:3:"cid";s:2:"58";} |
| 58 | complete | media_mover_api | 1 | a:1:{s:3:"cid";s:2:"58";} |
+------+----------+-----------------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
4 rows in set (0.00 sec)
mysql>