Superlinks 0.8 PIA 2.4 - No Superlinks in REALM permissions
Moderators: Developers, Moderators
Superlinks 0.8 PIA 2.4 - No Superlinks in REALM permissions
I added the Superlinks Plugin to my installation
I do not get the check boxes for Superlinks realm permissions
Other plugins are there and show up (thold | flow viewer | settings | update) but not Superlinks.
Checked DIR permissions and they appear consistent with my other plugins.
When I check Plugin Management I see that the status for all my plugins reads "Old Plugin Architecture - Running" but Superlinks in that page only reads "Old Plugin Architecture" but not running.
PIA is installed properly from what I can gather - what else may I be missing??
I do not get the check boxes for Superlinks realm permissions
Other plugins are there and show up (thold | flow viewer | settings | update) but not Superlinks.
Checked DIR permissions and they appear consistent with my other plugins.
When I check Plugin Management I see that the status for all my plugins reads "Old Plugin Architecture - Running" but Superlinks in that page only reads "Old Plugin Architecture" but not running.
PIA is installed properly from what I can gather - what else may I be missing??
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
If it doesn't say 'Running' for an old style plugin, then it's usually that you didn't add it to global.php
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Yeah - I did in fact add it to the global.php under the include directory. is there something else.
i do not see errors are all in the log file about superlinks and I also do not see the information under user_realms in the DB..
Not sure where things may be wrong. Unless I need to chmod all the way open on the superlinks dir and see if that works...
i do not see errors are all in the log file about superlinks and I also do not see the information under user_realms in the DB..
Not sure where things may be wrong. Unless I need to chmod all the way open on the superlinks dir and see if that works...
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Shouldn't need to. It should be the same as the other plugins. The tab_images subdir needs to be writable by the webserver, but that won't stop the plugin from running.Netcooler wrote:Yeah - I did in fact add it to the global.php under the include directory. is there something else.
i do not see errors are all in the log file about superlinks and I also do not see the information under user_realms in the DB..
Not sure where things may be wrong. Unless I need to chmod all the way open on the superlinks dir and see if that works...
What happens if you temporarily disable the other plugins? Sometimes they interact. I have never used flowviewer, for example.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
HMM no love - the only one to "disable" is thold.. others I commented out of the global php..
still no love. Gotta be something I am not doing on my end.
1. Unzip the superlinks zip in the /plugins dir
2. chown -R to the correct user and group for the superlinks dir
3. modified the global.php under the /include directory to add the superlinks plugin
4. accessed user management | my user | realms > no additional realms
5. Under Plugin Management see the plugin but it is not running.
Did I miss a step where I may need to create anything in the db? MySQL 5.0.67
still no love. Gotta be something I am not doing on my end.
1. Unzip the superlinks zip in the /plugins dir
2. chown -R to the correct user and group for the superlinks dir
3. modified the global.php under the /include directory to add the superlinks plugin
4. accessed user management | my user | realms > no additional realms
5. Under Plugin Management see the plugin but it is not running.
Did I miss a step where I may need to create anything in the db? MySQL 5.0.67
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No it should do that for you. Are there any superlinks_* tables in the database?
Do you have anything unusual about your mysql config? e.g. strict_mode?
Do you have anything unusual about your mysql config? e.g. strict_mode?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
I'll have to check.. I did not see any superlinks tables at all in the DB whcih is what promted my ?? for creation. i did not build this install of cacti - I just get to manage the bad boy. I will follow up and repost here is i find anything out.
Thanks for the assistance so far.. hopefully i can get this working as this I think will be extremely helpful to our team here.
Thanks for the assistance so far.. hopefully i can get this working as this I think will be extremely helpful to our team here.
Yeah - when i do a show tables in mysql on the cact DB there is no superlinks anything... seems like there is an issue there right but not seeing anytihg in the cacti log file indicating failures. Again, will follow up with the developer to see if there was anything special that he needed to do for the other plugins
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Here's the SQL that it runs to create the tables. Try running that from the mysql CLI and see if it complains?
Code: Select all
CREATE TABLE superlinks_pages(
id int(11) NOT NULL auto_increment,
sortorder int(11) NOT NULL default 0,
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)
) TYPE=MyISAM;
CREATE TABLE superlinks_auth (
userid mediumint(9) NOT NULL default '0',
pageid int(11) NOT NULL default '0'
) TYPE=MyISAM;
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Did not bark about creating the table superlinks_pages or superlinks_auth..
did a show columns on the tables and it appears to have created everything.
HMM.. so... now I have two tables created in the DB but nothing else appears to be doing anything still nothing under realm permissions and no status change in the Plugins GUI
did a show columns on the tables and it appears to have created everything.
HMM.. so... now I have two tables created in the DB but nothing else appears to be doing anything still nothing under realm permissions and no status change in the Plugins GUI
So it also - If I am reading that PHP correctly - is supposed to create user_auth_realm id's too right 141 and 142..
they do not seem to be there almost as if this setup.php has not been able to run at all.
is there a way i can run that setup.php "manually from the command line?? I may be way off base there...
they do not seem to be there almost as if this setup.php has not been able to run at all.
is there a way i can run that setup.php "manually from the command line?? I may be way off base there...
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Not really - it's not just the database setup. setup.php is the main guts of the plugin. If it's not being run, you won't get very far.Netcooler wrote:So it also - If I am reading that PHP correctly - is supposed to create user_auth_realm id's too right 141 and 142..
they do not seem to be there almost as if this setup.php has not been able to run at all.
is there a way i can run that setup.php "manually from the command line?? I may be way off base there...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 0 guests