Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Create DB table


msanchez

Recommended Posts

Use phpMyAdmin. There is usually a link from the webhosts control panel.

 

Some versions have a query window, on some you have to click on the SQL tab, either way you should get a window with

 

Run SQL query/queries on database <yourdatebase name>

 

Paste

DROP TABLE IF EXISTS events_calendar;
CREATE TABLE events_calendar (
event_id int(3) NOT NULL auto_increment,
language_id int(11) NOT NULL default '1',
start_date date NOT NULL default '0000-00-00',
end_date varchar(20) default NULL,
title varchar(255) default NULL,
event_image varchar(64) default NULL,
link varchar(255) default NULL,
OSC_link varchar(255) default NULL,
description text,
date_added datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (event_id,language_id)
) TYPE=MyISAM;

 

into that window and click on GO.

 

Thats it.

while (!succeed) {try()};

 

GMT -6:00

Link to comment
Share on other sites

Thanks TomThumb!

I got the calendar to show but now the buttons are not working.

I'm getting this error now:

 

Fatal error: Call to a member function on a non-object in /home/hsphere/local/home/healthy/healthylifespan.com/catalog/events_calendar.php on line 13

 

Don't understand? help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...