settings page blank
Moderators: Developers, Moderators
settings page blank
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
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.
Re: settings.php
No problem!I am reinstalling everything!
Last edited by magikk on Thu Jan 10, 2013 1:32 pm, edited 1 time in total.
Re: settings.php
It is the thold plugin that made me this. I uninstalled it and all is ok!
(how to install thold now?)
(how to install thold now?)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [solved] settings page blank
Moving to THOLD forum
R.
R.
Re: settings page blank
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...
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...
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: settings page blank
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.
Is there anything weird in cacti.log?
R.
Re: settings page blank
I don't think this is linked:
- Attachments
-
- log.GIF (12.41 KiB) Viewed 3898 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: settings page blank
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 outputmagikk wrote:I don't think this is linked:
R.
Re: settings page blank
Code: Select all
cd /var/www/html/cacti/plugins
#ls
Output:
monitor ntop-5.0.1 routerconfigs rrdclean settings thold weathermap
Re: settings page blank
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)
http://techagent.com/cacti.html
...but i did not find any particular documentation for the installation (concerning the sql files)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: settings page blank
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.
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.
Re: settings page blank
Thank you.
I see the problem:
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:
I need to change the SQL mode (to which value?)
I see the problem:
Code: Select all
You are running MySQL in Strict Mode, which is not supported by Thold.
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
Re: settings page blank
I commented the sql-mode line , restarted apache and mysqld , and it is now working!
**********
No, finally it's not working again
**********
No, finally it's not working again
Re: settings page blank
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.
My my.cnf file used is:
The pb was in the post concerning fc17 but i am french so i didnt understand it - Sorry for this unnecessary comment and this unnecessary post
(resolved)
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
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
(resolved)
Who is online
Users browsing this forum: No registered users and 2 guests