Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-21-2008, 04:44 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 81
Thanks: 16
Thanked 8 Times in 4 Posts
SVN Version update issue

I just downloaded svn version and upgraded 9.9.0 to latest svn in my pc for test purpose. I understand svn should be used at my own risk. Since so many fixes are done in various post after 9.9 release I thought I should give svn a try.

I get error
Code:
Warning: Invalid argument supplied for foreach() in E:\apachefriends\xampp\htdocs\pligg\libs\html1.php on line 14

Warning: Invalid argument supplied for foreach() in E:\apachefriends\xampp\htdocs\pligg\libs\html1.php on line 171

Warning: Invalid argument supplied for foreach() in E:\apachefriends\xampp\htdocs\pligg\libs\dbtree.php on line 76
There is a problem with the categories table. Error CA:001.
After fresh installation of the svn code. Any idea what might be causing this.
__________________
- Aneem
Reply With Quote
  #2 (permalink)  
Old 01-24-2008, 02:03 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 81
Thanks: 16
Thanked 8 Times in 4 Posts
Anyone having similar issue with latest svn code? Any suggestions?
__________________
- Aneem
Reply With Quote
  #3 (permalink)  
Old 01-24-2008, 04:09 AM
Constant Pligger
Pligg Version: 9.9.0
Pligg Template: yget
 
Join Date: Jan 2008
Posts: 164
Thanks: 8
Thanked 24 Times in 16 Posts
no issue here, I did all of them except the meta tag one.. I think

Post a couple lines where your errors are maybe I can help or someone else..
Reply With Quote
  #4 (permalink)  
Old 01-24-2008, 05:27 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 81
Thanks: 16
Thanked 8 Times in 4 Posts
You can see the errors in my first post.

\libs\html1.php on line 14
Code:
	foreach($the_cats as $cat){
		if($cat->category_name == $cat_name && $cat->category_lang == $dblang) { 
			return $cat->category_id; 
		}

libs\html1.php on line 171
Code:
		foreach($the_cats as $cat){
			if($cat->category_id == $thecat && $cat->category_lang == $dblang && $cat->category_parent == 0)
			{ 
				$globals['category_id'] = $cat->category_id;
				$globals['category_name'] = $cat->category_name;
			}
libs\dbtree.php on line 76
Code:
	foreach($cached_categories as $cat){
		if($cat->$field == $value)
		{ 
			return $cat;
		}
__________________
- Aneem
Reply With Quote
  #5 (permalink)  
Old 01-24-2008, 07:00 AM
Constant Pligger
Pligg Version: 9.8
Pligg Template: garx mod
 
Join Date: Oct 2006
Location: Poland
Posts: 134
Thanks: 11
Thanked 6 Times in 5 Posts
i told ash about this error
run admin_categories.php directly and add categories
Reply With Quote
  #6 (permalink)  
Old 01-24-2008, 07:37 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 81
Thanks: 16
Thanked 8 Times in 4 Posts
Quote:
Originally Posted by daone View Post
i told ash about this error
run admin_categories.php directly and add categories
I ran
Code:
http://localhost/pliggsvn/admin_categories.php
And gives me error:
Code:
Warning: Invalid argument supplied for foreach() in E:\apachefriends\xampp\htdocs\PliggSVN\libs\html1.php on line 171

Warning: Invalid argument supplied for foreach() in E:\apachefriends\xampp\htdocs\PliggSVN\libs\dbtree.php on line 76
There is a problem with the categories table. Error CA:001.
__________________
- Aneem
Reply With Quote
  #7 (permalink)  
Old 01-24-2008, 07:42 AM
Constant Pligger
Pligg Version: 9.8
Pligg Template: garx mod
 
Join Date: Oct 2006
Location: Poland
Posts: 134
Thanks: 11
Thanked 6 Times in 5 Posts
try
[Solution] Categories Table Error CA:001
Reply With Quote
The Following User Says Thank You to daone For This Useful Post:
  #8 (permalink)  
Old 01-24-2008, 06:22 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
In the SVN I added 2 columns to the categories table but havn't had the chance to add them into the lines that insert the default categories. So the categories table ends up being empty. I'll get this fixed soon.
__________________
- Ash
Reply With Quote
The Following User Says Thank You to AshDigg For This Useful Post:
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 Off
[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
Pligg version Beta 6 Preview Upgradation issue kishor Installation and Upgrade Help 0 12-18-2007 07:04 AM
[SOLVED] Version number doesn't update after upgrade AshMCairo General Help 8 12-13-2007 12:02 PM
Licensing tbronson Wiki Articles 0 10-27-2007 11:55 PM
How do you update the cached version of a page? revolver General Help 2 01-25-2007 11:32 AM
Site Update podigle My Pligg Site 6 01-10-2006 01:43 AM


Search Engine Friendly URLs by vBSEO 3.2.0