[Solved] superlinks 1.4.2

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
thomaslam
Cacti User
Posts: 50
Joined: Sat Feb 18, 2006 1:11 pm
Contact:

[Solved] superlinks 1.4.2

Post by thomaslam »

Hi,

I just couldn't get the superlinks to work, can anyone help?

here's the logs.
08/31/2012 04:29:10 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISTINCT id, title, imagecache FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='TAB' AND (userid=77 OR userid=0) AND disabled='' ORDER BY sortorder, id"
08/31/2012 04:29:06 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISTINCT id, title, imagecache FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='TAB' AND (userid=77 OR userid=0) AND disabled='' ORDER BY sortorder, id"


Cacti Version 0.8.8a
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.3
RRDTool Version RRDTool 1.4.x
Hosts 351
Graphs 4475
Last edited by thomaslam on Fri Aug 31, 2012 12:09 am, edited 1 time in total.
Quard Xeon 2.6 cpu 16GB memory, 1.2 tera bytes(raid5), ubuntu-64bit-12.04 LTS, cacti 8.8a-3, spine,
User avatar
thomaslam
Cacti User
Posts: 50
Joined: Sat Feb 18, 2006 1:11 pm
Contact:

Re: superlinks 1.4.2

Post by thomaslam »

I know one of the solution is to drop the superlinks database?

how do i do that? mysql> drop database superlinks; ?
Quard Xeon 2.6 cpu 16GB memory, 1.2 tera bytes(raid5), ubuntu-64bit-12.04 LTS, cacti 8.8a-3, spine,
User avatar
thomaslam
Cacti User
Posts: 50
Joined: Sat Feb 18, 2006 1:11 pm
Contact:

Re: [Solved] superlinks 1.4.2

Post by thomaslam »

Finally solved.

mysql> drop table superlinks_auth;
mysql> drop table superlinks_pages;

and recreate the table manually to work

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;
Quard Xeon 2.6 cpu 16GB memory, 1.2 tera bytes(raid5), ubuntu-64bit-12.04 LTS, cacti 8.8a-3, spine,
Rich88
Posts: 1
Joined: Mon Sep 17, 2012 9:56 am

Re: [Solved] superlinks 1.4.2

Post by Rich88 »

Thanks so much!
Glad to see the issue solved, it kept me worried for a while.
mp4 to wmv converter
http://mp4towmvconverter.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest