Warning: INSERT command denied to user 'dbo235853990'@'74.208.57.157' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";N;s:8:\"%message\";s:80:\"preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead\";s:5:\"%file\";s:65:\"/homepages/28/d91957220/htdocs/miccah/drupal/includes/unicode.inc\";s:5:\"%line\";i:345;}', 3, '', 'http://miccah.com/node/18', '', '54.92.160.119', 1539930080) in /homepages/28/d91957220/htdocs/miccah/drupal/includes/database.mysql.inc on line 128
More options with Privoxy & Google cache | Miccah.com

More options with Privoxy & Google cache

: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /homepages/28/d91957220/htdocs/miccah/drupal/includes/unicode.inc on line 345.
xiaoxin's picture

Making those 503's a little bit more friendlier.

I'm special because when I encounter a connect failed error I get a custom generated page from Privoxy. This custom page (generated just for me!) tells me exactly what went wrong (Connected Failed) and also gives me several helpful options. Among them is is to reload (which usually takes care 80% of connect failed problems) the site by providing a link. The other options are to view and modify Privoxy settings. It would be nice to have a third option of view the cache of the site that just failed.

Here's how. Modify your Privoxy "Connected failed" template:


  1. Locate the connected failed template. On my PC this file is in "C:Program FilesPrivoxy emplatesconnect-failed".
  2. Open this document and go to line 120.
  3. Delete the period at the end of the sentence and add
    "or view google <A HREF="http://google.com/search?q=cache:@protocol@@hostport@@path@">cache</A> of this."

or whatever other message you want. the important thing is to give an option for the cache.

There, now you have a choice to view the cache of the site as well as trying to reload it. This can be helpful when a site is slashdotted.Now go! Be powerful and mighty!