Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Help needed testing and debugging "ZenDiags"

    I'm on the road (with a friend of mine) of making a great (because usefull) little (because not so complicated) Joomla add-on available for Zen-Carters.

    This is the Joomla diagnostics add-on. It's purpose is easy to understand, it verifies that files have not been corrupted during FTP transfers.

    First it generates a text file with every file in a zen-cart site and for each an md5 checksum. The mechanic is to compare these checksums on the tranfered files. The add-on generates a web page telling which file is missing or which one has been aletered.


    I've made a first attemp to adapt the joomla add-on to zen-cart. You'll find it attached.

    It's easy to use,
    - first upload the diagnostics.php file to your site,
    - edit it so that the path matches your server one,
    - then ask for http://yoursite/diagnostics.php?task=generate.

    Now look on your server, you'find a file named ZenDiagFile_1.3.7.txt

    - Transfer this file to you site copy,
    - modify the path so that it matches the one of your copy server,
    - and on the copy server ask for
    http://sitecopy/diagnostics.php

    You'll get a page telling you wich files have been altered or are missing.

    On my tests, something strange is happening : I have, as all of you on a 1.3.7 install, about 4000 files.
    The strange is that it tells me that files in /admin are not there. If I verify the files are there and even the md5 checksums match the one in the text file.

    If someone can test that on his site, and tell me what happens it would be nice.

    Thanks for your help

    Regards

    Hubert
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Help needed testing and debugging "ZenDiags"

    Was there a presumption that anyone using this Mod would first have Joomla installed? Because I don't and no TXT file is created plus the file kicks back an error:

    fopen(ZenDiagFile_1.3.7.txt) [function.fopen]: failed to open stream: Permission denied in /path/.../diagnostics.php on line 143

    line 143
    $fp = fopen("ZenDiagFile_" . $jversion . ".txt", "w");


    Note: Zen Cart version used is 1.3.8a and 'fopen' works just fine within Zen Cart files.

  3. #3
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Help needed testing and debugging "ZenDiags"

    First thanks for taking a look at this little piece of software.

    Quote Originally Posted by Website Rob View Post
    Was there a presumption that anyone using this Mod would first have Joomla installed?
    No, fortunately not.

    Quote Originally Posted by Website Rob View Post
    no TXT file is created plus the file kicks back an error:

    fopen(ZenDiagFile_1.3.7.txt) [function.fopen]: failed to open stream: Permission denied in /path/.../diagnostics.php on line 143

    line 143
    $fp = fopen("ZenDiagFile_" . $jversion . ".txt", "w");
    This tells us that you don't have permission to write on the directory where the Diagnostics.php file tries to. Did you change the path on both line 17 and 66 ?. Perhaps Diagnostics.php is trying to write its txt file in a directory on which you have no rights.

    Tanks again for helping

    Regards

    Hubert

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Help needed testing and debugging "ZenDiags"

    I know what the error msg. meant and only provided details for you to work with.

    Sorry, but you'll have to be more clear with your instructions. I did the path change as mentioned but wasn't aware there was more than one line for the path -- and why should there be?

 

 

Similar Threads

  1. testing an order and can't find the "add to cart" button
    By Gee22 in forum General Questions
    Replies: 3
    Last Post: 6 Dec 2010, 12:03 AM
  2. Help with "Add to cart box", a font change and "New Produts Module"...
    By BenhamCollectibles in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Dec 2009, 05:24 PM
  3. Combine product "image" and "text" links into one - SEO help!
    By blackhalo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 Jul 2008, 10:14 PM
  4. "Authorizenet is in Testing mode"...please help!
    By dle14 in forum Built-in Shipping and Payment Modules
    Replies: 17
    Last Post: 23 Jan 2007, 08:53 AM
  5. Moving from testing server to "live" need help w/database
    By webwiz in forum General Questions
    Replies: 2
    Last Post: 16 May 2006, 02:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg