Go Back   Pligg Forum > Pligg Help > General Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-04-2007, 10:06 AM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Category Management Error

I don't really know what has happend.

Today I logged in and wanted to add a category and got the following message repeteadly:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/estationplus/public_html/class.template.php on line 694
Reply With Quote
Sponsored Links
Check out the New Templates at the Pligg Pro Shop.
  #2 (permalink)  
Old 04-06-2007, 12:06 PM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
sorry I did forget to say, does anyone know how I can fix this?

Thanks
Reply With Quote
  #3 (permalink)  
Old 04-09-2007, 04:14 AM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Reply With Quote
  #4 (permalink)  
Old 04-09-2007, 04:50 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,160
Downloads: 29
Uploads: 1
Thanks: 292
Thanked 265 Times in 177 Posts
Which version of Pligg do you use - svn code? and which template do you use - may be ni older templates they refer to a older non-existent function
Reply With Quote
  #5 (permalink)  
Old 04-09-2007, 05:02 AM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your reply. I am using the latest version (9.1) and the template is yget.

Thanks
Reply With Quote
  #6 (permalink)  
Old 04-09-2007, 05:14 AM
savant's Avatar
savant savant is offline
Pligg Koder
 
Join Date: Apr 2006
Location: UK
Posts: 1,234
Downloads: 7
Uploads: 0
Thanks: 66
Thanked 210 Times in 151 Posts
any chance you could post a copy of your database here. Export it using phpmyadmin.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #7 (permalink)  
Old 04-09-2007, 05:38 AM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
The database is pretty large to either post or attach
Reply With Quote
  #8 (permalink)  
Old 04-09-2007, 05:48 AM
savant's Avatar
savant savant is offline
Pligg Koder
 
Join Date: Apr 2006
Location: UK
Posts: 1,234
Downloads: 7
Uploads: 0
Thanks: 66
Thanked 210 Times in 151 Posts
just the categories table? maybe
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #9 (permalink)  
Old 04-09-2007, 05:50 AM
jeffuk jeffuk is offline
New Pligger
 
Join Date: Mar 2007
Posts: 12
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah thats no prob....
---------------------------------

-- Host: localhost
-- Generation Time: Apr 09, 2007 at 06:49 AM
-- Server version: 4.1.21
-- PHP Version: 4.4.2

-- --------------------------------------------------------

--
-- Table structure for table `pligg_categories`
--

CREATE TABLE `pligg_categories` (
`category__auto_id` int(11) NOT NULL auto_increment,
`category_lang` char(2) NOT NULL default 'en',
`category_id` int(11) NOT NULL default '0',
`category_parent` int(11) NOT NULL default '0',
`category_name` varchar(64) NOT NULL default '',
`category_safe_name` varchar(64) NOT NULL default '',
`rgt` int(11) NOT NULL default '0',
`lft` int(11) NOT NULL default '0',
`category_enabled` int(11) NOT NULL default '1',
`category_order` int(11) NOT NULL default '0',
`category_color` varchar(6) default '000000',
PRIMARY KEY (`category__auto_id`),
UNIQUE KEY `key` (`category_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;

--
-- Dumping data for table `pligg_categories`
--

INSERT INTO `pligg_categories` VALUES (0, 'en', 0, 0, 'all', 'all', 27, 0, 2, 0, '000000');
INSERT INTO `pligg_categories` VALUES (1, 'en', 1, 0, 'Music', 'Music', 24, 21, 1, 7, '000000');
INSERT INTO `pligg_categories` VALUES (2, 'en', 2, 0, 'Movies', 'Movies', 2, 1, 1, 1, '000000');
INSERT INTO `pligg_categories` VALUES (7, 'en', 7, 0, 'Games', 'Games', 14, 5, 1, 5, '000000');
INSERT INTO `pligg_categories` VALUES (4, 'en', 4, 0, 'Showbiz', 'Showbiz', 4, 3, 1, 3, '000000');
INSERT INTO `pligg_categories` VALUES (8, 'en', 8, 0, 'Sports', 'Sports', 20, 15, 1, 6, '000000');
INSERT INTO `pligg_categories` VALUES (16, 'en', 16, 0, 'new category', 'newcategory', 26, 25, 1, 8, '000000');
INSERT INTO `pligg_categories` VALUES (9, 'en', 9, 8, 'F1', 'F1', 17, 16, 1, 7, '000000');
INSERT INTO `pligg_categories` VALUES (10, 'en', 10, 8, 'Football', 'Football', 19, 18, 1, 8, '000000');
INSERT INTO `pligg_categories` VALUES (11, 'en', 11, 1, 'Festivals', 'Festivals', 23, 22, 1, 0, '000000');
INSERT INTO `pligg_categories` VALUES (12, 'en', 12, 7, 'XBox', 'XBox', 9, 8, 1, 1, '000000');
INSERT INTO `pligg_categories` VALUES (13, 'en', 13, 7, 'Playstation', 'Playstation', 13, 10, 1, 2, '000000');
INSERT INTO `pligg_categories` VALUES (14, 'en', 14, 13, 'PSP', 'PSP', 12, 11, 1, 0, '000000');
INSERT INTO `pligg_categories` VALUES (15, 'en', 15, 7, 'Nintendo', 'Nintendo', 7, 6, 1, 0, '000000');
Reply With Quote
  #10 (permalink)  
Old 04-09-2007, 06:45 AM
savant's Avatar
savant savant is offline
Pligg Koder
 
Join Date: Apr 2006
Location: UK
Posts: 1,234
Downloads: 7
Uploads: 0
Thanks: 66
Thanked 210 Times in 151 Posts
it's definitely nothing wrong with the categories.

Do you know what files you might have changed, any in the admin templates folder.
__________________
Anatomy of the Pligg template Help needed
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

vB 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
Got This Parse Error on c_ file on line 141 endph General Help 0 02-14-2007 05:44 PM
Deleted ALL CATEGORY - error mlbier General Help 1 02-06-2007 01:28 PM
error when trying to rename category ren General Help 1 01-10-2007 11:05 AM
No category selected error when submitting gragland General Help 0 12-09-2006 09:45 AM
Browse by Category Error boyles Bug Report 2 03-21-2006 07:34 PM


LinkBacks Enabled by vBSEO 3.0.0