There is a problem with the categories table. Error CA:001.

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2007, 12:46 PM
New Pligger
 
Join Date: Oct 2007
Posts: 3
I keep getting this error when submitting a post. I have checked that the category table is present.

The site was working fine for a week. All of a sudden it started giving the error.

There is a problem with the categories table. Error CA:001.
Reply With Quote
  #2 (permalink)  
Old 10-22-2007, 01:22 PM
New Pligger
 
Join Date: Oct 2007
Posts: 3
I guess some specific URL's get this error up. For example the url below when i try to submit I get this error.

"http://uk.reuters.com/article/UK_CRICKET/idUKSP10813520071022"

Any idea why some URL's give the error.
"There is a problem with the categories table. Error CA:001."

Last edited by ideawagon; 10-22-2007 at 01:33 PM.
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 03:48 AM
Casual Pligger
Pligg Version: 9.9
Pligg Template: default
 
Join Date: Jan 2008
Posts: 46
when you delete tepmlete_c files it gets fixed but how to prevent it in the future?
Reply With Quote
  #4 (permalink)  
Old 01-30-2008, 12:44 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
Quote:
Originally Posted by ideawagon View Post
I guess some specific URL's get this error up. For example the url below when i try to submit I get this error.

"http://uk.reuters.com/article/UK_CRICKET/idUKSP10813520071022"

Any idea why some URL's give the error.
"There is a problem with the categories table. Error CA:001."
I'm sorry but I can't duplicate this problem.
Reply With Quote
  #5 (permalink)  
Old 01-30-2008, 02:09 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
Did you delete any categories? Looks like the error you get when the "all" category has been deleted from the database.

Geoserv.
Reply With Quote
  #6 (permalink)  
Old 06-24-2008, 10:12 AM
New Pligger
 
Join Date: Feb 2008
Posts: 1
I have pligg on my local PC and then I copy it to server.
Just copy all files and restore database using backup files made by Pligg.

Problem was that in config.php
$the_cats = $db->get_results("select category_id, category__auto_id, lft, rgt, category_name, category_safe_name, category_lang from ".table_categories." ORDER BY lft ASC;");
return array where
$the_cats[0]->category__auto_id was set to 6 !!!
and
$the_cats[0]->category_id was 0

Even more. In database category__auto_id was 0 two - no error.

So there is may be problem in PHP or db object. (php on server 4.4.8)

Problem was fixed when I just change order of fields in query and place category__auto_id on first place.
Reply With Quote
  #7 (permalink)  
Old 08-24-2008, 05:37 PM
New Pligger
 
Join Date: Apr 2007
Posts: 2
Hi Guys,

Clearing the cache folder "pligg_directory/cache" might solve the problem.

Enjoy!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: Table 'tucknet_newqian_digg.pligg_groups' doesn't exist in seanli Questions and Comments 0 04-23-2009 03:35 AM
There is a problem with the categories table. Error CA:001. xenfra Questions and Comments 1 08-31-2008 01:46 AM
[SOLVED] error: "There is a problem with the categories table. Error CA:001.&quo lacasuela Questions and Comments 7 08-06-2008 07:57 AM
on homepage : There is a problem with the categories table. Error CA:001. erinys Questions and Comments 1 02-03-2008 04:39 PM
Upgrading problem GurillaNET Questions and Comments 4 01-19-2007 11:56 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development