Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default 1.5.5f log files not writing to log folder

    1.5.5f default files, no mods that can create this issue, php7.1.15. Other zen cart sites on same server are creating log files as they should. What could cause this on a single website?
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: 1.5.5f log files not writing to log folder

    What is the history of the site? Was it a fresh zc1.5.5f install or was there an upgrade involved somewhere?

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: 1.5.5f log files not writing to log folder

    fresh files (literally nothing from old site except configure files which were upgraded properly), upgraded database and new template. The server is also new and did have an issue but is corrected now. Server folks who are zen cart folks are mystified.
    The full-time Zen Cart Guru. WizTech4ZC.com

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: 1.5.5f log files not writing to log folder

    You're getting logs from neither the storefront nor the admin?

  5. #5
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: 1.5.5f log files not writing to log folder

    neither.
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: 1.5.5f log files not writing to log folder

    I can confirm that on this server, I can go to another hosting account, break the site by removing a ' on a define in the english.php forcing the site to blank page and get a mydebug because of it. On the site in question the same exact change will blank page the site but does not write a mydebug log.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: 1.5.5f log files not writing to log folder

    When installing, were the install logs generated?
    Folder permissions for the logs folder?
    Did the enable_error_logging.php files get uploaded/verified uploaded, complete and intact?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: 1.5.5f log files not writing to log folder

    I can't tell you what might have been generated during the database upgrade but since nothing is writing to the folder, I doubt anything did. enable_error_logging.php is there and was uploaded as a part of the zip I created and have used before with no issues. To be sure, I uploaded it again and the results are the same.
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,695
    Plugin Contributions
    123

    Default Re: 1.5.5f log files not writing to log folder

    On my test 1.5.5f site this functionality works fine.
    Have you checked the permissions of the logs directory?
    Try creating a log by hand: at the top level create test.php with this content:

    Code:
    <?php
    require("includes/application_top.php");
    error_log("test");
    then go to mysite.com/test.php and see if a log is created.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: 1.5.5f log files not writing to log folder

    Quote Originally Posted by swguy View Post
    On my test 1.5.5f site this functionality works fine.
    Have you checked the permissions of the logs directory?
    Try creating a log by hand: at the top level create test.php with this content:

    Code:
    <?php
    require("includes/application_top.php");
    error_log("test");
    then go to mysite.com/test.php and see if a log is created.
    Permissions are fine. I tested your method on both the OPs site and on the other site I was testing and I can not generate a log with this method. I tested it on one of the other servers which is a bit older and it does generate an error log with "[17-Mar-2018 00:58:26 America/New_York] test" in it. There still must be something about the way this new server was set up that is causing this, though I still don't understand why on this server I can get a log to generate in one account and not the other when I simply break a define in the english.php.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 11
    Last Post: 10 Jun 2014, 04:58 AM
  2. myDEBUG log files in cache folder
    By Athens Collectibles in forum General Questions
    Replies: 2
    Last Post: 26 Jun 2011, 11:04 AM
  3. query_selects_xxxxx.log files in Cache folder
    By Ishikawa91 in forum General Questions
    Replies: 10
    Last Post: 22 May 2010, 07:29 AM
  4. Debug utility not writing log files
    By zhamid in forum General Questions
    Replies: 1
    Last Post: 4 Jul 2009, 02:44 PM

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