This file contains 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
<?php | |
function hook_update_n() { | |
if (!drupal_check_module('foo')) { | |
throw new DrupalUpdateException('Foo does not have requirements needed to be enabled.'); | |
} | |
module_enable(array('foo')); | |
return t('Enabled Foo module.'); | |
} |
This file contains 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
Started by lullajenky@chat.freenode.net on request of 'msnbcbot' | |
[EnvInject] - Loading node environment variables. | |
Building remotely on tugboat.lullabot.com in workspace /var/lib/jenkins/workspace/msnbc_pull_request_builder | |
Checkout:msnbc_pull_request_builder / /var/lib/jenkins/workspace/msnbc_pull_request_builder - hudson.remoting.Channel@2fcdf:tugboat.lullabot.com | |
Using strategy: Default | |
Last Built Revision: Revision bc5cf1c9fbe8c19625d87f9ca4cbe626222b1ab2 (origin/lullabot-publisher) | |
Cloning the remote Git repository | |
Cloning repository git@github.com:NBCUOTS/Publisher7_msnbc_core.git | |
git --version | |
git version 1.7.9.5 |
This file contains 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
if ($this->view->current_display == 'attachment_3') { | |
$counter += $this->view->query->pager->get_offset(); | |
} |
This file contains 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
if ($this->view->current_display == 'attachment_3') { | |
$counter += 10; | |
} |
This file contains 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
#2678 | |
#2676 | |
#2675 | |
#2673 | |
#2665 | |
#2663 | |
#2662 | |
#2660 | |
#2656 | |
#2655 |
This file contains 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
msnbc@web-5518:/var/www/html/msnbc.prod/docroot/sites/msnbc$ grep -nE "Mar\ 27\ 16.*\|php\|" /var/log/sites/msnbc.prod/logs/web-5518/drupal-watchdog.log | grep -v msnbc_theplatform_thumbnail_url | |
32072:Mar 27 16:01:13 web-5525 msnbc: http://www.msnbc.com|1395936073|php|209.170.78.176|http://www.msnbc.com/andrea-mitchell-reports/watch/victims-of-sexual-abuse-in-the-military-calling-for-a-change-21631555771||0||Notice: A non well formed numeric value encountered in msnbc_metatag_metatags_view_alter() (line 101 of /mnt/www/html/msnbc/docroot/sites/msnbc/modules/custom/msnbc_metatag/msnbc_metatag.module). | |
32394:Mar 27 16:04:34 web-5522 msnbc: http://www.msnbc.com|1395936274|php|195.59.55.216|http://www.msnbc.com/apachesolr_autocomplete_jsonp|http://www.msnbc.com/apachesolr_autocomplete_jsonp|0||Notice: Undefined index: query in msnbc_search_autocomplete_callback() (line 270 of /mnt/www/html/msnbc/docroot/sites/msnbc/modules/custom/msnbc_search/msnbc_search.module). | |
32663:Mar 27 16:07:28 web-5525 msnbc: http://www. |
This file contains 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
Mar 27 00:29:40 web-6216 msnbc: http://edit.msnbc.com|1395880180|content|173.213.212.246|http://edit.msnbc.com/node/294861/edit|http://edit.msnbc.com/node/294861/edit|236771|view|homepage: updated 03/26 PM HOMEPAGE. | |
Mar 27 00:29:40 web-6216 msnbc: http://edit.msnbc.com|1395880180|php|173.213.212.246|http://edit.msnbc.com/node/294861/edit|http://edit.msnbc.com/node/294861/edit|236771||EntityMetadataWrapperException: Unknown data property nid. in EntityStructureWrapper->getPropertyInfo() (line 335 of /mnt/www/html/msnbcedit/docroot/profiles/all/modules/contrib/entity/includes/entity.wrapper.inc). |
This file contains 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
SELECT nid, title, date(from_unixtime(d.field_publish_date_value)), f.field_show_target_id from node n | |
left join `field_data_field_show` f | |
on n.vid = f.revision_id and f.entity_type = 'node' | |
inner join field_data_field_publish_date d | |
on n.vid = d.revision_id and d.entity_type = 'node' | |
where n.type = 'theplatform_video' | |
and f.field_show_target_id is not null | |
order by d.field_publish_date_value desc | |
limit 100; |
This file contains 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
https://gist.github.com/9626666 |
This file contains 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
<?php | |
/** | |
* @file | |
* Select builder for MySQL database engine, routing all SELECTs to the slave. | |
*/ | |
/** | |
* @addtogroup database | |
* @{ |