[support] Site Documentation Module?

John Summerfield summer at js.id.au
Sun Jun 9 12:47:26 UTC 2013


On 09/06/13 05:56, Bob Turner wrote:
> Thanks.
> When I use the quickdiff.com online tool, it tells me they are the same
> text making up the javascript.  I saw that as well.  I’ve come to the
> conclusion that there is something else on the page causing the
> javascript to fail.   There are many page differences as last dev
> refresh was around 5/1.  I only did a diff of the javascript paragraph.
> The page in question is rapidly changing as it refers to an event at the
> end of this month.   In case you are interested, here are the links to
> the pages in question.

The diff program I mentioned is the GNU version of the standard Unix 
tool. It runs on the filesystem and can quickly show all the files that 
differ and where they differ.

Looks like this:
20:47 [root at WebServer sites]# diff -ur chesswa.bak/ chesswa | head -20
Only in chesswa/drupal: drupal
Only in chesswa/drupal: favicon.ico
Only in chesswa.bak/drupal: .gitignore
Binary files chesswa.bak/drupal/misc/favicon.ico and 
chesswa/drupal/misc/favicon.ico differ
diff -ur chesswa.bak/drupal/modules/image/image.admin.inc 
chesswa/drupal/modules/image/image.admin.inc
--- chesswa.bak/drupal/modules/image/image.admin.inc    2013-04-04 
05:29:52.000000000 +0800
+++ chesswa/drupal/modules/image/image.admin.inc        2013-05-18 
09:54:37.292306299 +0800
@@ -772,11 +772,22 @@
    $original_attributes['style'] = 'width: ' . $original_width . 'px; 
height: ' . $original_height . 'px;';

    // Set up preview file information.
+  ob_start();
    $preview_file = image_style_path($style['name'], $original_path);
+  print "<br> File: " .  $preview_file;
    if (!file_exists($preview_file)) {
      image_style_create_derivative($style, $original_path, $preview_file);
+    print "<br> now: " .  $preview_file;
+  }
+  if (!file_exists($preview_file)) {
+    print "<br> " . $preview_file . " still doesn't exist";
20:47 [root at WebServer sites]#




If those are identical, then that leaves your databases. I suppose 
there's a point to the quickdiff site, but I don't see it.




More information about the support mailing list