Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2006, 07:09 AM
AJH AJH is offline
New Pligger
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Can't access configuration.

I've searched the entire forum for this problem, but I could not find anything.
So here's the problem. In the admin panel, when I try to open the configuration page I get the following error:

SQL/DB Error -- [Unknown column 'var_page' in 'field list']
nothing found

I don't get to see the config page at all. Just the error and that's it.
Reply With Quote
  #2 (permalink)  
Old 11-07-2006, 09:22 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Do you have a config table in your Pligg database? Var_page is a field in that table.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 11-07-2006, 09:30 AM
AJH AJH is offline
New Pligger
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, I do have a config table. But it only contains the fields name and value. So I'm guessing that not all required fields are in my config table. So, as soon as I get home I will check the sql in the install files for the correct fields.
Reply With Quote
  #4 (permalink)  
Old 11-07-2006, 10:22 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Drop your config table and insert and run this mysql query

Code:
CREATE TABLE `config` (
  `var_id` int(11) NOT NULL auto_increment,
  `var_page` varchar(50) NOT NULL,
  `var_name` varchar(100) NOT NULL,
  `var_value` varchar(50) NOT NULL,
  `var_defaultvalue` varchar(50) NOT NULL,
  `var_optiontext` varchar(200) NOT NULL,
  `var_title` varchar(200) NOT NULL,
  `var_desc` text NOT NULL,
  `var_method` varchar(10) NOT NULL,
  `var_enclosein` varchar(5) default NULL,
  PRIMARY KEY  (`var_id`)
) TYPE = MyISAM;
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #5 (permalink)  
Old 11-07-2006, 10:32 AM
AJH AJH is offline
New Pligger
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Did that, now the error is gone. But the config page is still empty. All i get to see is: "nothing found".
Reply With Quote
  #6 (permalink)  
Old 11-07-2006, 10:49 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
That's because there's nothing inside of the table. Run this SQL code to insert the data http://pligg.svn.sourceforge.net/vie...nfig_table.sql
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #7 (permalink)  
Old 11-07-2006, 10:58 AM
AJH AJH is offline
New Pligger
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Problem solved. Thanks!
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 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
How can I access my admin panel? Robert General Help 2 09-09-2008 12:31 AM
Access denied message displays slick33 Bug Report 0 08-13-2008 04:46 PM
Site access with and without WWW pheal Bug Report 3 04-16-2008 11:21 PM
How to access smarty vars in {php} tags Lostshootingstar Modification Tutorials 7 01-10-2008 06:14 AM
I lost my "god" access jlweb97 General Help 2 03-07-2007 09:43 PM


Search Engine Friendly URLs by vBSEO 3.2.0