Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    59
    Plugin Contributions
    0

    log file -- where to set it up

    I tried to set up the log file to log the display page time but I'm getting this error message:


    Warning: error_log(/zen/page_parse_time.log): failed to open stream: No such file or directory in /home/content/b/e/a/bearBud2206/html/store/admin/includes/classes/logger.php on line 60

    I can't use the default value because we don't have access to /var/. Our directories start with / so I created a /zen directory for the logging and gave it 777 permission for the owner.

    Thanks,
    jdl

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: log file -- where to set it up

    1. try using the full path to your cache folder on your site.
    ... or create another log folder above public_html ("html" in your case) and make it writable
    2. To set the path, go to Admin->Configuration->Logging ... which is the same place where you turned the feature on...
    .

    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
    May 2006
    Posts
    59
    Plugin Contributions
    0

    Re: log file -- where to set it up

    Thanks for the quick reply. I'm really glad that the error message included the full path so that gave me the clue as to where to set the log file path.

    I have a question about the stats:

    Parse Time: 4.636 - Number of Queries: 290 - Query Time: 1.23145909543

    That seems like a lot of queries to just display the products--what exactly does Number of Queries: 290 mean?

    Do you think that the Parse Time: 4.636 is slower than it should be? If so, I'll talk with the godaddy folks.

    The response is much slower this morning but it was really slow yesterday evening. What's a reasonable response time for a store with 16 products?

    Thanks!
    jdl

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: log file -- where to set it up

    Quote Originally Posted by jdl
    What's a reasonable response time for a store with 16 products?
    On the server that the Zen Cart site runs on, I have a testing area set up that contains a fresh install with demo data. I've added a few products to test a few things, but right now I have 125 products. My parse time details on a first-load of the home page with an empty browser cache are:
    Code:
    Parse Time: 2.556 - Number of Queries: 876 - Query Time: 0.6845691
    That's with all the demo products, all the sales, all the sideboxes and centerboxes active, etc.
    So, that's running 876 queries in 0.68 seconds and taking 2.5 seconds to do the queries and cache the files for first hit... vs your server doing 290 queries in 1.23 seconds and 4.6 seconds to render the page.

    If I then refresh the browser while things are cached, I get:
    Code:
    Parse Time: 0.378 - Number of Queries: 877 - Query Time: 0.142696081207
    Lickity split...

    Your shared GoDaddy hosting is NOT tuned to give performance to the database engine. You could have more fine-tuning control if you upgraded to a virtual/dedicated server with them, or simply use a host that takes eCommerce seriously and already has their servers tuned appropriately.

    You're clearly on shared hosting on VERY busy servers. Your site will be faster when fewer people are hitting the same server, and slower when everyone wakes up and gets online again...
    On a Zen Cart certified host, you won't find things as volatile. Trends will still exist, but a 1/128" rise is different than a 10" rise in unacceptable response times...
    .

    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.

 

 

Similar Threads

  1. Where do I look for my Scripts Log file?
    By medragon in forum General Questions
    Replies: 1
    Last Post: 12 Aug 2010, 04:36 AM
  2. Cant log into admin - where is CMS file?
    By Kitty in forum General Questions
    Replies: 3
    Last Post: 17 Mar 2009, 01:05 PM
  3. Where is the log file when you set Debug Mode to "Log File"?
    By alicia1234 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 1 Feb 2009, 12:05 AM
  4. Where is log in file located?
    By dilate in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 May 2007, 05:34 AM
  5. Parse Time Log file not set - causing error message
    By Goshawk in forum General Questions
    Replies: 2
    Last Post: 22 Aug 2006, 12:08 PM

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