Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2010
    Posts
    16
    Plugin Contributions
    0

    Default Changed domain - getting error message

    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.

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changed domain - getting error message

    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

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Changed domain - getting error message

    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?ma...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
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  4. #4
    Join Date
    Jun 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Changed domain - getting error message

    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?

  5. #5
    Join Date
    Jun 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Changed domain - getting error message

    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.

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changed domain - getting error message

    Glad it was an easy fix!
    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

 

 

Similar Threads

  1. v150 Email Error: Message rejected for restricted from domain
    By reachesfar in forum Basic Configuration
    Replies: 11
    Last Post: 30 Jul 2015, 12:29 AM
  2. v150 Error message when review and save changed item
    By PortraitArtist in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Mar 2013, 09:20 PM
  3. Replies: 0
    Last Post: 23 Mar 2012, 10:22 PM
  4. admin folder changed, but still getting error
    By 24hourDomainer in forum Basic Configuration
    Replies: 1
    Last Post: 11 May 2010, 02:24 AM
  5. Changed domain but still being led back to old domain
    By thorntongoats in forum General Questions
    Replies: 0
    Last Post: 23 Feb 2010, 01:08 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