Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Two DeBug Messages Since Upgrading from v1.3.5 ...

    I recently upgraded my cart to version 1.5.1 and everything seems to be fine. However, I checked the logs folder and found around 2,000 entries (several hundred seem to be generated every day or so...).

    Basically there are just two messages. Could someone take a look at them and let me know what I need to do to fix the problems? I wonder why these are being generated? I don't believe there are so many visitors to my store... Are these being generated automatically?

    Thank you in advance!

    There are hundreds of this message:

    [03-Jun-2013 19:06:37 US/Central] PHP Warning: define() expects at least 2 parameters, 1 given in /home/public_html/store.mysite.jp/includes/languages/japanese/extra_definitions/login_box_defines.php on line 59

    The second is very long so I have deleted the center section. I found just one of these:

    [03-Jun-2013 08:42:49 US/Central] PHP Fatal error: 1062uplicate entry 'zc_7eb4ed1f36d90140477d9474b61e0e26' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26',
    cache_data = 'YTo2MjM6e2k6MDthOjI6e3M6NjoiY2Zna2V5IjtzOjEwOiJTVE9SRV9OQU1FIjtz

    deleted

    fWk6NjIyO2E6Mjp7czo2OiJjZmdrZXkiO3M6MzQ6Ik1PRFVMRV9QQVlNRU5UX0NPRF9PUkRFUl9TVEFU VVNfSUQiO3M6ODoiY2ZndmFsdWUiO3M6MToiMCI7fX0=',
    cache_entry_created = '1370266969' in /home/public_html/store.mysite.jp/includes/classes/db/mysql/query_factory.php on line 120

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Two DeBug Messages Since Upgrading from v1.3.5 ...

    What do you have in your file, on the server, for:
    /includes/languages/japanese/extra_definitions/login_box_defines.php

    sounds like something is missing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: Two DeBug Messages Since Upgrading from v1.3.5 ...

    Hello,

    Yes, you were right, and it was an easy fix. Comparing the Japanese file with its English counterpart I found what was missing:

    This was written on line 59:

    define('パスワードをお忘れですか?');

    which I changed to:

    define('LOGIN_BOX_PASSWORD_FORGOTTEN','パスワードをお忘れですか?');

    and all seems to be rosy. I wonder how that happened...

    As for the PHP Fatal error: 1062 is it something that warrants futher attention?

    Thanks in advance!

 

 

Similar Threads

  1. Turned on Debug Email and now I get these messages
    By STFlats in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 May 2008, 04:44 AM
  2. IPN Debug Messages
    By ittybittyscrapshack in forum General Questions
    Replies: 0
    Last Post: 5 Mar 2008, 10:42 AM
  3. IPN DEBUG messages????
    By LilleyPadGifts in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 2 Feb 2007, 01:08 AM
  4. How to write debug messages on top of page?
    By harmeet in forum General Questions
    Replies: 3
    Last Post: 12 May 2006, 05:30 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
  •  
disjunctive-egg