If this is your first visit, check our documentation. To post, register or login.
Forums / Fraud Prevention / deciphering error log messages

deciphering error log messages

Started by graniteman44 on 17 Apr 2013, 5:02 PM · Views: 345

Results 1 to 16 of 16
17 Apr 2013, 5:02 PM
#1
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

deciphering error log messages

I have recently been getting a buildup of errors in my cache folder that grows quickly. I have clicked on a few of them to see what they say. The messages don't include an "error" message but includes similar to the following:

I AM HERE
sidebox:

Explain
select code, title, symbol_left, symbol_right, decimal_point,
thousands_point, decimal_places, value
from currencies;

I AM HERE
sidebox:

Explain
select code, title, symbol_left, symbol_right, decimal_point,
thousands_point, decimal_places, value
from currencies;

I look at the above and not sure where I should look to correct whatever is causing the error. The most recent add on that I have installed is the "CAPTCHA using TTF & GD" so I am not sure if that is causing my error log to fill up or not.

I'm not sure if it helps but the file names of the text files in the error log are named as follows:

query_selects
query_selects_account
query_selects_account_history
query_selects_advanced_search
query_selects_contact_us
query_selects_discount_coupon
query_selects_featured_products
query_selects_index
query_selects_login
query_selects_logoff
query_selects_page_not_found
query_selects_popup_image
query_selects_product_info
query_selects_products_all
query_selects_products_new

There are a few other titles that keep showing up, but hopefully that will help someone guide me as to how I can locate and correct the actual errors. Can anyone decipher the above error and point me in the right direction as to what my next step is in solving it?

I am using version 1.3.7.1
my website if it helps is "http://monumentsplus.com

Did I post this in the correct forum?

Let me know if there is more information needed to help.

17 Apr 2013, 5:35 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: deciphering error log messages

Post the complete error log message(s)

And if really using ZenCart v1.3.7 - You need to upgrade NOW before you are hacked and and have to perform a clean and an upgrade

Zen-Venom Get Bitten

17 Apr 2013, 7:32 PM
#3
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: deciphering error log messages

The aforementioned error message is what the "query_select" has in its entirety. Some of the others are really long...18 pages to be exact so I didn't think it would be right to post the whole error here.

The following is another error I keep getting titled query_selects_product info:

I AM HERE product_info
sidebox:

**** REMOVED BY MODERATOR ****

I have thought of upgrading but I have done so much customization that I am afraid the new one would be so different that I wouldn't be able to get it to look like I have it currently in a timely fashion.

17 Apr 2013, 8:10 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: deciphering error log messages

And I bet you're still using Windoze 98.

Sorry, but no one is going to load 1.3.7 in order to answer your question. I would be afraid of the consequences even on a local build.

At least load a test copy of 1.3.9h and see what you can do to make it work. I think you'll find the newer mods will get you going a lot faster than trying to do resuscitation on 1.3.7.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 Apr 2013, 8:11 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: deciphering error log messages

Those are query-logging logs.
Turn them off in Admin->Configuration->Logging.

There was a bug a long time ago that prevented that switch from working properly, so making the change might not work. That bug was fixed in at least v1.3.9 if not earlier. If it affects you, you can probably find the bug report in the Bug Reports section and apply the fix yourself. But upgrading would give you tons of additional bugfixes as well.

.
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.

18 Apr 2013, 3:00 PM
#6
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: deciphering error log messages

dbltoe:

And I bet you're still using Windoze 98.

Sorry, but no one is going to load 1.3.7 in order to answer your question. I would be afraid of the consequences even on a local build.

At least load a test copy of 1.3.9h and see what you can do to make it work. I think you'll find the newer mods will get you going a lot faster than trying to do resuscitation on 1.3.7.

I actually use windows 7.

Those are query-logging logs.
Turn them off in Admin->Configuration->Logging.

There was a bug a long time ago that prevented that switch from working properly, so making the change might not work. That bug was fixed in at least v1.3.9 if not earlier. If it affects you, you can probably find the bug report in the Bug Reports section and apply the fix yourself. But upgrading would give you tons of additional bugfixes as well.

Thank you. That is all I needed.

18 Apr 2013, 3:22 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: deciphering error log messages

That is all I needed. ...Until you get hacked, which is only a matter of time. When a hacker finds your site, he will be able to break in and shut you down or steal your money and your customers' private info.

Start a test upgrade or rebuild now, in a subfolder or on a local server like XAMPP, so you can migrate to a secure site on your own schedule instead of scrambling to recover. There are tutorials on many aspects of the process in the FAQ section on this site.

18 Apr 2013, 4:26 PM
#8
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: deciphering error log messages

Thank you. I am working on setting it up on a different server with a different host than I currently have.

18 Apr 2013, 6:55 PM
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: deciphering error log messages

GraniteMan44:

