Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Database crash notice

Database crash notice

Started by y051313 on 22 Jul 2012, 2:09 AM · Views: 894

Results 1 to 5 of 5
22 Jul 2012, 2:09 AM
#1
y051313 avatar

y051313

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Post #1 by y051313

Hi, I got the following erro msg when I try to open my ZenCart site.

145 Table './herbal11_zc1/zen_whos_online' is marked as crashed and should be repaired
in:
[delete from zen_whos_online where time_last_click < '1319649963']

I know how to fix this problem. My question is, is it possible to turn off this detailed msg, just show customer "Sorry, we got some technical problems, will be back soon", and send an email to the store owner?

Thanks
Davis

22 Jul 2012, 3:55 AM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

Yes, upgrade to v1.5.0 and a friendly message will be displayed instead of the ugly technical message.

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

22 Jul 2012, 7:51 AM
#3
y051313 avatar

y051313

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Post #3 by y051313

DrByte:

Yes, upgrade to v1.5.0 and a friendly message will be displayed instead of the ugly technical message.

Upgarding to v1.5.0 is the only solution? I have made a lot of customziations, upgrading will take a lot of time.

22 Jul 2012, 9:36 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #4 by rodg

y051313:

Upgarding to v1.5.0 is the only solution? I have made a lot of customziations, upgrading will take a lot of time.

Don't confuse 'customisations = changes to the core code' with 'customisations = using a template other than the Classic Green' or 'customisations = lots of 3rd party addons being used'

If your customisations revolve around using a different template only, the upgrade is very simple and will only take a few minutes.

If your customisations revolve around lots of 3rd party addons being used, then as long as the addons are V1.5 compatible it'll take a little longer because you'll need to upgrade those too.

It is only if your customisations revolve around changes to the core code that it could take a lot of time to merge all the changes into the updated code, but most people are not in this situation (and those that are are usually skilled enough that they can do this with very little effort.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

22 Jul 2012, 1:02 PM
#5
y051313 avatar

y051313

New Zenner

Join Date:
Mar 2010
Posts:
54
Plugin Contributions:
0

Post #5 by y051313

RodG:

It is only if your customisations revolve around changes to the core code that it could take a lot of time to merge all the changes into the updated code, but most people are not in this situation (and those that are are usually skilled enough that they can do this with very little effort.

Cheers
Rod

I'm afraid that's the situation I'm facing, we have added some fileds in the databases, and also changed core code...