Thread: BOM idea

Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Plugin Contributions

    Default BOM idea

    Just an I see that PHP can check if files exists, tell that it's (if it's the case) impossible to delete a file...

    Why don't we ( I know saying we is a bit exaggerated:-) ) include in any of the modules a routine to check a least that the files have been put in the right directories. A kind of Bill of material.

    I know that's not enough to say that the module is well installed, but if file are missing we're sure that the module won't work so the module can tell the admin that something is missing.

    no ?

  2. #2
    Join Date
    Dec 2009
    Amersfoort, The Netherlands
    Plugin Contributions

    Default Re: BOM idea

    You can take a look at for example IH4, this mod already checks for files, if they are where they are supposed to be, and if they are writeable if applicable.

  3. #3
    Join Date
    Jul 2012
    Plugin Contributions

    Default Re: BOM idea

    Some installs do offer that as part of their installation, but errors happen regardless. It's possible for the filename to be there, but no contents, or partial contents, filename could be changed by the person installing based on choice. To what end is this needed? At what point is too much too much? Could have a file check that all constants are defined, that just about anything is the way "expected". But, generally speaking the best check is to use a comparison tool such as listed in this FAQ on useful tools for working with ZC. Not to mention, what happens if the file that is supposed to check for the existence of files has an issue?

    I guess trying to figure out what is the issue that is trying to be resolved? How much of it is/was the original programmer's doing and how much of it was someone later after download?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...



Similar Threads

  1. Idea?
    By dogjumps in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Sep 2010, 09:16 AM
  2. Hidden BOM throwing IE into quirks mode
    By phreakymonkey in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Mar 2009, 03:11 AM
  3. An idea
    By redrob in forum General Questions
    Replies: 6
    Last Post: 17 Feb 2009, 11:27 PM
  4. Idea needed
    By verybyte in forum General Questions
    Replies: 1
    Last Post: 5 Jun 2006, 10:20 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
Zen-Cart, Internet Selling Services, Klamath Falls, OR