osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

currupt database

This is a discussion on currupt database within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have an error with my whos_online table. I tried to repair it and deleted it by accident. How do ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-26-2007, 03:45 PM
New Member
 
Join Date: Dec 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bagged89s10
Default currupt database

I have an error with my whos_online table. I tried to repair it and deleted it by accident. How do I create a new one?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-26-2007, 07:48 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: currupt database

Get the sql from the install directory in the oscommerce download package. Edit the sql file in a text editor, find the whos_online table sql and paste it into the sql box of phpmyadmin or whatever mysql front end you are using...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-27-2007, 04:44 PM
New Member
 
Join Date: Dec 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bagged89s10
Default Re: currupt database

Thanks but someone on another forum help me and I did the following...........

whos_online table deleted. Need help creating new one. - osCommerce Community Support Forums


Go to phpMyAdmin sql box and paste the followin in then click go.

You can fine all the sql in the install dir of osc zip "oscommerce.sql"



DROP TABLE IF EXISTS whos_online;
CREATE TABLE whos_online (
customer_id int,
full_name varchar(64) NOT NULL,
session_id varchar(12 NOT NULL,
ip_address varchar(15) NOT NULL,
time_entry varchar(14) NOT NULL,
time_last_click varchar(14) NOT NULL,
last_page_url varchar(64) NOT NULL
);

Last edited by bagged89s10; 02-27-2007 at 04:46 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-27-2007, 06:30 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: currupt database

That is exactly what I told you to do... Glad you got it working.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HELP MY DATABASE IS GONE!! markymrk22 osCommerce 2.2 Discussion 4 07-28-2005 10:39 AM
Errors in database auntie22 osCMax v1.7 Discussion 0 07-24-2005 05:59 PM
Customer downloads product but file is currupt dno osCommerce 2.2 Installation Help 3 08-08-2004 02:09 PM
Database marbor osCommerce 2.2 Installation Help 1 01-26-2004 07:33 AM
What name should database be? Anonymous osCommerce 2.2 Installation Help 2 11-25-2002 06:31 AM


All times are GMT -8. The time now is 11:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax