Results 1 to 8 of 8

Thread: deleting the old database

  1. #1
    Join Date
    Apr 2009
    Posts
    7

    Post deleting the old database

    hello,


    I want to delete the old database that contains categories & links
    how can i do this step ???

  2. #2
    Join Date
    Jun 2007
    Posts
    255

    Default

    phpmyadmin would be my choiche
    indexu unlimited license for sale pm me for more info
    Directories for sale pm me for more info

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Log into phpmyadmin and flush idx_category and idx_link

  4. #4
    Join Date
    Apr 2009
    Posts
    7

    Default

    Thank you both piet and Bruceper


    * Bruceper if u use PayPal is easier 4 us to pay you for valuable services than moneybookers.com

  5. #5
    Join Date
    Apr 2009
    Posts
    7

    Default

    should I delete the idx_category and idx_link or

    only make them empty , a fatal error has appeared in my site

    when i deleted those 2 databases

    Fatal error: Call to a member function Fields() on a non-object in /home/dalemah6/public_html/globeuniversities/lib/category.class.php on line 393
    www.globeuniversities.com

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    No, do not delete idx_category or idx_link. You only empty (truncate) them.

    I do not accept paypal. I accept credit cards via my merchant account, moneybookers or money orders.

  7. #7
    Join Date
    Apr 2009
    Posts
    7

    Default

    Quote Originally Posted by Bruceper View Post
    No, do not delete idx_category or idx_link. You only empty (truncate) them.
    .

    how can I return this file because i have deleted it

    idx_category

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    You should be able to re-create the table through phpMyAdmin. Use the following:

    Code:
    CREATE TABLE `idx_category` (
      `category_id` mediumint(9) unsigned NOT NULL auto_increment,
      `parent_id` mediumint(9) unsigned NOT NULL default '0',
      `name` varchar(100) NOT NULL default '',
      `description` text NOT NULL,
      `image` varchar(100) default NULL,
      `content` text,
      `visible` char(1) default NULL,
      `links` mediumint(9) default NULL,
      `meta_keyword` text,
      `meta_description` text,
      `permission` char(2) default NULL,
      `registered_only` char(1) default NULL,
      `header` text NOT NULL,
      `footer` text NOT NULL,
      `related` mediumint(6) NOT NULL default '0',
      `page_title` varchar(200) NOT NULL default '',
      `hits` int(11) NOT NULL default '0',
      `order_num` smallint(6) NOT NULL default '0',
      `basic_price` double unsigned NOT NULL default 0,
      `premium_price` double unsigned NOT NULL default 0,
      `sponsored_price` double unsigned NOT NULL default 0,
      PRIMARY KEY  (`category_id`)
    );
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

Similar Threads

  1. SQL for deleting certain links?
    By sportsfindit in forum INDEXU DELUXE v1.x
    Replies: 2
    Last Post: 09-23-2008, 10:58 PM
  2. shortcut for deleting a link
    By landuyt in forum v5.x
    Replies: 2
    Last Post: 10-15-2005, 05:47 PM
  3. deleting photos
    By inspireme in forum v5.x
    Replies: 0
    Last Post: 01-14-2005, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •