Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/plugins/superlinks/superlinks-mgmt.php on line 723
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/cacti/site/plugins/superlinks/superlinks-mgmt.php:723) in /usr/share/cacti/site/plugins/superlinks/superlinks-mgmt.php on line 146
What I did is that I droped superlinks tables and tryed to reinstall, but now I have this error above and no superlinks tables in mysql. How to properly reinstall superlink?
Superlinks problem with adding pages (content file)
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 54
- Joined: Tue Dec 22, 2009 1:54 am
-
- Cacti User
- Posts: 54
- Joined: Tue Dec 22, 2009 1:54 am
Re: Superlinks problem with adding pages-NO MYSQL TABLES(SOL
I found sql insert in script and manually inserted:
CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
disabled char(2) NOT NULL default '',
contentfile text NOT NULL,
title text NOT NULL,
style varchar(10) NOT NULL DEFAULT 'TAB',
extendedstyle varchar(50) NOT NULL DEFAULT '',
imagecache varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (id)
) ENGINE=MyISAM;
CREATE TABLE superlinks_auth (
userid mediumint(9) NOT NULL default '0',
pageid int(11) NOT NULL default '0'
) ENGINE=MyISAM;
CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
disabled char(2) NOT NULL default '',
contentfile text NOT NULL,
title text NOT NULL,
style varchar(10) NOT NULL DEFAULT 'TAB',
extendedstyle varchar(50) NOT NULL DEFAULT '',
imagecache varchar(60) NOT NULL DEFAULT '',
PRIMARY KEY (id)
) ENGINE=MyISAM;
CREATE TABLE superlinks_auth (
userid mediumint(9) NOT NULL default '0',
pageid int(11) NOT NULL default '0'
) ENGINE=MyISAM;
Re: Superlinks problem with adding pages (content file)
I think it's not necessary to import tables manually.
These tables will be created when you click 'Settings -> Misc -> Save'.
(AFAIK, some other plugins also behave like this..)
These tables will be created when you click 'Settings -> Misc -> Save'.
(AFAIK, some other plugins also behave like this..)
Who is online
Users browsing this forum: No registered users and 4 guests