Skip to content

Instantly share code, notes, and snippets.

View bcmiller's full-sized avatar

Bill C. Miller bcmiller

  • emortgagelogic.om
  • arlington, tx
View GitHub Profile
+<<<<<<< boxes.install
+
+function boxes_update_6103() {
+ $ret = array();
+ if (module_exists('spaces')) {
+ $result = db_query("SELECT * FROM {spaces_overrides} WHERE object_type = 'boxes'");
+ while ($row = db_fetch_object($result)) {
+ $v = unserialize($row->value);
+ $row->value = (object)$v;
+ drupal_write_record('spaces_overrides', $row, array('type', 'id', 'object_type', 'object_id'));
root@ubuntu:/mnt/apci/main/www# drush up -n |grep -v "Up to"
Refreshing update status information ...
Done.
Update information last refreshed: Tue, 06/22/2010 - 11:03am
Update status information on all installed and enabled Drupal projects:
Name Installed Proposed Status
version version
Activity 6.x-1.2 6.x-2.x-dev Installed
version not
> +++ includes/views/handlers/content_plugin_style_php_array_ac.inc 4 May 2010 23:22:02 -0000
23,60d21
< @@ -21,14 +26,16 @@ class content_plugin_style_php_array_ac
< $this->view->row_index = 0;
< foreach ($sets as $title => $records) {
< foreach ($records as $label => $row) {
< - $results[$row->{$base_field}] = array(
< - 'title' => $row->{$title_field_alias},
< - 'rendered' => $this->row_plugin->render($row),
< - );
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/apci/main/www/update.php on line 174.
Index: content_profile.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_profile/Attic/content_profile.module,v
retrieving revision 1.1.2.48
diff -u -p -r1.1.2.48 content_profile.module
--- content_profile.module 7 Apr 2010 15:09:17 -0000 1.1.2.48
+++ content_profile.module 2 Jun 2010 15:50:55 -0000
@@ -24,6 +24,14 @@ function content_profile_ctools_plugin_d
}
cvs diff: Diffing .
Index: content_profile.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_profile/Attic/content_profile.module,v
retrieving revision 1.1.2.41
diff -u -p -r1.1.2.41 content_profile.module
--- content_profile.module 5 Aug 2009 14:08:34 -0000 1.1.2.41
+++ content_profile.module 2 Jun 2010 15:14:06 -0000
@@ -24,6 +24,14 @@ function content_profile_ctools_plugin_d
}
Executing feedback_update_6100 [success]
WD php: Incorrect table definition; there can be only one auto column[error]
and it must be defined as a key
query: ALTER TABLE feedback DROP PRIMARY KEY in
/mnt/apci/main/www/includes/database.mysql-common.inc on line 386.
WD php: Multiple primary key defined [error]
query: ALTER TABLE feedback CHANGE `fid` `fid` INT unsigned NOT NULL
auto_increment, ADD PRIMARY KEY (fid) in
/mnt/apci/main/www/includes/database.mysql-common.inc on line 520.
ALTER TABLE {feedback} DROP PRIMARY KEY [error]
root@pdup:/mnt/apci/main/www# /mnt/apci/main/www/sites/all/modules/allplayers/apci_aldt_migrate_group_dep/enable_apci_groups
The following updates are pending:
apci_rules module
6000 - Install Activity Rules comment integration
apci_updates module
6051 - Hide Activities from primary links, it's becoming a views block
'Groups'. Hide Home link, per mockup.
6052 - Remove title from primary-links block.
@bcmiller
bcmiller / gist:406261
Created May 19, 2010 12:39
apci group enable
root@pdup:/mnt/apci/main/www# /mnt/apci/main/www/sites/all/modules/allplayers/apci_aldt_migrate_group_dep/enable_apci_groups
The following updates are pending:
apci_rules module
6000 - Install Activity Rules comment integration
apci_defaults module
6001 - Installing transliteration module
6002 - Installing loadcache module
6003 - Installing path_redirect module to redirect old team urls to groups.
Reading mysql slow query log from /var/run/mysqld/mysqld-slow.log
Count: 2 Time=38237.01s (76474s) Lock=0.00s (0s) Rows=0.0 (0), apci[apci]@loc
alhost
SELECT DISTINCT users.uid AS uid,
users.picture AS users_picture,
users.name AS users_name
FROM users users
INNER JOIN og_rap_uid og_rap_uid ON users.uid = og_rap_uid.uid
INNER JOIN og_rap og_rap_og_rap_uid ON og_rap_uid.rid = og_rap_og_rap_uid.rid
INNER JOIN og_rap_uid og_rap_og_rap_uid__og_rap_uid ON og_rap_og_rap_uid.rid =