Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2007, 11:46 AM
New Pligger
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
There is a problem with the categories table. Error CA:001.

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, 12:22 PM
New Pligger
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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 12:33 PM..
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 02:48 AM
Casual Pligger
Pligg Version: 9.9
Pligg Template: default
 
Join Date: Jan 2008
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
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, 11:44 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
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.
__________________
- Ash
Reply With Quote
  #5 (permalink)  
Old 01-30-2008, 01:09 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
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, 09:12 AM
New Pligger
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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, 04:37 PM
New Pligger
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Hi Guys,

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

Enjoy!
Reply With Quote
Reply

Thread Tools
Display Modes
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
There is a problem with the categories table. Error CA:001. xenfra Installation and Upgrade Help 1 08-31-2008 12:46 AM
[SOLVED] error: "There is a problem with the categories table. Error CA:001.&quo lacasuela Installation and Upgrade Help 7 08-06-2008 06:57 AM
on homepage : There is a problem with the categories table. Error CA:001. erinys General Help 1 02-03-2008 03:39 PM
Upgrading problem GurillaNET Installation and Upgrade Help 4 01-19-2007 10:56 AM
Inst. problem - renewing quest: Table 'pligg.config' doesn't exist slappo Installation and Upgrade Help 3 11-26-2006 10:28 PM


Search Engine Friendly URLs by vBSEO 3.2.0