Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Changed domain - getting error message

Changed domain - getting error message

Locked

Started by djd5059 on 12 Aug 2010, 2:00 PM · Views: 814

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Aug 2010, 2:00 PM
#1
djd5059 avatar

djd5059

New Zenner

Join Date:
Jun 2010
Posts:
16
Plugin Contributions:
0

Post #1 by djd5059

My company owns the domains suppliesondemand.biz and suppliesondemand.net. We want the .biz address to be the primary, but because our server administrators didn't set things up right, the .net domain has always been the default. So if you typed a .biz address into the browser, it would always redirect to the .net equivalent unless it was the main page. This was really screwing with our PageRank as Google was treating our index page as a different site than our item pages.

I finally explained this to the administrators that made sense, and they switched the defaults over last night. Unfortunately, this caused some kind of fatal error within Zen Cart, and now no matter what page you try to go to within the store, you get the following error message:

145 Table '.\suppliesondemand\whos_online' is marked as crashed and should be repaired
in:
[delete from whos_online where time_last_click < '1281620206']

Does anyone know if there is an easy fix for this? I assume files were written with self referential links by the program, and now it is confused because part of the address changes. The IP address is the same, and the file structure has not change. Does anyone know how to fix this? Thanks.

12 Aug 2010, 2:04 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #2 by afo

It's doubtful the change caused that issue. You should be able to recover the table using phpMyAdmin from your webmaster panel (outside Zen Cart).

When the switch was made to the .biz address, did you edit the configure.php files in Zen Cart to match?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

12 Aug 2010, 2:07 PM
#3
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,337
Plugin Contributions:
41

Post #3 by mprough

First check admin/includes/configure.php and includes/configure.php are set up correctly.... Verify the database prefix as well.

Then run this http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=82

If that doesn't work we will need some details as to what the webhost did... new account? dns trick? etc.

~Melanie

12 Aug 2010, 2:31 PM
#4
djd5059 avatar

djd5059

New Zenner

Join Date:
Jun 2010
Posts:
16
Plugin Contributions:
0

Post #4 by djd5059

Thanks for the tips - I updated both of the configure files, and I tried to run the fix_cache_key.php file, but I get the same error message. That probably means I need to address the database issue first. I am not familiar with database administration. I can find the whos_online database in the phpmyadmin on my server, but I have no idea what I should be doing with it. Tips?

12 Aug 2010, 2:36 PM
#5
djd5059 avatar

djd5059

New Zenner

Join Date:
Jun 2010
Posts:
16
Plugin Contributions:
0

Post #5 by djd5059

Ha. So turns out there is just a 'repair' button. Clicked that and now everything is back up and running (as far as I can tell, more testing will ensue). Thank you guys so much. I thought I broke my store.

12 Aug 2010, 2:38 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #6 by afo

Glad it was an easy fix! :cool:

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey