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
echo stats | nc 127.0.0.1 11211 |
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
Index: system.module | |
=================================================================== | |
--- modules/system/system.module (revision 8648) | |
+++ modules/system/system.module (working copy) | |
@@ -2238,7 +2238,7 @@ | |
} | |
else { | |
// File is not found in file system, so delete record from the system table. | |
- $delete->condition('filename', $file->filename); | |
+ //$delete->condition('filename', $file->filename); |
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
*** system.install 2012-07-09 15:58:15.000000000 -0400 | |
--- system-patched.install 2012-01-24 17:21:30.000000000 -0500 | |
*************** function system_requirements($phase) { | |
*** 474,489 **** | |
); | |
} | |
$requirements['update status']['title'] = $t('Update notifications'); | |
- | |
- // Check that Drupal can issue HTTP requests. | |
- if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) { |
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
477,486d476 | |
< | |
< // Check that Drupal can issue HTTP requests. | |
< if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) { | |
< $requirements['http requests'] = array( | |
< 'title' => $t('HTTP request status'), | |
< 'value' => $t('Fails'), | |
< 'severity' => REQUIREMENT_ERROR, | |
< 'description' => $t('Your system or network configuration does not allow Drupal to access web pages, resulting in reduced functionality. This could be due to your webserver configuration or PHP settings, and should be resolved in order to download information about available updates, fetch aggregator feeds, sign in via OpenID, or use other network-dependent services. If you are certain that Drupal can access web pages but you are still seeing this message, you may add <code>$conf[\'drupal_http_request_fails\'] = FALSE;</code> to the bottom of your settings.php file.'), | |
< ); |
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
Index: system.install | |
=================================================================== | |
--- modules/system/system.install (revision 8648) | |
+++ modules/system/system.install (working copy) | |
@@ -476,15 +476,6 @@ | |
} | |
$requirements['update status']['title'] = $t('Update notifications'); | |
- // Check that Drupal can issue HTTP requests. | |
- if (variable_get('drupal_http_request_fails', TRUE) && !system_check_http_request()) { |
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
#!/usr/bin/env python | |
import urllib | |
import time | |
import httplib | |
base = 'www.edc.org' # NO trailing slash | |
lim = 200 # highest nid in your {node} table | |
def xhmtl_is_valid(url): | |
time.sleep(.75) # seconds |
NewerOlder