Author Topic: [cat_hits} showing wrong..?  (Read 2865 times)

0 Members and 1 Guest are viewing this topic.

Offline nicky9

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
[cat_hits} showing wrong..?
« on: May 26, 2008, 09:56:32 PM »
I created a lot of categories with the batch plug-in, and then deleted everything. Then it said I had 0 photos in 192 categories, although I have no categories at all. When I in Admin Control Panel create a new category it gets a very high ID, like 736. I've tried to clear the cache.

What's wrong?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [cat_hits} showing wrong..?
« Reply #1 on: May 26, 2008, 10:10:39 PM »
nicky9,

[cat_hits}?

there is nothing wrong after your experiments..

the easiest way is to install 4images again...
because you don't want to show us your url...

about high ID 736 > it's "Next Autoindex"

in phpmyadmin execute this (change prefix 4images_ to your prefix)
Code: [Select]
DROP TABLE IF EXISTS 4images_categories;
CREATE TABLE 4images_categories (
  cat_id int(10) unsigned NOT NULL auto_increment,
  cat_name varchar(255) NOT NULL default '',
  cat_description text NOT NULL,
  cat_parent_id int(10) unsigned NOT NULL default '0',
  cat_hits int(10) unsigned NOT NULL default '0',
  cat_order int(10) unsigned NOT NULL default '0',
  auth_viewcat tinyint(2) NOT NULL default '0',
  auth_viewimage tinyint(2) NOT NULL default '0',
  auth_download tinyint(2) NOT NULL default '0',
  auth_upload tinyint(2) NOT NULL default '0',
  auth_directupload tinyint(2) NOT NULL default '0',
  auth_vote tinyint(2) NOT NULL default '0',
  auth_sendpostcard tinyint(2) NOT NULL default '0',
  auth_readcomment tinyint(2) NOT NULL default '0',
  auth_postcomment tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (cat_id),
  KEY cat_parent_id (cat_parent_id),
  KEY cat_order (cat_order)
) TYPE=MyISAM;
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi