Re: cacti 0.8.8b +thold 0.5
Paul Gevers <[email protected]> Sun, 22 Jun 2014 20:58:46 +0200
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
I don't know if your issue is related, but please be aware that php doesn't always follow symlinks. Paul On 22-06-14 19:36, Anant Tickoo wrote: > Hi Reinhard > > > i installed reinstalled settings and thold again. > > when i click the thold tab on top or any other entry relating to thold it > breaks the page. > > thold was looking for > /var/www/html/plugins/thold/include folder, so i made a soft link to > "include" pointing to includes. > > > errors i see in are > > > File does not exist: /var/www/html/plugins/thold/include/main.css, > referer: http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: /var/www/html/plugins/thold/images/tab_console.gif, > referer: http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: > /var/www/html/plugins/thold/images/transparent_line.gif, referer: > http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: > /var/www/html/plugins/thold/images/cacti_backdrop2.gif, referer: > http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: /var/www/html/plugins/thold/images/tab_graphs.gif, > referer: http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: /var/www/html/plugins/thold/plugins, referer: > http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: /var/www/html/plugins/thold/images/shadow_gray.gif, > referer: http://10.176.62.2/plugins/thold/thold_graph.php > File does not exist: /var/www/html/plugins/thold/images/shadow.gif, > referer: http://10.176.62.2/plugins/thold/thold_graph.php > > > > and then i click on the "threshold" link it directs me to > > "The requested URL* /plugins/thold/plugins/thold/th*old_graph.php was not > found on this server." > > i do not understand what is wrong? > > > > On Fri, Jun 13, 2014 at 7:13 PM, Gandalf <[email protected]> wrote: > >> As I already mentioned, there is a plugin named "SETTINGS". >> This provided the required and currently missing functions. It's kinda >> "system >> plugin", as other plugins are based on top of this. >> So it would be a good move to install this plugin, as already told. >> Please come back, then, with any results you will receive >> Reinhard >> >> On 13.06.2014 11:05, John Horne wrote: >>> On Thu, 2014-06-12 at 20:10 +0530, Anant Tickoo wrote: >>> >>>>>> >>>>>> On 10.06.2014 19:36, Anant Tickoo wrote: >>>>>>> guys any one know below error >>>>>>> >>>>>>> Fatal error: Call to undefined function settings_version() in >>>>>>> /var/www/html/plugins/thold/setup.php on line 120 >>>>>>> >>> Hello, >>> >>> Well the code in thold/setup.php shows: >>> >>> ================= >>> if (!function_exists('settings_version')) { >>> if (file_exists($config['base_path'] . >>> '/plugins/settings/setup.php')) { >>> include_once($config['base_path'] . >>> '/plugins/settings/setup.php'); >>> if (!function_exists('settings_version')) { >>> return false; >>> } >>> } >>> } >>> $v = settings_version(); (this is line 120) >>> ================= >>> >>> So there is a check that the function exists, and if it doesn't then it >>> loads the settings/setup.php file. In that file is a definition of >>> 'settings_version'. >>> >>> However, I don't think the code above is right anyway. If the function >>> doesn't exist, and the settings/setup.php file doesn't exist, then the >>> code still drops through to line 120 (and give the above error). Surely >>> it should return false instead. >>> >>> In your case I would say initially check that the settings/setup.php >>> file exists (using the 'locate' command is probably easiest). Then check >>> that it does contain the settings_version definition. >>> >>> We are using the same versions of cacti, thold and settings as you, but >>> are running them on CentOS 6.5 and so php version 5.3.3. I doubt that >>> makes a difference to this problem though. >>> >>> >>> >>> John. >>> >> >> >> ------------------------------------------------------------------------------ >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >> Find What Matters Most in Your Big Data with HPCC Systems >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> http://p.sf.net/sfu/hpccsystems >> _______________________________________________ >> cacti-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cacti-user >> > > > ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ cacti-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cacti-user
signature.asc
(application/pgp-signature, 551 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBCAAGBQJTpydmAAoJEJxcmesFvXUKKsoH/2AfcukClR+RxxrR33Bj+C+h qXV1qh+CHeNQt9rzOvXHRJiDqcFawCGSIC4EcQu9qLLcpgRvWqflApT2YYkHcmHI 41Q8UxMAnkfdrbmpOBf7pnpkOqE8qoa+yBmLQIaS5dcxUWgngibdj7vwv/yEMsVj 9DfxZntOPPz5G1Cj/nxv8clKrFGa8Rt0O4B4cWddZ4k+DuTnKruVha+lzY5W+qh7 OiLZ3Nc7ExMqxykpiIUU2hS8N5u1XI/CaoRAxWQkKvSWid1HY1XXwYmLrcb9QXlF tcCc3UKPmLcSSA9HaOTN52iCSrJiiV2uFhpMp3lbJC8G9Fdw81y0oedE/j2cQhU= =Y50J -----END PGP SIGNATURE-----