Thank you. I am working on setting it up on a different server with a different host than I currently have.You need to do more than that.. You need to UPGRADE.. So let me give you an example of what WILL (notice I said WILL not MAY) happen if you insist on continuing to run 1.3.7.

I have a test/demo site running 1.3.7 that I BARELY look at until some academically challenged person attempts to place an order on this site (which is rare since the site CLEARLY is marked as a dmeo site). Now I haven't worried much about upgrading this site since it's not real.. BUT I know I need to do this, and it's on my to-do list for "sometime" in the future..

JUST two days ago, an academically challenged individual attempted to place an order on the site and I noticed that the order was paid via manual credit card.. I was pretty sure that I hadn't activated the manual credit card payment module, so I logged in to my admin to see.. I found the following:

  1. There were 10 ACTIVE admin users setup that I DID NOT create
  2. The PayPal module had been activated and it was configured with someone else's e-mail address so that payments would be directed to THAT e-mail address if someone was unfortunate enough to make a purchase and pay with PayPal.
  3. The manual Credit Card module had indeed been activated (NOT by me)

Now fortunately I caught all of this before any real damage had been done to anyone silly enough to try and buy something off of a demo site, but imagine if this had been a REAL store??

Now until I upgrade this site I've done all the usual stuff (change passwords, admin folder name, etc).. I even deleted the credit card and PayPal payment modules files in their entirety (it's a demo store so I don't NEED these modules anyway), but I already had a secure password, and an obscure admin folder on this site and they GOT THIS SITE ANYWAY.. I may have slowed them down a bit, but I didn't STOP them.. Needless to say it's HIGH on my to-do list to upgrade this demo site this weekend..

The fact that this hasn't happened to you yet isn't for any other reason than you have been LUCKY.. My demo site was WAY off the beaten path and it got compromised.. How do you think your site with all you have probably done to make it SEEN gonna fare??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Apr 2013, 7:04 PM
#10
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: deciphering error log messages

ok ok...What I should have clarified is that I am following the instructions to upload the site on a different server and will then upgrade. Doing it that way will allow me to keep my current site up until I complete the upgraded site. I never knew that there were such issues with 1.3.7. It seems that an all points bulletin should have been placed on the support homepage indicating it had a major security issue.

18 Apr 2013, 7:11 PM
#11
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: deciphering error log messages

GraniteMan44:

ok ok...What I should have clarified is that I am following the instructions to upload the site on a different server and will then upgrade. Doing it that way will allow me to keep my current site up until I complete the upgraded site.Good to hear..

GraniteMan44:

I never knew that there were such issues with 1.3.7. It seems that an all points bulletin should have been placed on the support homepage indicating it had a major security issue.Know well documented issues, and there have been plenty of messages/notifications saying just that.. Why do you think we're all saying "upgrade upgrade upgrade upgrade"???:laugh:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

18 Apr 2013, 8:07 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: deciphering error log messages

I never knew that there were such issues with 1.3.7. It seems that an all points bulletin should have been placed on the support homepage indicating it had a major security issue.

News and Announcements from 29 Sep 2008

http://www.zen-cart.com/showthread.php?108428-Security-Alert-SQL-Injection-Protection-2008-09-19

Zen-Venom Get Bitten

18 Apr 2013, 8:14 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: deciphering error log messages

And all forum members were emailed about it in 2008 and 2009 too.

.
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.

18 Apr 2013, 9:32 PM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: deciphering error log messages

Back when the major vulnerability in v1.3.8a and earlier was discovered (and immediately patched) in June 2009, there was a lot of publicity. Of course, there is no way to contact all Zen Cart sites since users aren't required to register (or pay), so those who didn't look at the support site or hear about it in other ways remained blissfully (?) ignorant at least until v1.3.9 came out a year later, with all those patches and more built in. In the past couple of years, attention has focused on the several minor and major new versions released. How long should a banner warning about an obsolete version stay up?

16 May 2013, 6:42 AM
#15
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: deciphering error log messages

How do you turn them on ?

Store Page Parse Time false
Log Destination /cache/page_parse_time.log
Log Date Format %d/%m/%Y %H:%M:%S
Display The Page Parse Time false
Store Database Queries

I can see any log files in /cache/ (even after Store Page Parse Time true )

Downunder QLD

16 May 2013, 11:53 AM
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: deciphering error log messages

oavs:

How do you turn them on ?

Store Page Parse Time false
Log Destination /cache/page_parse_time.log
Log Date Format %d/%m/%Y %H:%M:%S
Display The Page Parse Time false
Store Database Queries

I can see any log files in /cache/ (even after Store Page Parse Time true )
I'm assuming that you're asking about the error logs (since that's the subject of this thread) ... they're turned on automatically! Starting with v1.5.1, the myDebug*.log files are now recorded in your store's /logs directory instead of the /cache directory.