[support] Site Documentation Module?

Bob Turner Bob at TurnerPCC.com
Sun Jun 9 20:02:15 UTC 2013


The data to be compared (html and javascript) is not on the filesystem, not directly anyway.  Its contained within the Drupal node stored in the mysql database.

My original question remains.  Is there a module to document Drupal configuration so that I may compare one Drupal instance with another?  I need information like what you see on the <admin><module> page that also includes configuration details on each module that has a configuration setting.  Ideally I could generate and save a report today and sometime in the future (when it breaks) generate another report, compare them and see what changed.

Bob

-----Original Message----- 
From: John Summerfield 
Sent: Sunday, June 09, 2013 8:47 AM 
To: support at drupal.org 
Subject: Re: [support] Site Documentation Module? 

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.


-- 
[ Drupal support list | http://lists.drupal.org/ ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130609/4c12a81e/attachment.html 


More information about the support mailing list