Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Cache logging files.

    Hello I really need some assistance
    Something in my zen cart is logging files into my cash flder.

    It is logging hundreds of files by this kind of name.

    myDEBUG-1336693125-320257.log

    it is crazy how many files this is logging could someone let me know how to stop this?

    thank you or at least lessen the file logged over time

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

    Default Re: Cache logging files.

    Those are recording PHP errors which are happening on your site.
    You can stop the by fixing the PHP errors which they're recording inside them.

    See: http://www.zen-cart.com/content.php?124-blank-page
    .

    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
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Cache logging files.

    Quote Originally Posted by DrByte View Post
    Those are recording PHP errors which are happening on your site.
    You can stop the by fixing the PHP errors which they're recording inside them.

    See: http://www.zen-cart.com/content.php?124-blank-page
    thank ou for your answre but I do not quite undrstand what all that mean.

    I loaded my site once and 5 of these files generated.

    all say the same thing in the file

    [11-May-2012 09:46:19] PHP Warning: session_save_path(): open_basedir restriction in effect. File(/home/content/01/7784001/html/snagglessharkteeth/cache) is not within the allowed path(s): (/var/www/vhosts/www.snagssharkteeth.com/httpdocs/:/tmp/) in /var/www/vhosts/www.snagssharkteeth.com/httpdocs/includes/functions/sessions.php on line 168

    What should I do?
    thank you

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cache logging files.

    Evidently your site was on another server at some point, and hasn't been updated for the new server's folder structure.

    You need to go to Admin->Configuration->Sessions->Session Directory and change the existing value from:
    /home/content/01/7784001/html/snagglessharkteeth/cache
    to this instead:
    /var/www/vhosts/www.snagssharkteeth.com/httpdocs/cache

    Or if you can't login to your admin for some reason, then use this addon utility to do it for you: http://www.zen-cart.com/downloads.php?do=file&id=8 Be sure to delete the file from your server when you're done.


    And you can delete old myDEBUG-xxxxxxx.log files from your server. Any new myDebug-xxxx.log files that are generated should be viewed and dealt with, and then deleted.
    .

    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.

  5. #5
    Join Date
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Cache logging files.

    Quote Originally Posted by DrByte View Post
    Evidently your site was on another server at some point, and hasn't been updated for the new server's folder structure.

    You need to go to Admin->Configuration->Sessions->Session Directory and change the existing value from:
    /home/content/01/7784001/html/snagglessharkteeth/cache
    to this instead:
    /var/www/vhosts/www.snagssharkteeth.com/httpdocs/cache

    Or if you can't login to your admin for some reason, then use this addon utility to do it for you: http://www.zen-cart.com/downloads.php?do=file&id=8 Be sure to delete the file from your server when you're done.


    And you can delete old myDEBUG-xxxxxxx.log files from your server. Any new myDebug-xxxx.log files that are generated should be viewed and dealt with, and then deleted.
    Thank you so much for our help

    which file do I delete from the server?

    "Be sure to delete the file from your server when you're done."

    than you so much

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cache logging files.

    I was referring to the fix_cache_key.php file, if you were to use the addon I was mentioning. If you didn't use it or upload it, then there's nothing to delete.
    .

    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.

  7. #7
    Join Date
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Cache logging files.

    Thank you Dr Byte
    That cache file was was very problematic

    I did not use the addon just updates the lin session

    thank you so much

  8. #8
    Join Date
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Cache logging files.

    Hello once again Dr Byte.
    My cache folder is filling up with debug files again
    I added the previous line you told me to but since than I have had a friend add his web sites to my server also.

    should I change this line/ alter it?
    if so what too?

    thank you

  9. #9
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cache logging files.

    Filling up with WHAT?
    .

    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.

  10. #10
    Join Date
    Jun 2011
    Posts
    113
    Plugin Contributions
    0

    Default Re: Cache logging files.

    It is fixed now.
    I changed the server path or dommain which had a www., I removed this thus I was in need to modify the original path that you initially instructed me to modify.

    It was logging with debug notepad files again

    but since the re-modification the cach file is now normal again

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Strange files in cache
    By enzo-ita in forum General Questions
    Replies: 3
    Last Post: 4 Nov 2012, 09:42 AM
  2. Cache & SQL Files
    By Green333 in forum General Questions
    Replies: 8
    Last Post: 19 Mar 2010, 09:28 AM
  3. Strange Files in /Cache Folder
    By limelites in forum General Questions
    Replies: 1
    Last Post: 19 Apr 2009, 12:34 PM
  4. problems logging into admin NOW no db cache
    By Henrietta in forum General Questions
    Replies: 6
    Last Post: 6 Oct 2007, 06:04 AM
  5. Replies: 1
    Last Post: 26 Jun 2007, 05:06 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