Template Setup - NOT WORKING - NOT OPTION

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
tio
Posts: 3
Joined: Tue Jan 09, 2018 11:15 pm

Template Setup - NOT WORKING - NOT OPTION

Post by tio »

Please help me

I tried to install cacti but failed, when it comes to the template selection stage. No template option appears.
Error Cacti Template Option
Error Cacti Template Option
error_cacti_template.png (11.2 KiB) Viewed 679 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Template Setup - NOT WORKING - NOT OPTION

Post by netniV »

Which version of cacti are you installing? Do you have any errors in your error log?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
tio
Posts: 3
Joined: Tue Jan 09, 2018 11:15 pm

Re: Template Setup - NOT WORKING - NOT OPTION

Post by tio »

i hav installed latest version 1.1.30

generate ERROR code =32767
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Template Setup - NOT WORKING - NOT OPTION

Post by netniV »

Unfortunately, that error doesn't really tell me much. What OS are you running this on?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
tio
Posts: 3
Joined: Tue Jan 09, 2018 11:15 pm

Re: Template Setup - NOT WORKING - NOT OPTION

Post by tio »

The OS = Ubuntu 16.04.3 LTS
Apache version 2.4.18
PHP versions 7.0.22
MySQL version 5.7.20-0ubuntu0.16.04.1

this is php module :
cacti_php-module.png
cacti_php-module.png (6.76 KiB) Viewed 657 times

error_Log.

[Wed Jan 10 22:35:04.129744 2018] [fcgid:warn] [pid 9907:tid 140045352642304] [client x.x.x.x:54384] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in ./install/functions.php:199, referer: http://xxx.x/install/index.php
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Template Setup - NOT WORKING - NOT OPTION

Post by netniV »

Try restarting apache. If you installed the required modules, you MUST resstart it for them to take effect.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Template Setup - NOT WORKING - NOT OPTION

Post by netniV »

Additionally, check that you have 15-xml.ini in /etc/php/7.0/apache2/conf.d which should be a symlink to /etc/php/7.0/mods-available/xml.ini

Also, try running

Code: Select all

apt install php-xml php-simplexml
The following are the modules that I have running

Code: Select all

$ php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: anwaraahmad1, Rno and 0 guests