Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Logs not being written after upgrade to 1.5.5e/f

    Meant to have been a continuation of this thread (closed while writing): https://www.zen-cart.com/showthread....de-to-1-5-5e-f

    Which also relates to: https://www.zen-cart.com/showthread....-configure-php
    And
    Https://www.zen-cart.com/showthread....igure-settings


    Let's throw in there that both configure.php files (includes/local and includes in that order) are loaded before the ZC 1.5.5 includes/defined_paths.php and (for those that might opt to "overdefine" variables in any of those) that once defined, any future define is "ignored".

    Thus (and a bit outside this thread), maintaining an includes/configure.php file from a pre-ZC 1.5.5 version on an upgraded system can lead to discrepancies similar to this. To support continued use of an includes/local/configure.php with an intact includes/configure.php file, the local version must contain defines that apply to the local system and are different than what is in the includes/configure.php.

    Unfortunately for some that use this process, then ideally when/if the local file becomes the final version, it should be trimmed down to just contain the defines expected for a base install (ie. Removing the defines that are applicably covered by defined_paths.php).

    A change is afoot already to address generation of the local/configure.php file to be suitable to replace the existing configure.php; however, it does not yet address the issue raised by the above.

    As can be seen and as I recall discussed elsewhere, it raises a number of additional support issues:
    - if an automated process is developed to eventually replace the includes/configure.php file with the includes/local/configure.php file, will it be used consistently.
    - manually replacing the file may require revision of the file so that the defines added just to support keeping both files in place may "need" to be removed or at least will look odd when viewed from the outside to support the new install.

    And perhaps others that I have missed. As usual, I don't consider these to be reasons to stop such development, change has its own issues and can be worked through when known. :)

    Anyways, my couple of thoughts/observations on the subject.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Logs not being written after upgrade to 1.5.5e/f

    I'm not sure what your intention is with regard to this post.

    There should NEVER be any plan to automatically replace the /includes/configure.php with the includes/local/configure.php.

    The "local" file should be for local development ONLY.
    And when upgrading a production site, zc_install should be used both to upgrade the main configure.php files and also update the database if relevant changes are detected by zc_install.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Logs not being written after upgrade to 1.5.5e/f

    Additionally, is the mention of "v155 e/f" intentional because it ONLY applies to "e" and "f"? Or is the version not actually relevant?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Logs not being written after upgrade to 1.5.5e/f

    Quote Originally Posted by DrByte View Post
    Additionally, is the mention of "v155 e/f" intentional because it ONLY applies to "e" and "f"? Or is the version not actually relevant?
    It was a restatement of the original thread in which it was identified that there was some sort of "remnant" defines to from a previous version included in the includes/configure.php file.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v155 Logs not being written after upgrade to 1.5.5e/f
    By lat9 in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 22 Jan 2018, 06:38 PM
  2. v154 Logs folder not being written to since 2014
    By suedouglas in forum General Questions
    Replies: 6
    Last Post: 3 Mar 2017, 08:32 PM
  3. v155 Error logs not being written
    By jeking in forum Installing on a Linux/Unix Server
    Replies: 16
    Last Post: 26 Mar 2016, 02:50 AM
  4. v154 After upgrade only header shows, no errors in logs
    By aestheticdesign in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 24 Jan 2015, 10:55 PM
  5. Paypal express not sending order details in 1.3.9h, logs show them being sent?
    By scianiac in forum PayPal Express Checkout support
    Replies: 17
    Last Post: 29 Sep 2011, 06:28 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR