settings page blank

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

settings page blank

Post by magikk »

Hi,
I have a (little?) problem.
When i click on configuration>Settings , i find a blank page at this address :"(addressIP/)cacti/settings.php".

(It happens after i have tried to install the plugin routerconfigs but when uninstalled it , that doesnt change anything)

Tx
Last edited by magikk on Thu Jan 10, 2013 1:31 pm, edited 1 time in total.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings.php

Post by magikk »

No problem!I am reinstalling everything! :o :D :lol: :lol:
Last edited by magikk on Thu Jan 10, 2013 1:32 pm, edited 1 time in total.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings.php

Post by magikk »

It is the thold plugin that made me this. :evil: :evil: :evil: I uninstalled it and all is ok!
(how to install thold now?)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [solved] settings page blank

Post by gandalf »

Moving to THOLD forum
R.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

the problem now is how to install thold,because i need it!
I am using fedora 17, plugin:thold-v0.4.9-3.tgz , plugin:settings-v0.71-1.tgz.
PA v3.1 , Cacti0.8.8a.
When i click on the blue icon of thold in plugin management , to passed it from "not installed" to installed", at the very same moment my link : configuration>Settings is giving me a blank page.
The page is totally void, there is no menus or something else...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: settings page blank

Post by gandalf »

I'm using Settings 0.72 and THOLD 0.5 (this may have not been released to the public) without issues.
Is there anything weird in cacti.log?
R.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

I don't think this is linked:
Attachments
log.GIF
log.GIF (12.41 KiB) Viewed 3894 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: settings page blank

Post by gandalf »

magikk wrote:I don't think this is linked:
Indeed, it is not. Will drop my current plugins and replace by the versions you're using to verify. In the meantime, please run an "ls" command on the plugins dir and post output
R.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

Code: Select all

cd /var/www/html/cacti/plugins
#ls
Output: 
monitor  ntop-5.0.1  routerconfigs  rrdclean  settings  thold  weathermap
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

Maybe the answer is here:

http://techagent.com/cacti.html

...but i did not find any particular documentation for the installation (concerning the sql files)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: settings page blank

Post by gandalf »

I just installed settings v0.71 and thold v0.4.9 (as printed on the plugin management page)
I cannot reproduce your issue to be honest. And I only copied the code to the plugins folder, no manual SQL, no fiddling with include/config.php
R.
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

Thank you.

I see the problem:

Code: Select all

You are running MySQL in Strict Mode, which is not supported by Thold.
I am not the first confronted to this:

http://forums.cacti.net/viewtopic.php?f=21&t=44031

Perhaps this is my fault, i modified the my.cfd file bacause i had problems during my cacti installation:

Code: Select all

# Default directory.
datadir=/var/lib/mysql

# The TCP/IP Port the MySQL Server listens on.
port=3306

# The Linux Socket the MySQL Server uses when not using a listener.
# socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# The default storage engine that will be used when creating new tables.
default-storage-engine=INNODB

# Set the SQL mode to strict.
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

# Set the maximum number of connections.
max_connections=100

# Set the number of open tables for all threads.
table_cache=256
I need to change the SQL mode (to which value?)
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

I commented the sql-mode line , restarted apache and mysqld , and it is now working!

**********


No, finally it's not working again :(
magikk
Cacti User
Posts: 57
Joined: Sun Dec 23, 2012 9:59 am

Re: settings page blank

Post by magikk »

Can someone can show me his my.cnf file , please ?
My default is like that , but i am not using this one , i have modified it.

Code: Select all

[mysqld]
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

My my.cnf file used is:

Code: Select all

[mysqld]
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under different user or group,
# customize your systemd unit file for mysqld according to the
# instructions in http://fedoraproject.org/wiki/Systemd

# Default directory.
datadir=/var/lib/mysql

# The TCP/IP Port the MySQL Server listens on.
port=3306

# The Linux Socket the MySQL Server uses when not using a listener.
 socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
#symbolic-links=0

# The default storage engine that will be used when creating new tables.
default-storage-engine=INNODB

# Set the SQL mode to strict.
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

# Set the maximum number of connections.
max_connections=100

# Set the number of open tables for all threads.
table_cache=256

# Set the maximum size for internal (in-memory) temporary tables.
tmp_table_size=26M

# Set how many threads should be kept in a cache for reuse.
thread_cache_size=8

# MyISAM configuration.
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=52M
key_buffer_size=36M
"my.cnf" 55L, 1522C
The pb was in the post concerning fc17 but i am french so i didnt understand it :D - Sorry for this unnecessary comment and this unnecessary post :)
(resolved)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests