[SOLVED]superlinks issuse

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
bacon
Posts: 8
Joined: Sat Feb 26, 2011 12:15 am

[SOLVED]superlinks issuse

Post by bacon »

Click the console tab when i installed the superlinks addons, and the cacti log display error:

Code: Select all

10/09/2011 09:23:54 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONT' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/09/2011 09:23:54 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONTTOP' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/09/2011 09:23:49 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONT' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/09/2011 09:23:49 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONTTOP' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/09/2011 09:23:21 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONT' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id"
10/09/2011 09:23:21 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT DISINCT id,title,contentfile FROM superlinks_pages, superlinks_auth WHERE superlinks_pages.id=superlinks_auth.pageid AND style='FRONTTOP' AND (userid=1 OR userid=0) AND disabled='' ORDER BY sortorder, id" 
It's a bug?

ps:
cacti:Version 0.8.7h
Plugin Architecture Version: 3.0
superlinks:superlinks-v1.2-1
Last edited by bacon on Sat Oct 08, 2011 9:49 pm, edited 1 time in total.
bacon
Posts: 8
Joined: Sat Feb 26, 2011 12:15 am

Re: superlinks help

Post by bacon »

Oh yeah ,it's working for me!

fix SQL issuse:

vi PREFIX/cacti/plugins/superlinks/setup.php

LINE 257:change "DISINCT" to "DISTINCT".
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: [SOLVED]superlinks issuse

Post by TheWitness »

Great...
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests