Superlinks problem with adding pages (content file)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
White Horse
Cacti User
Posts: 54
Joined: Tue Dec 22, 2009 1:54 am

Superlinks problem with adding pages (content file)

Post by White Horse »

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?
White Horse
Cacti User
Posts: 54
Joined: Tue Dec 22, 2009 1:54 am

Re: Superlinks problem with adding pages-NO MYSQL TABLES(SOL

Post by White Horse »

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;
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Superlinks problem with adding pages (content file)

Post by noname »

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..)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest