Forums / Upgrading to 1.5.x / Two DeBug Messages Since Upgrading from v1.3.5 ...

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

Views: 760

Results 1 to 3 of 3
4 Jun 2013, 1:13 AM
#1
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

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: 1062:Duplicate entry 'zc_7eb4ed1f36d90140477d9474b61e0e26' for key 'PRIMARY' :: insert into zen_db_cache set cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26',
cache_data = 'YTo2MjM6e2k6MDthOjI6e3M6NjoiY2Zna2V5IjtzOjEwOiJTVE9SRV9OQU1FIjtz

deleted

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

4 Jun 2013, 4:14 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

4 Jun 2013, 8:49 AM
#3
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

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!